terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
GUIControllerMappingState.cs
Go to the documentation of this file.
1using System;
3using Controller;
6using Terraria.IO;
7using UnityEngine;
8
9[global::Cpp2ILInjected.Token(Token = "0x200007B")]
11{
12 [global::Cpp2ILInjected.Token(Token = "0x60002B7")]
13 [global::Cpp2ILInjected.Address(RVA = "0x71D638", Offset = "0x71D638", Length = "0x4C")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
16 public void Clear()
17 {
18 throw null;
19 }
20
21 [global::Cpp2ILInjected.Token(Token = "0x60002B8")]
22 [global::Cpp2ILInjected.Address(RVA = "0x71D684", Offset = "0x71D684", Length = "0xA0")]
23 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingStateTable), Member = "IsSame", MemberParameters = new object[] { typeof(GUIControllerMappingStateTable) }, ReturnType = typeof(bool))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
27 {
28 throw null;
29 }
30
31 [global::Cpp2ILInjected.Token(Token = "0x60002B9")]
32 [global::Cpp2ILInjected.Address(RVA = "0x71D724", Offset = "0x71D724", Length = "0x178")]
33 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingStateTable), Member = "DisableConflictingActions", MemberParameters = new object[]
35 {
37 typeof(bool)
38 }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionManager), Member = "GetAxisThreshold", MemberParameters = new object[]
41 {
43 typeof(ref float)
44 }, ReturnType = typeof(Axis))]
46 {
47 throw null;
48 }
49
50 [global::Cpp2ILInjected.Token(Token = "0x60002BA")]
51 [global::Cpp2ILInjected.Address(RVA = "0x717F44", Offset = "0x717F44", Length = "0x4BC")]
52 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappings), Member = "UpdateUIInteractionOverloads", MemberParameters = new object[] { typeof(GUIControllerMappings.InteractionOverloadState) }, ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionButton), Member = "get_HasMapping", ReturnType = typeof(bool))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionButton), Member = "get_FirstEntry", ReturnType = typeof(ControllerActionButton.Entry))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionButton.RequiredButtonState), Member = ".ctor", ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "IsAnyLeftButtonConflict", MemberParameters = new object[] { typeof(Buttons) }, ReturnType = typeof(bool))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "IsAnyRightButtonConflict", MemberParameters = new object[] { typeof(Buttons) }, ReturnType = typeof(bool))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionButton), Member = "get_RequiredState", ReturnType = typeof(ControllerActionButton.RequiredButtonState))]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "IsAnyLeftAxisButtonConflict", MemberParameters = new object[] { typeof(AxisButtons) }, ReturnType = typeof(bool))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "IsAnyRightAxisButtonConflict", MemberParameters = new object[] { typeof(AxisButtons) }, ReturnType = typeof(bool))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionAxis), Member = "get_HasMapping", ReturnType = typeof(bool))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionAxis), Member = "get_FirstEntry", ReturnType = typeof(ControllerActionAxis.Entry))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "IsAnyLeftAxisConflict", MemberParameters = new object[] { typeof(Axis) }, ReturnType = typeof(bool))]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "IsAnyRightAxisConflict", MemberParameters = new object[] { typeof(Axis) }, ReturnType = typeof(bool))]
67 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
72
73 [global::Cpp2ILInjected.Token(Token = "0x60002BB")]
74 [global::Cpp2ILInjected.Address(RVA = "0x71D89C", Offset = "0x71D89C", Length = "0xD8")]
75 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingStateTable), Member = "Backup", ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingStateTable), Member = "RestoreBackup", ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingStateTable), Member = "Copy", MemberParameters = new object[] { typeof(GUIControllerMappingStateTable) }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
80 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
82 {
83 throw null;
84 }
85
86 [global::Cpp2ILInjected.Token(Token = "0x60002BC")]
87 [global::Cpp2ILInjected.Address(RVA = "0x71D974", Offset = "0x71D974", Length = "0x5D0")]
88 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingStateTable), Member = "LoadConfiguration", MemberParameters = new object[]
90 {
91 typeof(string),
93 typeof(ref bool),
96 }, ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
98 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enum), Member = "ToString", ReturnType = typeof(string))]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
100 {
101 typeof(string),
102 typeof(string),
103 typeof(string)
104 }, ReturnType = typeof(string))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Preferences[]), Member = "Get", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[]
106 {
107 typeof(string),
108 typeof(object)
109 }, ReturnType = "T")]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionManager), Member = "GetButtonMapping", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ControllerActionButton))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "Contains", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "ClearMappings", ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
115 {
116 typeof(string),
117 typeof(string),
118 typeof(string),
119 typeof(string)
120 }, ReturnType = typeof(string))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Debug), Member = "LogWarning", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionManager), Member = "GetAxisMapping", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(ControllerActionAxis))]
123 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 23)]
128
129 [global::Cpp2ILInjected.Token(Token = "0x60002BD")]
130 [global::Cpp2ILInjected.Address(RVA = "0x71DF44", Offset = "0x71DF44", Length = "0xC4")]
131 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
132 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingStateTable), Member = "TransferMapping", MemberParameters = new object[]
133 {
136 }, ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
138 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
140 {
141 throw null;
142 }
143
144 [global::Cpp2ILInjected.Token(Token = "0x60002BE")]
145 [global::Cpp2ILInjected.Address(RVA = "0x71E008", Offset = "0x71E008", Length = "0x2E4")]
146 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
147 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingStateTable), Member = "SaveConfiguration", MemberParameters = new object[]
148 {
149 typeof(string),
151 }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enum), Member = "ToString", ReturnType = typeof(string))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
155 {
156 typeof(string),
157 typeof(string),
158 typeof(string)
159 }, ReturnType = typeof(string))]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Preferences), Member = "Put", MemberParameters = new object[]
161 {
162 typeof(string),
163 typeof(object)
164 }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Preferences), Member = "Clear", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
167 public void SaveConfiguration(string prefix, Preferences preferences)
168 {
169 throw null;
170 }
171
172 [global::Cpp2ILInjected.Token(Token = "0x60002BF")]
173 [global::Cpp2ILInjected.Address(RVA = "0x71E2EC", Offset = "0x71E2EC", Length = "0x3F8")]
174 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
175 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingStateTable), Member = "LoadMappingValues", ReturnType = typeof(void))]
176 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionButton.RequiredButtonState), Member = ".ctor", ReturnType = typeof(void))]
178 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "IsAnyLeftButtonConflict", MemberParameters = new object[] { typeof(Buttons) }, ReturnType = typeof(bool))]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "IsAnyRightButtonConflict", MemberParameters = new object[] { typeof(Buttons) }, ReturnType = typeof(bool))]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionButton), Member = "MapButton", MemberParameters = new object[]
181 {
184 typeof(bool)
185 }, ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "IsAnyLeftAxisButtonConflict", MemberParameters = new object[] { typeof(AxisButtons) }, ReturnType = typeof(bool))]
187 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "IsAnyRightAxisButtonConflict", MemberParameters = new object[] { typeof(AxisButtons) }, ReturnType = typeof(bool))]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionButton), Member = "MapAxisButton", MemberParameters = new object[]
189 {
192 typeof(bool)
193 }, ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "IsAnyLeftAxisConflict", MemberParameters = new object[] { typeof(Axis) }, ReturnType = typeof(bool))]
195 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerMappingStateTable), Member = "IsAnyRightAxisConflict", MemberParameters = new object[] { typeof(Axis) }, ReturnType = typeof(bool))]
196 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ControllerActionAxis), Member = "MapAxis", MemberParameters = new object[]
197 {
198 typeof(Axis),
199 typeof(float),
201 }, ReturnType = typeof(void))]
202 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
204 {
205 throw null;
206 }
207
208 [global::Cpp2ILInjected.Token(Token = "0x60002C0")]
209 [global::Cpp2ILInjected.Address(RVA = "0x71E6E4", Offset = "0x71E6E4", Length = "0x94")]
210 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIControllerMappingStateTable), Member = ".ctor", ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
213 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
215 {
216 throw null;
217 }
218
219 [global::Cpp2ILInjected.Token(Token = "0x4000318")]
220 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
222
223 [global::Cpp2ILInjected.Token(Token = "0x4000319")]
224 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
226
227 [global::Cpp2ILInjected.Token(Token = "0x400031A")]
228 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
230
231 [global::Cpp2ILInjected.Token(Token = "0x400031B")]
232 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
234}
class f__AnonymousType0<< Count > j__TPar
ControllerActionButton[] AxisButtonBindings
void SetupWorldRequiredStateOverloads(GUIControllerMappingStateTable altStates)
ControllerActionButton.RequiredButtonState RequiredState
void SetupMappings(GUIControllerMappingStateTable altStates)
void TransferMapping(ControllerActionButton mapping, GUIControllerMappingState other)
void LoadConfiguration(string prefix, Preferences preferences, ref bool mappingsCleared, List< ControllerActionButton > allowedButtons, List< ControllerActionAxis > allowedAxis)
void Copy(GUIControllerMappingState other)
ControllerActionButton[] ButtonBindings
bool IsSame(GUIControllerMappingState other)
void SaveConfiguration(string prefix, Preferences preferences)
void DisableConflictingActions(GUIControllerMappingState other)