|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlineinherited |
Creates a localization key following the pattern of "Mods.{ModName}.{suffix}". Use this with M:Terraria.Localization.Language.GetOrRegister(System.String,System.Func<System.String>) to retrieve a T:Terraria.Localization.LocalizedText for custom localization keys. Alternatively M:Terraria.ModLoader.Mod.GetLocalization(System.String,System.Func<System.String>) can be used directly instead. Custom localization keys need to be registered during the mod loading process to appear automtaically in the localization files.
| suffix |
Definition at line 233 of file Mod.cs.
References Terraria.ModLoader.Mod.Name.
Referenced by Terraria.ModLoader.Mod.GetLocalization(), Terraria.Localization.Language.GetOrRegister(), and Terraria.ModLoader.NPCLoader.RegisterTownNPCMoodLocalizations().
Here is the caller graph for this function: