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

◆ Draw()

void GUIHairWindow.Draw ( )
inline

Definition at line 20 of file GUIHairWindow.cs.

21 {
23 int num = 1;
24 bool flag = Main.npcChatText != "";
25 if (num == 0)
26 {
27 }
28 int myPlayer = Main.myPlayer;
29 if (num == 0)
30 {
31 }
32 if (Main.npcShop != 0)
33 {
34 if (num == 0)
35 {
36 }
38 return;
39 }
40 if (num == 0)
41 {
42 }
44 if (num == 0)
45 {
46 }
49 this._controller.Activate();
50 int num2 = 154;
52 if (num2 == 0)
53 {
54 }
55 int num3 = this.unlockedMaxHair;
57 if (num3 == 0)
58 {
59 }
60 int num4 = this.unlockedMaxHair;
62 if (num4 == 0)
63 {
64 }
68 bool drawSliders;
69 if (!this.DrawSliders)
70 {
71 this.DrawHairGrid();
72 drawSliders = this.DrawSliders;
73 if (!drawSliders)
74 {
75 goto IL_00DA;
76 }
77 }
78 this.DrawHSLSlider();
79 IL_00DA:
80 if (!drawSliders)
81 {
82 }
84 this.DrawPlayer();
87 this.DrawButtons();
88 }
class f__AnonymousType0<< Count > j__TPar
static void SetGridItemRegion(Rectangle region)
void DrawCategoryButtons()
GUIControllerHairStylist _controller
static void FlushBatches()
Definition Main.cs:5092
static int myPlayer
Definition Main.cs:2337
static void CancelHairWindow()
Definition Main.cs:12319
static int npcShop
Definition Main.cs:2547
static bool InGuideCraftMenu
Definition Main.cs:2645

References _controller, GUIControllerHairStylist.Activate(), Terraria.Main.CancelHairWindow(), DrawButtons(), DrawCategoryButtons(), DrawHairGrid(), DrawHSLSlider(), DrawPlayer(), DrawSliders, Terraria.Main.FlushBatches(), Terraria.Main.InGuideCraftMenu, j__TPar, Terraria.Main.myPlayer, Terraria.Main.npcShop, ControlAnchor.SetGridItemRegion(), and unlockedMaxHair.