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

◆ DrawChildren()

override void Terraria.ModLoader.UI.UIModSourceItem.DrawChildren ( SpriteBatch spriteBatch)
inlineprotectedvirtual

Reimplemented from Terraria.UI.UIElement.

Definition at line 191 of file UIModSourceItem.cs.

192 {
193 //IL_002f: Unknown result type (might be due to invalid IL or missing references)
194 base.DrawChildren(spriteBatch);
196 if (uIAutoScaleTextTextPanel != null && uIAutoScaleTextTextPanel.IsMouseHovering)
197 {
198 UICommon.DrawHoverStringInBounds(spriteBatch, Language.GetTextValue("tModLoader.MSLocalizationFilesChangedCantPublish"), GetOuterDimensions().ToRectangle());
199 }
200 }
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
readonly UIAutoScaleTextTextPanel< string > needRebuildButton
CalculatedStyle GetOuterDimensions()
Definition UIElement.cs:465

References Terraria.ModLoader.UI.UICommon.DrawHoverStringInBounds(), Terraria.UI.UIElement.GetOuterDimensions(), Terraria.Localization.Language.GetTextValue(), and Terraria.ModLoader.UI.UIModSourceItem.needRebuildButton.

+ Here is the call graph for this function: