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

◆ DrawPageOptions()

void GUIVirtualInputControllerEdit.DrawPageOptions ( )
inlineprivate

Definition at line 248 of file GUIVirtualInputControllerEdit.cs.

249 {
250 if (this.displayPageOptions)
251 {
252 }
254 bool flag;
255 if (optionsBlocker != null)
256 {
257 flag = this.displayPageOptions;
258 if (flag)
259 {
260 }
261 }
262 if (optionsBlocker == null)
263 {
264 }
265 bool mouseLeft = Main.mouseLeft;
266 if (optionsBlocker == null)
267 {
268 }
269 bool mouseLeftRelease = Main.mouseLeftRelease;
270 if (flag)
271 {
272 return;
273 }
275 int width = texture2D.Width;
276 bool flag2 = this.displayPageOptions;
279 {
280 int num;
281 if (this.displayPageOptions)
282 {
283 this.ClosePageOptions();
284 num = 1;
285 return;
286 }
287 this.displayPageOptions = num != 0;
290 }
291 bool flag3 = this.displayPageOptions;
292 if (flag3)
293 {
294 int width2 = texture2D.Width;
295 if (!flag3)
296 {
297 }
300 {
302 }
305 {
307 }
309 if (optionsBlocker4 != null)
310 {
311 int num2 = 1;
313 if (optionsBlocker4 == null)
314 {
315 }
317 if (optionsBlocker4 == null)
318 {
319 }
322 }
323 }
324 }
class f__AnonymousType0<< Count > j__TPar
static bool mouseLeftRelease
Definition Main.cs:2029
static bool mouseLeft
Definition Main.cs:671

References _optionsBlocker, ClosePageOptions(), displayPageOptions, j__TPar, Terraria.Main.mouseLeft, Terraria.Main.mouseLeftRelease, and Microsoft.Xna.Framework.Graphics.Texture2D.Width.

Referenced by DrawWidgetOverlays(), and DrawWidgets().