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.EmoteButton.DrawSelf ( SpriteBatch spriteBatch)
inlineprotectedvirtual

Reimplemented from Terraria.UI.UIElement.

Definition at line 55 of file EmoteButton.cs.

56 {
57 int num = 1;
58 if (num == 0)
59 {
60 }
61 Rectangle frame = this.GetFrame();
62 Asset<Texture2D> texture = this._texture;
63 if (num == 0)
64 {
65 }
66 int num2 = Utils.Width(texture);
67 Vector2 vector = frame.Size();
68 if (num == 0)
69 {
70 }
71 bool hovered = this._hovered;
72 if (hovered)
73 {
74 if (num == 0)
75 {
76 }
77 return;
78 }
82 if (!hovered)
83 {
84 }
85 if (!true)
86 {
87 }
88 bool hovered2 = this._hovered;
89 if (hovered2)
90 {
91 if (!hovered2)
92 {
93 }
94 int emoteIndex = this._emoteIndex;
95 string text;
96 string textValue = Language.GetTextValue("EmojiName." + text);
97 string text2 = "/" + textValue;
98 if (!hovered)
99 {
100 }
101 }
102 }
class f__AnonymousType0<< Count > j__TPar
static string GetTextValue(string key)
Definition Language.cs:54

References Terraria.GameContent.UI.Elements.EmoteButton._emoteIndex, Terraria.GameContent.UI.Elements.EmoteButton._hovered, Terraria.GameContent.UI.Elements.EmoteButton._texture, Terraria.GameContent.UI.Elements.EmoteButton._textureBorder, Terraria.GameContent.UI.Elements.EmoteButton.GetFrame(), Terraria.Localization.Language.GetTextValue(), j__TPar, System.text, and Terraria.Utils.Width().