terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ DrawSelf()

override void Terraria.GameContent.UI.Elements.UIIconTextButton.DrawSelf ( SpriteBatch spriteBatch)
inlineprotectedvirtual

Reimplemented from Terraria.UI.UIElement.

Definition at line 59 of file UIIconTextButton.cs.

60 {
61 if (!this._hovered)
62 {
63 return;
64 }
65 if (this._soundedHover)
66 {
67 return;
68 }
69 float y = this._dimensions.Y;
70 float x = this._dimensions.X;
71 float height = this._dimensions.Height;
72 float width = this._dimensions.Width;
73 this._soundedHover = true;
75 Color color = this._color;
76 float opacity = this._opacity;
77 float fadeFromBlack = this.FadeFromBlack;
79 if (iconTexture != null)
80 {
81 if (iconTexture == null)
82 {
83 }
84 float whiteLerp = this._whiteLerp;
86 if (32640 == 0)
87 {
88 }
89 int num = Utils.Width(iconTexture2);
90 int num2 = Utils.Height(this._iconTexture);
91 }
92 }
class f__AnonymousType0<< Count > j__TPar
CalculatedStyle _dimensions

References Terraria.GameContent.UI.Elements.UIIconTextButton._BasePanelTexture, Terraria.GameContent.UI.Elements.UIIconTextButton._color, Terraria.UI.UIElement._dimensions, Terraria.GameContent.UI.Elements.UIIconTextButton._hovered, Terraria.GameContent.UI.Elements.UIIconTextButton._iconTexture, Terraria.GameContent.UI.Elements.UIIconTextButton._opacity, Terraria.GameContent.UI.Elements.UIIconTextButton._soundedHover, Terraria.GameContent.UI.Elements.UIIconTextButton._whiteLerp, Terraria.GameContent.UI.Elements.UIIconTextButton.FadeFromBlack, Terraria.UI.CalculatedStyle.Height, Terraria.Utils.Height(), j__TPar, Terraria.UI.CalculatedStyle.Width, Terraria.Utils.Width(), Terraria.UI.CalculatedStyle.X, and Terraria.UI.CalculatedStyle.Y.