tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.Localization.GameCulture Class Reference

Public Types

enum class  CultureName {
  English = 1 , German = 2 , Italian = 3 , French = 4 ,
  Spanish = 5 , Russian = 6 , Chinese = 7 , Portuguese = 8 ,
  Polish = 9 , Unknown = 9999
}
 

Public Member Functions

 GameCulture (string name, int legacyId)
 

Static Public Member Functions

static GameCulture FromCultureName (CultureName name)
 
static GameCulture FromLegacyId (int id)
 
static GameCulture FromName (string name)
 

Public Attributes

readonly CultureInfo CultureInfo
 
readonly int LegacyId
 

Properties

static GameCulture DefaultCulture [get, set]
 
bool IsActive [get]
 
string Name [get]