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

Reimplemented from Terraria.UI.UIElement.

Definition at line 31 of file UIDifficultyButton.cs.

32 {
33 if (!this._hovered)
34 {
35 return;
36 }
37 if (this._soundedHover)
38 {
39 return;
40 }
41 int num = 1;
42 this._soundedHover = num != 0;
43 Player player = this._player;
45 float height = this._dimensions.Height;
46 float x = this._dimensions.X;
47 float y = this._dimensions.Y;
48 float width = this._dimensions.Width;
49 byte difficulty = this._difficulty;
50 byte difficulty2 = player.difficulty;
51 if (player == null)
52 {
53 }
54 if (player == null)
55 {
56 }
57 int num2 = 32640;
58 int num3 = 32768;
59 if (this._BasePanelTexture == null)
60 {
61 }
62 if (num2 == 0)
63 {
64 }
65 if (this._hovered)
66 {
68 if (num2 == 0)
69 {
70 }
71 if (num3 == 0)
72 {
73 }
74 }
75 }
class f__AnonymousType0<< Count > j__TPar
CalculatedStyle _dimensions

References Terraria.GameContent.UI.Elements.UIDifficultyButton._BasePanelTexture, Terraria.GameContent.UI.Elements.UIDifficultyButton._difficulty, Terraria.UI.UIElement._dimensions, Terraria.GameContent.UI.Elements.UIDifficultyButton._hovered, Terraria.GameContent.UI.Elements.UIDifficultyButton._hoveredBorderTexture, Terraria.GameContent.UI.Elements.UIDifficultyButton._player, Terraria.GameContent.UI.Elements.UIDifficultyButton._soundedHover, Terraria.Player.difficulty, Terraria.UI.CalculatedStyle.Height, j__TPar, Terraria.UI.CalculatedStyle.Width, Terraria.UI.CalculatedStyle.X, and Terraria.UI.CalculatedStyle.Y.