tModLoader v2024.08
A mod to make and play Terraria mods
GameCulture Class Reference

Public Types

enum  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]
 
static IEnumerable< GameCultureKnownCultures [get]
 
string Name [get]