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

◆ ShowDescription()

void Terraria.GameContent.Bestiary.NPCKillCounterInfoElement.ShowDescription ( UIElement element)
inlineprivate

Definition at line 92 of file NPCKillCounterInfoElement.cs.

93 {
94 if (element.IsMouseHovering)
95 {
96 Main.instance.MouseText(Language.GetTextValue("BestiaryInfo.Slain"), 0, 0);
97 }
98 }
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

References Terraria.Localization.Language.GetTextValue(), and Terraria.Main.instance.

Referenced by Terraria.GameContent.Bestiary.NPCKillCounterInfoElement.ProvideUIElement().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: