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

◆ ShowStats_Defense()

void Terraria.GameContent.Bestiary.NPCStatsReportInfoElement.ShowStats_Defense ( UIElement element)
inlineprivate

Definition at line 275 of file NPCStatsReportInfoElement.cs.

276 {
277 if (element.IsMouseHovering)
278 {
279 Main.instance.MouseText(Language.GetTextValue("BestiaryInfo.Defense"), 0, 0);
280 }
281 }
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.NPCStatsReportInfoElement.ProvideUIElement().

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