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

◆ DrawMainButtons()

void GUIKeyboardMappings.DrawMainButtons ( )
inlineprivate

Definition at line 396 of file GUIKeyboardMappings.cs.

397 {
398 bool mouseLeft = Main.mouseLeft;
399 bool mouseLeftRelease = Main.mouseLeftRelease;
404 {
406 if (guikeyboardMappingEntry2 != null)
407 {
408 goto IL_0054;
409 }
410 if (guikeyboardMappingEntry2 == null)
411 {
412 }
413 }
414 if (guikeyboardMappingEntry2 == null)
415 {
416 }
418 int num = 128;
419 int num2 = 1;
420 if (num == 0)
421 {
422 }
423 Main.mouseLeftRelease = false;
424 IL_0054:
425 if (num2 == 0)
426 {
427 }
429 int num3 = 1;
432 {
433 if (num3 == 0)
434 {
435 }
436 Main.mouseLeftRelease = false;
437 this.RestoreBackup();
438 }
439 if (guikeyboardMappingEntry3 == null)
440 {
441 }
443 int num4 = 1;
446 {
447 if (num4 == 0)
448 {
449 }
450 Main.mouseLeftRelease = false;
451 this.LoadDefaults();
452 }
453 if (this.overlayEntry == null)
454 {
458 int size = categorySettings._size;
459 int selectedItem = controllerInput._selectedItem;
460 if (size == 0)
461 {
462 }
463 }
464 }
class f__AnonymousType0<< Count > j__TPar
GUIKeyboardMappingOverlay _controllerInput
GUIKeyboardMappingEntry overlayEntry
List< GUIKeyboardMappingEntry > _categorySettings
static bool mouseLeftRelease
Definition Main.cs:2029
static bool mouseLeft
Definition Main.cs:671

References _categorySettings, _controllerInput, _escapeOpensInventory, GUIKeyboardMappingOverlay._selectedItem, Controller.ControllerActionManager.AnyControllerConnected, j__TPar, LoadDefaults(), Terraria.Main.mouseLeft, Terraria.Main.mouseLeftRelease, overlayEntry, and RestoreBackup().