tModLoader v0.11.8.9
A mod to make and play Terraria mods
|
Public Member Functions | |
void | AddTranslation (GameCulture culture, string value) |
void | AddTranslation (int culture, string value) |
void | AddTranslation (string culture, string value) |
string | GetDefault () |
string | GetTranslation (GameCulture culture) |
string | GetTranslation (int culture) |
string | GetTranslation (string culture) |
bool | IsDefault () |
void | SetDefault (string value) |
Public Attributes | |
readonly string | Key |
Private Attributes | |
Dictionary< int, string > | translations |
Static Private Attributes | |
const int | fallback = 1 |
Definition at line 7 of file ModTranslation.cs.
void Terraria.ModLoader.ModTranslation.AddTranslation | ( | GameCulture | culture, |
string | value | ||
) |
Definition at line 33 of file ModTranslation.cs.
References Terraria.ModLoader.ModTranslation.AddTranslation().
void Terraria.ModLoader.ModTranslation.AddTranslation | ( | int | culture, |
string | value | ||
) |
Definition at line 25 of file ModTranslation.cs.
References Terraria.ModLoader.ModTranslation.translations.
Referenced by Terraria.ModLoader.ModTranslation.AddTranslation(), Terraria.ModLoader.Mod.AutoloadLocalization(), and Terraria.ModLoader.ModTranslation.SetDefault().
void Terraria.ModLoader.ModTranslation.AddTranslation | ( | string | culture, |
string | value | ||
) |
Definition at line 29 of file ModTranslation.cs.
References Terraria.ModLoader.ModTranslation.AddTranslation().
string Terraria.ModLoader.ModTranslation.GetDefault | ( | ) |
Definition at line 41 of file ModTranslation.cs.
References Terraria.ModLoader.ModTranslation.fallback, and Terraria.ModLoader.ModTranslation.GetTranslation().
string Terraria.ModLoader.ModTranslation.GetTranslation | ( | GameCulture | culture | ) |
Definition at line 56 of file ModTranslation.cs.
References Terraria.ModLoader.ModTranslation.GetTranslation().
string Terraria.ModLoader.ModTranslation.GetTranslation | ( | int | culture | ) |
Definition at line 45 of file ModTranslation.cs.
References Terraria.ModLoader.ModTranslation.fallback, and Terraria.ModLoader.ModTranslation.translations.
Referenced by Terraria.ModLoader.ModTranslation.GetDefault(), Terraria.ModLoader.ModTranslation.GetTranslation(), and Terraria.ModLoader.ModContent.RefreshModLanguage().
string Terraria.ModLoader.ModTranslation.GetTranslation | ( | string | culture | ) |
Definition at line 52 of file ModTranslation.cs.
References Terraria.ModLoader.ModTranslation.GetTranslation().
bool Terraria.ModLoader.ModTranslation.IsDefault | ( | ) |
Definition at line 37 of file ModTranslation.cs.
References Terraria.ModLoader.ModTranslation.fallback, Terraria.ModLoader.ModTranslation.Key, and Terraria.ModLoader.ModTranslation.translations.
Referenced by Terraria.ModLoader.ModPrefix.AutoDefaults(), Terraria.ModLoader.ModItem.AutoStaticDefaults(), Terraria.ModLoader.ModNPC.AutoStaticDefaults(), and Terraria.ModLoader.ModProjectile.AutoStaticDefaults().
void Terraria.ModLoader.ModTranslation.SetDefault | ( | string | value | ) |
Definition at line 21 of file ModTranslation.cs.
References Terraria.ModLoader.ModTranslation.AddTranslation(), and Terraria.ModLoader.ModTranslation.fallback.
Referenced by Terraria.ModLoader.ModPrefix.AutoDefaults(), Terraria.ModLoader.ModItem.AutoStaticDefaults(), Terraria.ModLoader.ModNPC.AutoStaticDefaults(), and Terraria.ModLoader.ModProjectile.AutoStaticDefaults().
|
staticprivate |
Definition at line 9 of file ModTranslation.cs.
Referenced by Terraria.ModLoader.ModTranslation.GetDefault(), Terraria.ModLoader.ModTranslation.GetTranslation(), Terraria.ModLoader.ModTranslation.IsDefault(), and Terraria.ModLoader.ModTranslation.SetDefault().
readonly string Terraria.ModLoader.ModTranslation.Key |
Definition at line 10 of file ModTranslation.cs.
Referenced by Terraria.ModLoader.Mod.AddTranslation(), Terraria.ModLoader.ModTranslation.IsDefault(), and Terraria.ModLoader.ModContent.RefreshModLanguage().
|
private |
Definition at line 11 of file ModTranslation.cs.
Referenced by Terraria.ModLoader.ModTranslation.AddTranslation(), Terraria.ModLoader.ModTranslation.GetTranslation(), and Terraria.ModLoader.ModTranslation.IsDefault().