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() [1/5]

static GUITransactionButton.InputState GUITransactionButton.Draw ( TransactionButton_Layout layout,
GUITransactionButton::DrawItemHandler itemHandler,
Microsoft::Xna::Framework::Vector2 itemSize,
string label,
bool disabled,
float scale,
bool forcePressed = false,
bool hasControllerFocus = false,
bool forceOver = false,
bool disablePressedState = false )
inlinestatic

Definition at line 141 of file GUITransactionButton.cs.

142 {
143 int num = 1;
144 if (num == 0)
145 {
146 }
147 if (num == 0)
148 {
149 }
150 long num2 = 0L;
151 bool mouseLeft = Main.mouseLeft;
152 if (58 != 0)
153 {
155 bool mouseLeftRelease = Main.mouseLeftRelease;
156 }
160 if (texture2D != null)
161 {
163 if (texture2D2 != null)
164 {
165 long value = num2.m_value;
167 if (texture2D3 != null)
168 {
169 }
170 }
171 }
173 int width = texture2D4.Width;
174 int arraySize = texture2D4.ArraySize;
178 global::Cursor cursor;
179 if (texture2D5 == null || cursor != null)
180 {
181 }
182 int width2 = texture2D4.Width;
183 int arraySize2 = texture2D4.ArraySize;
185 int width3 = texture2D6.Width;
186 if (texture2D6.ArraySize == 0)
187 {
188 }
189 int num3 = 32640;
191 if (rectangle == null)
192 {
193 }
194 if (width3 == 0)
195 {
196 return;
197 }
198 if (rectangle == null)
199 {
200 }
201 if (rectangle == null)
202 {
203 }
204 int width4 = texture2D4.Width;
205 int height = texture2D4.Height;
208 if (rectangle == null)
209 {
210 }
211 if (num3 == 0)
212 {
213 return;
214 }
215 }
class f__AnonymousType0<< Count > j__TPar
static bool mouseLeftRelease
Definition Main.cs:2029
static bool mouseLeft
Definition Main.cs:671

References j__TPar, System.L, Terraria.Main.mouseLeft, Terraria.Main.mouseLeftRelease, System.value, Microsoft.Xna.Framework.Graphics.Texture2D.Width, and Microsoft.Xna.Framework.Rectangle.Width.