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 GUIClothesWindow.Draw ( )
inline

Definition at line 104 of file GUIClothesWindow.cs.

105 {
106 int num = 1;
107 bool flag = Main.npcChatText != "";
108 if (num == 0)
109 {
110 }
111 int myPlayer = Main.myPlayer;
112 if (num == 0)
113 {
114 }
115 if (Main.npcShop != 0)
116 {
118 return;
119 }
120 if (num == 0)
121 {
122 }
123 int myPlayer2 = Main.myPlayer;
124 if (num == 0)
125 {
126 }
128 if (num == 0)
129 {
130 }
131 int interactedDresserTopLeftX = Main.interactedDresserTopLeftX;
132 int interactedDresserTopLeftY = Main.interactedDresserTopLeftY;
133 Tile tile;
134 ushort type = tile.type;
140 bool flag2 = localPlayer.IsInInteractionRangeToMultiTileHitbox(interactedDresserTopLeftX2, interactedDresserTopLeftY2);
143 Tile tile2;
144 bool flag3 = tile2.active();
147 this.ClonePlayer();
148 if (Main.selClothes != 0)
149 {
150 this.DrawHSLSlider();
151 return;
152 }
153 this.DrawStyles();
154 this.DrawCategoryButtons();
155 this.DrawChangeButton();
156 this.DrawCancelButton();
157 this.DrawPlayer();
158 }
class f__AnonymousType0<< Count > j__TPar
static void SetGridItemRegion(Rectangle region)
GUIControllerDresser _controller
static int interactedDresserTopLeftX
Definition Main.cs:3525
static int myPlayer
Definition Main.cs:2337
static int npcShop
Definition Main.cs:2547
static bool InGuideCraftMenu
Definition Main.cs:2645
static int interactedDresserTopLeftY
Definition Main.cs:3539
static int selClothes
Definition Main.cs:3483
static Player LocalPlayer
Definition Main.cs:5267
static void CancelClothesWindow(bool quiet=false)
Definition Main.cs:12367
ushort type
Definition Tile.cs:58
bool active()
Definition Tile.cs:1241

References _controller, Terraria.Tile.active(), Terraria.Main.CancelClothesWindow(), ClonePlayer(), DrawCancelButton(), DrawCategoryButtons(), DrawChangeButton(), DrawHSLSlider(), DrawPlayer(), DrawStyles(), Terraria.Main.InGuideCraftMenu, Terraria.Main.interactedDresserTopLeftX, Terraria.Main.interactedDresserTopLeftY, j__TPar, Terraria.Main.LocalPlayer, Terraria.Main.myPlayer, Terraria.Main.npcShop, Terraria.Main.selClothes, ControlAnchor.SetGridItemRegion(), and Terraria.Tile.type.