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
GUIControllerMappings.cs
Go to the documentation of this file.
1using System;
4using Controller;
7using Terraria;
8using Terraria.IO;
10using UnityEngine;
11
12// Token: 0x02000075 RID: 117
14{
15 // Token: 0x06000289 RID: 649 RVA: 0x0000732C File Offset: 0x0000552C
16 public void ClearMappingStates()
17 {
18 this.World.ClearMappings();
20 }
21
22 // Token: 0x0600028A RID: 650 RVA: 0x00007350 File Offset: 0x00005550
23 private void ClearWorldMappings()
24 {
25 this.MovementAxisX.Clear();
26 this.MovementAxisY.Clear();
29 this.FireAxisX.Clear();
30 this.FireAxisY.Clear();
31 this.FireAxisAltX.Clear();
32 this.FireAxisAltY.Clear();
33 this.GrappleAxisX.Clear();
34 this.GrappleAxisY.Clear();
35 this.HotbarAxisX.Clear();
36 this.HotbarAxisY.Clear();
37 this.GrappleFire.Clear();
38 this.GridSnapAxisX.Clear();
39 this.GridSnapAxisY.Clear();
40 this.Jump.Clear();
41 this.Fire.Clear();
42 this.FireAlt.Clear();
43 this.Interact.Clear();
44 this.TargetLockOn.Clear();
46 this.AutoSelect.Clear();
47 this.SmartCursor.Clear();
48 this.AutoFire.Clear();
49 this.HotbarNext.Clear();
50 this.HotbarPrevious.Clear();
51 this.ZoomIn.Clear();
52 this.ZoomOut.Clear();
53 this.MapZoomIn.Clear();
54 this.MapZoomOut.Clear();
55 this.MapZoomDefault.Clear();
56 this.QuickHeal.Clear();
57 this.QuickMana.Clear();
58 this.QuickBuff.Clear();
59 this.QuickMount.Clear();
60 this.MapToggle.Clear();
61 this.ChatToggle.Clear();
62 this.MiniMapToggle.Clear();
63 this.BuffNext.Clear();
64 this.BuffPrevious.Clear();
65 this.BuffRemove.Clear();
66 this.Hotbar1.Clear();
67 this.Hotbar2.Clear();
68 this.Hotbar3.Clear();
69 this.Hotbar4.Clear();
70 this.Hotbar5.Clear();
71 this.Hotbar6.Clear();
72 this.Hotbar7.Clear();
73 this.Hotbar8.Clear();
74 this.Hotbar9.Clear();
75 this.Hotbar10.Clear();
76 this.DynamicHotbar1.Clear();
77 this.DynamicHotbar2.Clear();
78 this.DynamicHotbar3.Clear();
79 this.DynamicHotbar4.Clear();
80 this.Loadout1.Clear();
81 this.Loadout2.Clear();
82 this.Loadout3.Clear();
83 this.LoadoutCycle.Clear();
84 }
85
86 // Token: 0x0600028B RID: 651 RVA: 0x000075E8 File Offset: 0x000057E8
88 {
93 this.LeftPageCycle.Clear();
94 this.RightPageCycle.Clear();
96 this.ThrowItem.Clear();
97 this.TrashItem.Clear();
99 this.FavouriteItem.Clear();
100 this.ResearchItem.Clear();
101 this.SplitItem.Clear();
102 this.PickupPlaceItem.Clear();
103 this.CraftItem.Clear();
104 this.FilterItems.Clear();
106 this.HousingQuery.Clear();
107 this.TakeOne.Clear();
108 this.Sort.Clear();
109 this.BuilderTools.Clear();
110 this.ReforgeItem.Clear();
111 this.InventoryClose.Clear();
112 this.ShowHideItem.Clear();
113 this.InfoAccessories.Clear();
114 this.ChestQuickStack.Clear();
115 this.ChestLootAll.Clear();
116 this.ChestDepositAll.Clear();
117 this.ChestRestock.Clear();
118 this.ChestRename.Clear();
119 this.ChestLoot.Clear();
120 this.ChestDeposit.Clear();
121 this.ChestSort.Clear();
122 this.EquipmentEquip.Clear();
123 this.EquipmentUnequip.Clear();
124 this.ShopSell.Clear();
125 this.ShopBuy.Clear();
126 this.PVPEnableToggle.Clear();
127 this.PVPSwitchTeam.Clear();
128 }
129
130 // Token: 0x0600028C RID: 652 RVA: 0x000077A4 File Offset: 0x000059A4
131 public void Backup()
132 {
133 this.World.Backup();
134 this.WorldInteract.Backup();
135 this.WorldShared.Backup();
137 this.BaseInventory.Backup();
138 this.Inventory.Backup();
139 this.Equipment.Backup();
140 this.PVP.Backup();
141 this.Housing.Backup();
142 this.ItemHeld.Backup();
143 this.ChestInv.Backup();
144 this.Chest.Backup();
145 this.ShopInv.Backup();
146 this.Shop.Backup();
147 this.Crafting.Backup();
148 this.Reforge.Backup();
149 this.Chat.Backup();
150 }
151
152 // Token: 0x0600028D RID: 653 RVA: 0x0000786C File Offset: 0x00005A6C
153 public void RestoreBackup()
154 {
155 this.World.RestoreBackup();
162 this.PVP.RestoreBackup();
163 this.Housing.RestoreBackup();
164 this.ItemHeld.RestoreBackup();
165 this.ChestInv.RestoreBackup();
166 this.Chest.RestoreBackup();
167 this.ShopInv.RestoreBackup();
168 this.Shop.RestoreBackup();
169 this.Crafting.RestoreBackup();
170 this.Reforge.RestoreBackup();
171 this.Chat.RestoreBackup();
172 this.LoadMappingValues();
173 }
174
175 // Token: 0x0600028E RID: 654 RVA: 0x0000793C File Offset: 0x00005B3C
176 public void ClearMapping()
177 {
180 int size = categorySettings._size;
181 int selectedItem = controllerInput._selectedItem;
182 if (categorySettings != null)
183 {
184 }
185 }
186
187 // Token: 0x0600028F RID: 655 RVA: 0x00007970 File Offset: 0x00005B70
189 {
190 this.overlayEntry = entry;
192 if (entry != null)
193 {
194 }
195 }
196
197 // Token: 0x06000290 RID: 656 RVA: 0x000079A4 File Offset: 0x00005BA4
202
203 // Token: 0x06000291 RID: 657 RVA: 0x00007A30 File Offset: 0x00005C30
204 public void LooseFocus()
205 {
206 if (!this.hasFocus || this._categoriesBlocker != null)
207 {
208 }
209 }
210
211 // Token: 0x06000292 RID: 658 RVA: 0x00007A50 File Offset: 0x00005C50
212 private void GainFocus()
213 {
214 if (!this.hasFocus)
215 {
218 this.hasFocus = true;
219 }
220 }
221
222 // Token: 0x06000293 RID: 659 RVA: 0x00007A74 File Offset: 0x00005C74
224 {
225 if (this.overlayEntry == null)
226 {
228 int bottom = rectangle.Bottom;
229 bool flag;
230 return flag;
231 }
232 }
233
234 // Token: 0x06000294 RID: 660 RVA: 0x00007A94 File Offset: 0x00005C94
235 private void DrawCategories()
236 {
237 if (this._categoriesBlocker != null)
238 {
239 }
240 bool mouseLeft = Main.mouseLeft;
241 bool mouseLeftRelease = Main.mouseLeftRelease;
242 int num = 17096;
243 this.TimeSinceItemChange = (float)num;
246 if (this._controllerInput._overlayEntry == null)
247 {
251 }
252 if (this._controllerInput._overlayEntry == null)
253 {
257 }
261 {
263 }
267 {
269 }
273 {
275 }
279 {
281 }
285 {
287 }
291 {
293 }
297 {
299 }
303 {
305 }
309 {
311 }
315 {
317 }
319 float deltaTime = Time.deltaTime;
321 if (categoriesBlocker != null)
322 {
323 int num2 = 1;
325 }
326 }
327
328 // Token: 0x06000295 RID: 661 RVA: 0x00007C68 File Offset: 0x00005E68
329 public void Close()
330 {
331 }
332
333 // Token: 0x06000296 RID: 662 RVA: 0x00007C78 File Offset: 0x00005E78
334 private void DrawMainButtons()
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 }
402
403 // Token: 0x06000297 RID: 663 RVA: 0x00007D98 File Offset: 0x00005F98
404 private void DrawTitle()
405 {
406 string textValue = Language.GetTextValue("GameUI.ControllerMappingsMenu");
408 }
409
410 // Token: 0x06000298 RID: 664 RVA: 0x00007DE8 File Offset: 0x00005FE8
411 private void DrawBacking()
412 {
413 }
414
415 // Token: 0x06000299 RID: 665 RVA: 0x00007DF8 File Offset: 0x00005FF8
416 private void DrawCategoryOptions()
417 {
418 int size = this._categorySettings._size;
419 int num = this.disableScroll;
420 }
421
422 // Token: 0x0600029A RID: 666 RVA: 0x000021DB File Offset: 0x000003DB
423 private float SettingScale(int index)
424 {
425 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
426 }
427
428 // Token: 0x0600029B RID: 667 RVA: 0x00007E18 File Offset: 0x00006018
429 private void SettingOver(int index)
430 {
431 }
432
433 // Token: 0x0600029C RID: 668 RVA: 0x00007E28 File Offset: 0x00006028
439
440 // Token: 0x0600029D RID: 669 RVA: 0x00007E44 File Offset: 0x00006044
442 {
443 /*
444An exception occurred when decompiling this method (0600029D)
445
446ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 GUIControllerMappings::SettingSize(System.Int32)
447
448 ---> System.Exception: Basic block has to end with unconditional control flow.
449{
450 Block_0:
451 stloc:class [mscorlib]System.Collections.Generic.List`1<class GUIControllerMappingEntryBase>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIControllerMappingEntryBase>(GUIControllerMappings::_categorySettings, ldloc:GUIControllerMappings(this)))
452}
453
454 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
455 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
456 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
457 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
458 --- End of inner exception stack trace ---
459 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
460 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
461*/;
462 }
463
464 // Token: 0x0600029E RID: 670 RVA: 0x000021DB File Offset: 0x000003DB
466 {
467 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
468 }
469
470 // Token: 0x0600029F RID: 671 RVA: 0x000021DB File Offset: 0x000003DB
472 {
473 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
474 }
475
476 // Token: 0x060002A0 RID: 672 RVA: 0x00007E58 File Offset: 0x00006058
480
481 // Token: 0x060002A1 RID: 673 RVA: 0x00007E68 File Offset: 0x00006068
483 {
484 bool flag;
513 long num = 0L;
518 baseInventory.LoadConfiguration("BaseInventoryControls", preferences, num != 0L, baseInventoryTable, inventoryAxisTable);
522 inventory.LoadConfiguration("InventoryControls", preferences, num != 0L, inventoryTable, axisTableEmpty);
526 equipment.LoadConfiguration("EquipmentControls", preferences, num != 0L, equipmentTable, axisTableEmpty2);
530 pvp.LoadConfiguration("PVPControls", preferences, num != 0L, pvptable, axisTableEmpty3);
534 itemHeld.LoadConfiguration("ItemHeldControls", preferences, num != 0L, itemHeldTable, axisTableEmpty4);
538 chestInv.LoadConfiguration("ChestInvControls", preferences, num != 0L, chestInvTable, axisTableEmpty5);
542 chest.LoadConfiguration("ChestControls", preferences, num != 0L, chestTable, axisTableEmpty6);
546 shopInv.LoadConfiguration("ShopInvControls", preferences, num != 0L, shopInvTable, axisTableEmpty7);
550 shop.LoadConfiguration("ShopControls", preferences, num != 0L, shopTable, axisTableEmpty8);
554 crafting.LoadConfiguration("CraftingControls", preferences, num != 0L, craftingTable, axisTableEmpty9);
558 reforge.LoadConfiguration("ReforgeControls", preferences, num != 0L, reforgeTable, axisTableEmpty10);
562 housing.LoadConfiguration("HousingControls", preferences, num != 0L, housingTable, axisTableEmpty11);
566 chat.LoadConfiguration("ChatControls", preferences, num != 0L, chatTable, axisTableEmpty12);
567 if ("ChatControls" != null)
568 {
570 return;
571 }
572 }
573
574 // Token: 0x060002A2 RID: 674 RVA: 0x000081B4 File Offset: 0x000063B4
576 {
577 /*
578An exception occurred when decompiling this method (060002A2)
579
580ICSharpCode.Decompiler.DecompilerException: Error decompiling GUIControllerMappingScheme GUIControllerMappings::GetDefaultScheme(GUIControllerMappings/MappingType)
581
582 ---> System.Exception: Basic block has to end with unconditional control flow.
583{
584 Block_0:
585 stloc:int32(var_0_0B, ldfld:int32(List`1::_size, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIControllerMappingScheme>[exp:List`1](GUIControllerMappings::Schemes, ldloc:GUIControllerMappings(this))))
586 stloc:int32(var_2_19, ldfld:int32(List`1::_size, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIControllerMappingScheme>[exp:List`1](GUIControllerMappings::Schemes, ldloc:GUIControllerMappings(this))))
587 stloc:class [mscorlib]System.Collections.Generic.List`1<class GUIControllerMappingScheme>(var_4_22, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIControllerMappingScheme>(GUIControllerMappings::Schemes, ldloc:GUIControllerMappings(this)))
588}
589
590 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
591 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
592 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
593 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
594 --- End of inner exception stack trace ---
595 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
596 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
597*/;
598 }
599
600 // Token: 0x060002A3 RID: 675 RVA: 0x000081E4 File Offset: 0x000063E4
602 {
605 if (defaultScheme != null)
606 {
607 this.World.ClearMappings();
626 inventory.Copy(inventoryMappings);
644 chest.Copy(chestMappings);
650 shop.Copy(shopMappings);
656 reforge.Copy(reforgeMappings);
660 this.LoadMappingValues();
661 return;
662 }
663 }
664
665 // Token: 0x060002A4 RID: 676 RVA: 0x000083C8 File Offset: 0x000065C8
667 {
668 Buttons button = buttonMapping.FirstEntry.Button;
669 bool flag = this.BaseInventory.IsAnyLeftButtonConflict(button);
670 }
671
672 // Token: 0x060002A5 RID: 677 RVA: 0x00008460 File Offset: 0x00006660
681
682 // Token: 0x060002A6 RID: 678 RVA: 0x0000851C File Offset: 0x0000671C
684 {
687 {
688 }
691 {
697 worldShared.DisableConflictingActions(baseInventory2, true);
700 worldInteract.DisableConflictingActions(baseInventory3, true);
703 worldInteractFallback.DisableConflictingActions(baseInventory4, true);
719 return;
720 }
722 }
723
724 // Token: 0x060002A7 RID: 679 RVA: 0x000021DB File Offset: 0x000003DB
725 public void SetupMappings()
726 {
727 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
728 }
729
730 // Token: 0x060002A8 RID: 680 RVA: 0x000086E8 File Offset: 0x000068E8
731 public void LoadMappingValues()
732 {
733 this.ClearWorldMappings();
737 }
738
739 // Token: 0x060002A9 RID: 681 RVA: 0x00008718 File Offset: 0x00006918
741 {
743 this.World.SaveConfiguration("Controls", preferences);
744 this.WorldShared.SaveConfiguration("SharedControls", preferences);
745 this.WorldInteract.SaveConfiguration("InteractionControls", preferences);
746 this.WorldInteractFallback.SaveConfiguration("InteractionFallbackControls", preferences);
747 this.BaseInventory.SaveConfiguration("BaseInventoryControls", preferences);
748 this.Inventory.SaveConfiguration("InventoryControls", preferences);
749 this.Equipment.SaveConfiguration("EquipmentControls", preferences);
750 this.PVP.SaveConfiguration("PVPControls", preferences);
751 this.ItemHeld.SaveConfiguration("ItemHeldControls", preferences);
752 this.ChestInv.SaveConfiguration("ChestInvControls", preferences);
753 this.Chest.SaveConfiguration("ChestControls", preferences);
754 this.ShopInv.SaveConfiguration("ShopInvControls", preferences);
755 this.Shop.SaveConfiguration("ShopControls", preferences);
756 this.Crafting.SaveConfiguration("CraftingControls", preferences);
757 this.Reforge.SaveConfiguration("ReforgeControls", preferences);
758 this.Housing.SaveConfiguration("HousingControls", preferences);
759 this.Chat.SaveConfiguration("ChatControls", preferences);
760 }
761
762 // Token: 0x060002AA RID: 682 RVA: 0x00008850 File Offset: 0x00006A50
764 {
765 }
766
767 // Token: 0x04000243 RID: 579
768 public bool Enabled;
769
770 // Token: 0x04000244 RID: 580
772
773 // Token: 0x04000245 RID: 581
775
776 // Token: 0x04000246 RID: 582
778
779 // Token: 0x04000247 RID: 583
781
782 // Token: 0x04000248 RID: 584
784
785 // Token: 0x04000249 RID: 585
787
788 // Token: 0x0400024A RID: 586
790
791 // Token: 0x0400024B RID: 587
793
794 // Token: 0x0400024C RID: 588
795 public bool performingBinding;
796
797 // Token: 0x0400024D RID: 589
798 private int disableScroll;
799
800 // Token: 0x0400024E RID: 590
801 private bool hasFocus;
802
803 // Token: 0x0400024F RID: 591
805
806 // Token: 0x04000250 RID: 592
807 private float TimeSinceItemChange;
808
809 // Token: 0x04000251 RID: 593
811
812 // Token: 0x04000252 RID: 594
814
815 // Token: 0x04000253 RID: 595
816 private float GameplayButtonScale;
817
818 // Token: 0x04000254 RID: 596
819 private float UIButtonScale;
820
821 // Token: 0x04000255 RID: 597
823
824 // Token: 0x04000256 RID: 598
826
827 // Token: 0x04000257 RID: 599
828 private float titleScale;
829
830 // Token: 0x04000258 RID: 600
831 public float ScrollOffset;
832
833 // Token: 0x04000259 RID: 601
834 private float ScrollMomentum;
835
836 // Token: 0x0400025A RID: 602
837 private int ScrollDragging;
838
839 // Token: 0x0400025B RID: 603
841
842 // Token: 0x0400025C RID: 604
844
845 // Token: 0x0400025D RID: 605
847
848 // Token: 0x0400025E RID: 606
850
851 // Token: 0x0400025F RID: 607
853
854 // Token: 0x04000260 RID: 608
856
857 // Token: 0x04000261 RID: 609
859
860 // Token: 0x04000262 RID: 610
862
863 // Token: 0x04000263 RID: 611
865
866 // Token: 0x04000264 RID: 612
868
869 // Token: 0x04000265 RID: 613
871
872 // Token: 0x04000266 RID: 614
874
875 // Token: 0x04000267 RID: 615
877
878 // Token: 0x04000268 RID: 616
880
881 // Token: 0x04000269 RID: 617
883
884 // Token: 0x0400026A RID: 618
886
887 // Token: 0x0400026B RID: 619
889
890 // Token: 0x0400026C RID: 620
892
893 // Token: 0x0400026D RID: 621
895
896 // Token: 0x0400026E RID: 622
898
899 // Token: 0x0400026F RID: 623
901
902 // Token: 0x04000270 RID: 624
904
905 // Token: 0x04000271 RID: 625
907
908 // Token: 0x04000272 RID: 626
910
911 // Token: 0x04000273 RID: 627
913
914 // Token: 0x04000274 RID: 628
916
917 // Token: 0x04000275 RID: 629
919
920 // Token: 0x04000276 RID: 630
922
923 // Token: 0x04000277 RID: 631
925
926 // Token: 0x04000278 RID: 632
928
929 // Token: 0x04000279 RID: 633
931
932 // Token: 0x0400027A RID: 634
934
935 // Token: 0x0400027B RID: 635
937
938 // Token: 0x0400027C RID: 636
940
941 // Token: 0x0400027D RID: 637
943
944 // Token: 0x0400027E RID: 638
946
947 // Token: 0x0400027F RID: 639
949
950 // Token: 0x04000280 RID: 640
952
953 // Token: 0x04000281 RID: 641
955
956 // Token: 0x04000282 RID: 642
958
959 // Token: 0x04000283 RID: 643
961
962 // Token: 0x04000284 RID: 644
964
965 // Token: 0x04000285 RID: 645
967
968 // Token: 0x04000286 RID: 646
970
971 // Token: 0x04000287 RID: 647
973
974 // Token: 0x04000288 RID: 648
976
977 // Token: 0x04000289 RID: 649
979
980 // Token: 0x0400028A RID: 650
982
983 // Token: 0x0400028B RID: 651
985
986 // Token: 0x0400028C RID: 652
988
989 // Token: 0x0400028D RID: 653
991
992 // Token: 0x0400028E RID: 654
994
995 // Token: 0x0400028F RID: 655
997
998 // Token: 0x04000290 RID: 656
1000
1001 // Token: 0x04000291 RID: 657
1003
1004 // Token: 0x04000292 RID: 658
1006
1007 // Token: 0x04000293 RID: 659
1009
1010 // Token: 0x04000294 RID: 660
1012
1013 // Token: 0x04000295 RID: 661
1015
1016 // Token: 0x04000296 RID: 662
1018
1019 // Token: 0x04000297 RID: 663
1021
1022 // Token: 0x04000298 RID: 664
1024
1025 // Token: 0x04000299 RID: 665
1027
1028 // Token: 0x0400029A RID: 666
1030
1031 // Token: 0x0400029B RID: 667
1033
1034 // Token: 0x0400029C RID: 668
1036
1037 // Token: 0x0400029D RID: 669
1039
1040 // Token: 0x0400029E RID: 670
1042
1043 // Token: 0x0400029F RID: 671
1045
1046 // Token: 0x040002A0 RID: 672
1048
1049 // Token: 0x040002A1 RID: 673
1051
1052 // Token: 0x040002A2 RID: 674
1054
1055 // Token: 0x040002A3 RID: 675
1057
1058 // Token: 0x040002A4 RID: 676
1060
1061 // Token: 0x040002A5 RID: 677
1063
1064 // Token: 0x040002A6 RID: 678
1066
1067 // Token: 0x040002A7 RID: 679
1069
1070 // Token: 0x040002A8 RID: 680
1072
1073 // Token: 0x040002A9 RID: 681
1075
1076 // Token: 0x040002AA RID: 682
1078
1079 // Token: 0x040002AB RID: 683
1081
1082 // Token: 0x040002AC RID: 684
1084
1085 // Token: 0x040002AD RID: 685
1087
1088 // Token: 0x040002AE RID: 686
1090
1091 // Token: 0x040002AF RID: 687
1093
1094 // Token: 0x040002B0 RID: 688
1096
1097 // Token: 0x040002B1 RID: 689
1099
1100 // Token: 0x040002B2 RID: 690
1102
1103 // Token: 0x040002B3 RID: 691
1105
1106 // Token: 0x040002B4 RID: 692
1108
1109 // Token: 0x040002B5 RID: 693
1111
1112 // Token: 0x040002B6 RID: 694
1114
1115 // Token: 0x040002B7 RID: 695
1117
1118 // Token: 0x040002B8 RID: 696
1120
1121 // Token: 0x040002B9 RID: 697
1123
1124 // Token: 0x040002BA RID: 698
1126
1127 // Token: 0x040002BB RID: 699
1129
1130 // Token: 0x040002BC RID: 700
1132
1133 // Token: 0x040002BD RID: 701
1135
1136 // Token: 0x040002BE RID: 702
1138
1139 // Token: 0x040002BF RID: 703
1141
1142 // Token: 0x040002C0 RID: 704
1144
1145 // Token: 0x040002C1 RID: 705
1147
1148 // Token: 0x040002C2 RID: 706
1150
1151 // Token: 0x040002C3 RID: 707
1153
1154 // Token: 0x040002C4 RID: 708
1156
1157 // Token: 0x040002C5 RID: 709
1159
1160 // Token: 0x040002C6 RID: 710
1162
1163 // Token: 0x040002C7 RID: 711
1165
1166 // Token: 0x040002C8 RID: 712
1168
1169 // Token: 0x040002C9 RID: 713
1171
1172 // Token: 0x040002CA RID: 714
1174
1175 // Token: 0x040002CB RID: 715
1177
1178 // Token: 0x040002CC RID: 716
1180
1181 // Token: 0x040002CD RID: 717
1183
1184 // Token: 0x040002CE RID: 718
1186
1187 // Token: 0x040002CF RID: 719
1189
1190 // Token: 0x040002D0 RID: 720
1192
1193 // Token: 0x040002D1 RID: 721
1195
1196 // Token: 0x040002D2 RID: 722
1198
1199 // Token: 0x040002D3 RID: 723
1201
1202 // Token: 0x040002D4 RID: 724
1204
1205 // Token: 0x040002D5 RID: 725
1207
1208 // Token: 0x040002D6 RID: 726
1210
1211 // Token: 0x040002D7 RID: 727
1213
1214 // Token: 0x040002D8 RID: 728
1216
1217 // Token: 0x040002D9 RID: 729
1219
1220 // Token: 0x040002DA RID: 730
1222
1223 // Token: 0x040002DB RID: 731
1225
1226 // Token: 0x040002DC RID: 732
1228
1229 // Token: 0x040002DD RID: 733
1231
1232 // Token: 0x040002DE RID: 734
1234
1235 // Token: 0x040002DF RID: 735
1237
1238 // Token: 0x040002E0 RID: 736
1240
1241 // Token: 0x040002E1 RID: 737
1243
1244 // Token: 0x040002E2 RID: 738
1246
1247 // Token: 0x040002E3 RID: 739
1249
1250 // Token: 0x040002E4 RID: 740
1252
1253 // Token: 0x040002E5 RID: 741
1255
1256 // Token: 0x040002E6 RID: 742
1258
1259 // Token: 0x040002E7 RID: 743
1261
1262 // Token: 0x040002E8 RID: 744
1264
1265 // Token: 0x040002E9 RID: 745
1267
1268 // Token: 0x040002EA RID: 746
1270
1271 // Token: 0x040002EB RID: 747
1273
1274 // Token: 0x040002EC RID: 748
1276
1277 // Token: 0x040002ED RID: 749
1279
1280 // Token: 0x040002EE RID: 750
1282
1283 // Token: 0x040002EF RID: 751
1285
1286 // Token: 0x040002F0 RID: 752
1288
1289 // Token: 0x040002F1 RID: 753
1291
1292 // Token: 0x040002F2 RID: 754
1294
1295 // Token: 0x040002F3 RID: 755
1297
1298 // Token: 0x040002F4 RID: 756
1300
1301 // Token: 0x040002F5 RID: 757
1303
1304 // Token: 0x040002F6 RID: 758
1306
1307 // Token: 0x02000076 RID: 118
1308 public enum MappingType
1309 {
1310 // Token: 0x040002F8 RID: 760
1311 Default,
1312 // Token: 0x040002F9 RID: 761
1313 Advanced,
1314 // Token: 0x040002FA RID: 762
1315 Console,
1316 // Token: 0x040002FB RID: 763
1317 Custom
1318 }
1319
1320 // Token: 0x02000077 RID: 119
1322 {
1323 // Token: 0x040002FD RID: 765
1324 None,
1325 // Token: 0x040002FE RID: 766
1326 Inventory,
1327 // Token: 0x040002FF RID: 767
1328 NPC,
1329 // Token: 0x04000300 RID: 768
1330 NPCItem,
1331 // Token: 0x04000301 RID: 769
1332 Map
1333 }
1334
1335 // Token: 0x02000078 RID: 120
1337 [Serializable]
1338 private sealed class <>c
1339 {
1340 // Token: 0x060002AB RID: 683 RVA: 0x00008874 File Offset: 0x00006A74
1341 // Note: this type is marked as 'beforefieldinit'.
1342 static <>c()
1343 {
1344 }
1345
1346 // Token: 0x060002AC RID: 684 RVA: 0x00008884 File Offset: 0x00006A84
1347 public <>c()
1348 {
1349 }
1350
1351 // Token: 0x060002AD RID: 685 RVA: 0x00008898 File Offset: 0x00006A98
1353 {
1354 int sortOrder = e2.SortOrder;
1355 int num;
1356 return num;
1357 }
1358
1359 // Token: 0x04000302 RID: 770
1360 public static readonly GUIControllerMappings.<>c <>9;
1361
1362 // Token: 0x04000303 RID: 771
1364 }
1365}
class f__AnonymousType0<< Count > j__TPar
GUISettingID
GUIControllerMappingOverlay.Controls selectedControl
GUIControllerMappingEntryBase _overlayEntry
GUIControllerMappingStateTable ChestMappings
GUIControllerMappingStateTable HousingMappings
GUIControllerMappingStateTable EquipmentMappings
GUIControllerMappingStateTable WorldInteractFallbackMappings
GUIControllerMappingStateTable WorldSharedMappings
GUIControllerMappingStateTable HeldMappings
GUIControllerMappingStateTable ReforgeMappings
GUIControllerMappingStateTable WorldMappings
GUIControllerMappingStateTable CraftingMappings
GUIControllerMappingStateTable ChatMappings
GUIControllerMappingStateTable InventoryMappings
GUIControllerMappingStateTable ChestInvMappings
GUIControllerMappingStateTable ShopMappings
GUIControllerMappingStateTable BaseInventoryMappings
GUIControllerMappingStateTable WorldInteractMappings
GUIControllerMappingStateTable ShopInvMappings
GUIControllerMappingStateTable PVPMappings
void SaveConfiguration(string configurationTable, Preferences preferences)
void Copy(GUIControllerMappingStateTable other)
void DisableConflictingActions(GUIControllerMappingStateTable other, bool altDisableFaceBindings=true)
void TransferMapping(ControllerActionButton button, GUIControllerMappingStateTable other)
void LoadConfiguration(string configurationTable, Preferences preferences, bool mappingsCleared, List< ControllerActionButton > allowedButtons, List< ControllerActionAxis > allowedAxis)
void SetupWorldRequiredStateOverloads(GUIControllerMappingStateTable altStates)
ControllerActionButton Fire
ControllerActionButton DynamicHotbar3
ControllerActionAxis GridSnapAxisX
ControllerActionButton Hotbar2
ControllerActionVector MapAxis
ControllerActionButton DepositHeldItem
ControllerActionButton.RequiredButtonState noRightModifiers
ControllerActionButton Hotbar5
ControllerActionAxis HotbarAxisY
ControllerActionButton BuilderTools
ControllerActionAxis MovementAxisAltY
ControllerActionAxis InventoryNavigationAltY
ControllerActionButton Hotbar8
ControllerActionAxis MovementAxisAltX
void SetupUIMappingState(ControllerActionButton buttonMapping)
GUIControllerMappingStateTable WorldInteractFallback
GUIControllerMappingStateTable Inventory
ControllerActionButton DynamicHotbar1
List< ControllerActionButton > ShopInvTable
ControllerActionButton ChestQuickStack
void SetMapping(GUIControllerMappings.MappingType mappingType)
ControllerActionButton FireAlt
void RegisterOverlay(GUIControllerMappingEntryBase entry, Rectangle region)
ControllerActionButton EquipmentUnequip
List< ControllerActionAxis > AxisTableEmpty
ControllerActionButton InfoAccessories
void SetupWorldUIMappingState(ControllerActionButton buttonMapping)
void LoadConfiguration(Preferences preferences, bool existingConfiguration)
GUIControllerMappingStateTable World
ControllerActionAxis HotbarAxisX
List< ControllerActionButton > CraftingTable
ControllerActionButton GrappleFire
ControllerActionButton PickupPlaceItem
ControllerActionAxis InventoryNavigationAltX
ControllerActionButton Loadout1
List< ControllerActionVector > WorldAxisMappings
ControllerActionButton.RequiredButtonState noLeftModifiers
GUIControllerMappingStateTable Equipment
ControllerActionButton InventoryClose
List< ControllerActionButton > ShopTable
ControllerActionButton MapZoomOut
ControllerActionVector GridSnapAxis
ControllerActionAxis MapAxisY
ControllerActionButton DynamicHotbar2
ControllerActionVector MovementAxis
List< ControllerActionButton > ReforgeTable
GUIControllerMappingStateTable ChestInv
ControllerActionButton Hotbar4
ControllerActionButton ChestRename
ControllerActionVector MovementAxisAlt
ControllerActionButton ChatToggle
List< GUIControllerMappingScheme > Schemes
List< ControllerActionButton > WorldButtonMappings
ControllerActionButton MapZoomIn
ControllerActionVector InventoryNavigationAlt
ControllerActionButton WorldFocusToggle
ControllerActionButton HotbarNext
void SetCategory(ControllerMappingsCategories_Layout.Category category)
ControllerActionButton RightPageCycle
ControllerActionButton BuffPrevious
ControllerActionButton ShopBuy
ControllerActionButton AutoFire
ControllerActionButton Jump
List< ControllerActionButton > ItemHeldTable
GUIControllerMappingStateTable Shop
ControllerActionButton LeftPageCycle
GUIControllerMappingOverlay _controllerInput
List< ControllerActionButton > EquipmentTable
ControllerActionButton Interact
List< ControllerActionButton > ChestTable
ControllerMappingsCategories_Layout.Category Selected
ControllerActionButton Hotbar7
Microsoft.Xna.Framework.Vector2 SettingSize(int index)
ControllerActionAxis InventoryNavigationY
ControllerActionButton ReforgeItem
ControllerActionVector FireAxis
ControllerActionButton AutoSelect
ControllerActionVector FireAxisAlt
ControllerActionAxis InventoryNavigationX
ControllerActionButton InventoryToggle
void SaveConfiguration(Preferences preferences)
ControllerActionButton BuffRemove
ControllerActionAxis GrappleAxisX
GUIControllerMappingStateTable WorldInteract
ControllerActionButton ToggleCraftDuplicate
ControllerActionButton MapZoomDefault
VirtualControllerInputState.CursorInputMode GetMode(Preferences preferences, string id, VirtualControllerInputState.CursorInputMode defaultValue)
ControllerActionButton ChestDepositAll
ControllerActionButton FavouriteItem
ControllerActionButton Hotbar9
ControllerActionAxis MovementAxisX
bool IsOverCategories(Microsoft.Xna.Framework.Vector2 cursorPosition)
ControllerActionButton ChestRestock
ControllerActionButton QuickMount
ControllerActionButton EquipmentEquip
ControllerActionButton CraftItem
ControllerActionButton PVPSwitchTeam
ControllerActionButton Sort
List< ControllerActionButton > ChestInvTable
ControllerActionButton HousingQuery
ControllerActionButton QuickHeal
Microsoft.Xna.Framework.Vector2 DragOffset
List< ControllerActionAxis > WorldAxisTable
ControllerActionButton ZoomIn
ControllerActionButton ChestDeposit
ControllerActionButton SplitItem
ControllerActionButton ShowHideItem
List< ControllerActionButton > BaseInventoryTable
ControllerActionButton HotbarPrevious
ControllerActionButton LoadoutCycle
ControllerActionVector GrappleAxis
List< ControllerActionButton > ChatTable
ControllerActionButton Hotbar1
ControllerActionButton TargetLockOn
GUIControllerMappingStateTable PVP
ControllerActionButton BuffNext
List< ControllerActionButton > PVPTable
ControllerActionButton QuickMana
ControllerActionAxis FireAxisX
List< GUIControllerMappingEntryBase > _categorySettings
ControllerActionAxis GridSnapAxisY
List< GUIControllerMappingEntryBase > _allSettings
ControllerActionAxis FireAxisY
ControllerActionAxis MovementAxisY
ControllerActionButton Hotbar10
ControllerActionAxis FireAxisAltX
ControllerActionButton SmartCursor
ControllerActionButton.RequiredButtonState noModifiers
ControllerActionButton Loadout3
GUIControllerMappingStateTable ShopInv
ControllerActionButton ChestLootAll
GUIControllerMappingStateTable Chest
List< ControllerActionButton > InventoryTable
ControllerActionButton QuickBuff
ControllerActionButton ZoomOut
ControllerActionButton ChestLoot
ControllerActionButton FilterItems
ControllerActionAxis GrappleAxisY
GUIControllerMappingStateTable Chat
GUIControllerMappingScheme GetDefaultScheme(GUIControllerMappings.MappingType mappingType)
ControllerActionButton TrashItem
GUIControllerMappingEntryBase overlayEntry
VirtualControllerInputState.CursorInputMode BackupControllerAimAndUse
ControllerActionButton MapToggle
ControllerActionButton Hotbar6
GUIControllerMappingStateTable Reforge
ControllerActionButton DynamicHotbar4
ControllerActionButton TakeOne
ControllerActionButton MiniMapToggle
ControllerActionButton ChestSort
ControllerActionAxis MapAxisX
ControllerActionVector InventoryNavigation
ControllerActionButton PVPEnableToggle
ControllerActionButton ShopSell
GUIControllerMappings.InteractionOverloadState interactionOverloadState
ControllerActionButton Hotbar3
GUIControllerMappingStateTable BaseInventory
GUIInputRegionExclusive _categoriesBlocker
GUIControllerMappingStateTable ItemHeld
List< ControllerActionVector > InventoryAxisMappings
List< ControllerActionAxis > InventoryAxisTable
ControllerActionAxis FireAxisAltY
ControllerMappingsCategories_Layout.Category[] TabOrder
ControllerActionButton Loadout2
GUIControllerMappings.MappingType mapping
ControllerActionVector HotbarAxis
VirtualControllerInputState.CursorInputMode BackupControllerSmartCursor
GUIControllerMappingStateTable Housing
GUIControllerMappingStateTable WorldShared
GUIControllerMappingStateTable Crafting
ControllerActionButton ThrowItem
void UpdateUIInteractionOverloads(GUIControllerMappings.InteractionOverloadState newInteractionOverloadState)
List< ControllerActionButton > InventoryButtonMappings
List< ControllerActionButton > HousingTable
void SettingDraw(ItemGrid_Layout gridLayout, int index, Microsoft.Xna.Framework.Vector2 position, float scale)
ControllerActionButton ResearchItem
GUISettingID _id
static string GetTextValue(string key)
Definition Language.cs:54
static bool mouseLeftRelease
Definition Main.cs:2029
static bool mouseLeft
Definition Main.cs:671
static float deltaTime
Definition Time.cs:14