Class WorldRegions
Contains mapping of world region types to their display strings.
public static class WorldRegions
- Inheritance
-
WorldRegions
- Inherited Members
Fields
WorldRegionToString
Dictionary mapping WorldRegionType enum values to their human-readable string representations.
public static Dictionary<WorldRegionType, (string Long, string Short)> WorldRegionToString
Field Value
- Dictionary<WorldRegionType, (string Long, string Short)>
Methods
ToShortString(WorldRegionType)
Gets the short display string for the given world region type.
public static string ToShortString(WorldRegionType region)
Parameters
region
WorldRegionTypeThe world region type to get the string for.
Returns
- string
The short display string for the region.
ToString(WorldRegionType)
Gets the long display string for the given world region type.
public static string ToString(WorldRegionType region)
Parameters
region
WorldRegionTypeThe world region type to get the string for.
Returns
- string
The long display string for the region.
ToStringLong(WorldRegionType)
Extension method that gets the long display string for the world region type.
public static string ToStringLong(this WorldRegionType region)
Parameters
region
WorldRegionTypeThe world region type to get the string for.
Returns
- string
The long display string for the region.
ToStringShort(WorldRegionType)
Extension method that gets the short display string for the world region type.
public static string ToStringShort(this WorldRegionType region)
Parameters
region
WorldRegionTypeThe world region type to get the string for.
Returns
- string
The short display string for the region.