tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.Localization.Language Class Reference

Static Public Member Functions

static bool Exists (string key)
 
static LocalizedText[] FindAll (LanguageSearchFilter filter)
 
static LocalizedText[] FindAll (Regex regex)
 
static int GetCategorySize (string key)
 
static LocalizedText GetText (string key)
 
static string GetTextValue (string key)
 
static string GetTextValue (string key, object arg0)
 
static string GetTextValue (string key, object arg0, object arg1)
 
static string GetTextValue (string key, object arg0, object arg1, object arg2)
 
static string GetTextValue (string key, params object[] args)
 
static string GetTextValueWith (string key, object obj)
 
static LocalizedText RandomFromCategory (string categoryName, UnifiedRandom random=null)
 
static LocalizedText SelectRandom (LanguageSearchFilter filter, UnifiedRandom random=null)
 

Properties

static GameCulture ActiveCulture [get]