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 GUIControllerMappings.DrawMainButtons ( )
inlineprivate

Definition at line 334 of file GUIControllerMappings.cs.

335 {
336 bool mouseLeft = Main.mouseLeft;
337 bool mouseLeftRelease = Main.mouseLeftRelease;
339 int num = 1;
342 {
343 if (num == 0)
344 {
345 }
346 Main.mouseLeftRelease = false;
347 }
349 {
350 }
352 int num2 = 1;
355 {
356 if (num2 == 0)
357 {
358 }
359 Main.mouseLeftRelease = false;
360 this.RestoreBackup();
361 }
366 int selectedItem = controllerInput._selectedItem;
367 int size = categorySettings._size;
368 if (categorySettings != null)
369 {
370 int num3 = 1;
372 if (guicontrollerMappingEntryBase3 != null)
373 {
374 return;
375 }
379 {
380 if (num3 == 0)
381 {
382 }
383 Main.mouseLeftRelease = false;
384 this.ClearMapping();
386 }
387 }
392 int selectedItem2 = controllerInput2._selectedItem;
393 int size2 = categorySettings2._size;
394 if (controllerInput2._overlayEntry != null)
395 {
396 return;
397 }
398 while (categorySettings2 == null)
399 {
400 }
401 }
class f__AnonymousType0<< Count > j__TPar
GUISettingID
GUIControllerMappingOverlay.Controls selectedControl
GUIControllerMappingEntryBase _overlayEntry
GUIControllerMappingOverlay _controllerInput
List< GUIControllerMappingEntryBase > _categorySettings
GUISettingID _id
static bool mouseLeftRelease
Definition Main.cs:2029
static bool mouseLeft
Definition Main.cs:671

References _categorySettings, _controllerInput, GUISettingEntry._id, GUIControllerMappingOverlay._overlayEntry, GUIControllerMappingOverlay._selectedItem, System.Collections.Generic.List< T >._size, Controller.ControllerActionManager.AnyControllerConnected, ClearMapping(), j__TPar, Terraria.Main.mouseLeft, Terraria.Main.mouseLeftRelease, RefreshConfigurationState(), RestoreBackup(), and GUIControllerMappingOverlay.selectedControl.