Class WorldStrings
Provides string representations for world regions in the game.
public static class WorldStrings
- Inheritance
-
WorldStrings
- Inherited Members
Fields
WorldRegionToName
A dictionary mapping WorldRegionType to their long and short names.
public static readonly Dictionary<WorldRegionType, (string Long, string Short)> WorldRegionToName
Field Value
- Dictionary<WorldRegionType, (string Long, string Short)>
Methods
GetRegionName(WorldRegionType)
Gets the long name of a region based on its WorldRegionType.
public static string GetRegionName(WorldRegionType region)
Parameters
region
WorldRegionTypeThe WorldRegionType of the region.
Returns
- string
The long name of the region.
GetRegionName(int)
Gets the long name of a region based on its prefab GUID.
public static string GetRegionName(int prefabGuid)
Parameters
prefabGuid
intThe prefab GUID of the region.
Returns
- string
The long name of the region.
GetRegionShortName(WorldRegionType)
Gets the short name of a region based on its WorldRegionType.
public static string GetRegionShortName(WorldRegionType region)
Parameters
region
WorldRegionTypeThe WorldRegionType of the region.
Returns
- string
The short name of the region.
GetRegionShortName(int)
Gets the short name of a region based on its prefab GUID.
public static string GetRegionShortName(int prefabGuid)
Parameters
prefabGuid
intThe prefab GUID of the region.
Returns
- string
The short name of the region.