TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ OnActivate()

override void Terraria.ModLoader.UI.UIModInfo.OnActivate ( )
inlinevirtual

Reimplemented from Terraria.UI.UIElement.

Definition at line 450 of file UIModInfo.cs.

451 {
453 _uITextPanel.SetText(Language.GetTextValue("tModLoader.ModInfoHeader") + _modDisplayName, 0.8f, large: true);
454 _loading = false;
455 _ready = true;
456 }
static string GetTextValue(string key)
Retrieves the text value for a specified localization key. The text returned will be for the currentl...
Definition Language.cs:35
Contains methods to access or retrieve localization values. The Localization Guideteaches more about ...
Definition Language.cs:12
UITextPanel< string > _uITextPanel
Definition UIModInfo.cs:23

References Terraria.ModLoader.UI.UIModInfo._info, Terraria.ModLoader.UI.UIModInfo._loading, Terraria.ModLoader.UI.UIModInfo._modDisplayName, Terraria.ModLoader.UI.UIModInfo._modInfo, Terraria.ModLoader.UI.UIModInfo._ready, Terraria.ModLoader.UI.UIModInfo._uITextPanel, Terraria.Localization.Language.GetTextValue(), Terraria.ModLoader.UI.UIMessageBox.SetText(), and Terraria.GameContent.UI.Elements.UITextPanel< T >.SetText().

+ Here is the call graph for this function: