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
KeyCombo.cs
Go to the documentation of this file.
1using System;
3using System.IO;
6
7namespace InControl
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200000C")]
10 public struct KeyCombo
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6000045")]
13 [global::Cpp2ILInjected.Address(RVA = "0x197A770", Offset = "0x197A770", Length = "0x68")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(KeyCombo), Member = "With", MemberParameters = new object[] { typeof(Key[]) }, ReturnType = typeof(KeyCombo))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
17 public KeyCombo(params Key[] keys)
18 {
19 throw null;
20 }
21
22 [global::Cpp2ILInjected.Token(Token = "0x6000046")]
23 [global::Cpp2ILInjected.Address(RVA = "0x197B388", Offset = "0x197B388", Length = "0x34")]
24 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
26 private void AddIncludeInt(int key)
27 {
28 throw null;
29 }
30
31 [global::Cpp2ILInjected.Token(Token = "0x6000047")]
32 [global::Cpp2ILInjected.Address(RVA = "0x197B3BC", Offset = "0x197B3BC", Length = "0x14")]
33 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
34 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
35 private int GetIncludeInt(int index)
36 {
37 throw null;
38 }
39
40 [Obsolete("Use KeyCombo.AddInclude instead.")]
41 [global::Cpp2ILInjected.Token(Token = "0x6000048")]
42 [global::Cpp2ILInjected.Address(RVA = "0x197B3D0", Offset = "0x197B3D0", Length = "0x34")]
43 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
44 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
45 public void Add(Key key)
46 {
47 throw null;
48 }
49
50 [Obsolete("Use KeyCombo.GetInclude instead.")]
51 [global::Cpp2ILInjected.Token(Token = "0x6000049")]
52 [global::Cpp2ILInjected.Address(RVA = "0x197B404", Offset = "0x197B404", Length = "0x4")]
53 [global::Cpp2ILInjected.CallAnalysis.CallAnalysisNotSupported]
54 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
55 public Key Get(int index)
56 {
57 throw null;
58 }
59
60 [global::Cpp2ILInjected.Token(Token = "0x600004A")]
61 [global::Cpp2ILInjected.Address(RVA = "0x197B354", Offset = "0x197B354", Length = "0x34")]
62 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
63 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
64 public void AddInclude(Key key)
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x600004B")]
70 [global::Cpp2ILInjected.Address(RVA = "0x197B408", Offset = "0x197B408", Length = "0xD4")]
71 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
75 {
76 typeof(string),
77 typeof(string),
78 typeof(string),
79 typeof(string)
80 }, ReturnType = typeof(string))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IndexOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
83 public Key GetInclude(int index)
84 {
85 throw null;
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x600004C")]
89 [global::Cpp2ILInjected.Address(RVA = "0x197B4DC", Offset = "0x197B4DC", Length = "0x34")]
90 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
92 private void AddExcludeInt(int key)
93 {
94 throw null;
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x600004D")]
98 [global::Cpp2ILInjected.Address(RVA = "0x197B510", Offset = "0x197B510", Length = "0x14")]
99 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
100 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
101 private int GetExcludeInt(int index)
102 {
103 throw null;
104 }
105
106 [global::Cpp2ILInjected.Token(Token = "0x600004E")]
107 [global::Cpp2ILInjected.Address(RVA = "0x197B524", Offset = "0x197B524", Length = "0x34")]
108 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
109 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
110 public void AddExclude(Key key)
111 {
112 throw null;
113 }
114
115 [global::Cpp2ILInjected.Token(Token = "0x600004F")]
116 [global::Cpp2ILInjected.Address(RVA = "0x197B558", Offset = "0x197B558", Length = "0xD4")]
117 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
118 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
121 {
122 typeof(string),
123 typeof(string),
124 typeof(string),
125 typeof(string)
126 }, ReturnType = typeof(string))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IndexOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
129 public Key GetExclude(int index)
130 {
131 throw null;
132 }
133
134 [global::Cpp2ILInjected.Token(Token = "0x6000050")]
135 [global::Cpp2ILInjected.Address(RVA = "0x197B62C", Offset = "0x197B62C", Length = "0x14")]
136 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
137 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeyCombo), Member = ".ctor", MemberParameters = new object[] { typeof(Key[]) }, ReturnType = typeof(void))]
139 public static KeyCombo With(params Key[] keys)
140 {
141 throw null;
142 }
143
144 [global::Cpp2ILInjected.Token(Token = "0x6000051")]
145 [global::Cpp2ILInjected.Address(RVA = "0x197B640", Offset = "0x197B640", Length = "0x60")]
146 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
147 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
148 public KeyCombo AndNot(params Key[] keys)
149 {
150 throw null;
151 }
152
153 [global::Cpp2ILInjected.Token(Token = "0x6000052")]
154 [global::Cpp2ILInjected.Address(RVA = "0x197AFF4", Offset = "0x197AFF4", Length = "0x14")]
155 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
156 public void Clear()
157 {
158 throw null;
159 }
160
161 [Obsolete("Use KeyCombo.IncludeCount instead.")]
162 [global::Cpp2ILInjected.Token(Token = "0x17000015")]
163 public int Count
164 {
165 [global::Cpp2ILInjected.Token(Token = "0x6000053")]
166 [global::Cpp2ILInjected.Address(RVA = "0x197B6A0", Offset = "0x197B6A0", Length = "0x8")]
167 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
168 get
169 {
170 throw null;
171 }
172 }
173
174 [global::Cpp2ILInjected.Token(Token = "0x17000016")]
175 public int IncludeCount
176 {
177 [global::Cpp2ILInjected.Token(Token = "0x6000054")]
178 [global::Cpp2ILInjected.Address(RVA = "0x197B6A8", Offset = "0x197B6A8", Length = "0x8")]
179 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
180 get
181 {
182 throw null;
183 }
184 }
185
186 [global::Cpp2ILInjected.Token(Token = "0x17000017")]
187 public int ExcludeCount
188 {
189 [global::Cpp2ILInjected.Token(Token = "0x6000055")]
190 [global::Cpp2ILInjected.Address(RVA = "0x197B6B0", Offset = "0x197B6B0", Length = "0x8")]
191 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
192 get
193 {
194 throw null;
195 }
196 }
197
198 [global::Cpp2ILInjected.Token(Token = "0x17000018")]
199 public bool IsPressed
200 {
201 [global::Cpp2ILInjected.Token(Token = "0x6000056")]
202 [global::Cpp2ILInjected.Address(RVA = "0x197A82C", Offset = "0x197A82C", Length = "0x148")]
203 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(KeyBindingSource), Member = "GetState", MemberParameters = new object[] { typeof(InputDevice) }, ReturnType = typeof(bool))]
205 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(KeyBindingSourceListener), Member = "Listen", MemberParameters = new object[]
206 {
209 }, ReturnType = typeof(BindingSource))]
210 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeyInfo), Member = "get_IsPressed", ReturnType = typeof(bool))]
212 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
213 get
214 {
215 throw null;
216 }
217 }
218
219 [global::Cpp2ILInjected.Token(Token = "0x6000057")]
220 [global::Cpp2ILInjected.Address(RVA = "0x197B194", Offset = "0x197B194", Length = "0x1B8")]
221 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
222 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(KeyBindingSourceListener), Member = "Listen", MemberParameters = new object[]
223 {
226 }, ReturnType = typeof(BindingSource))]
227 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(InputManager), Member = "get_AnyKeyIsPressed", ReturnType = typeof(bool))]
228 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeyInfo), Member = "get_IsPressed", ReturnType = typeof(bool))]
230 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
231 public static KeyCombo Detect(bool modifiersAsKeys)
232 {
233 throw null;
234 }
235
236 [global::Cpp2ILInjected.Token(Token = "0x6000058")]
237 [global::Cpp2ILInjected.Address(RVA = "0x197A99C", Offset = "0x197A99C", Length = "0x184")]
238 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
239 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(KeyBindingSource), Member = "get_Name", ReturnType = typeof(string))]
240 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ulong, object>), Member = "TryGetValue", MemberParameters = new object[]
242 {
243 typeof(ulong),
244 typeof(ref object)
245 }, ReturnType = typeof(bool))]
246 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
247 {
248 typeof(string),
249 typeof(string)
250 }, ReturnType = typeof(string))]
251 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(KeyInfo), Member = "get_Name", ReturnType = typeof(string))]
252 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
253 public override string ToString()
254 {
255 throw null;
256 }
257
258 [global::Cpp2ILInjected.Token(Token = "0x6000059")]
259 [global::Cpp2ILInjected.Address(RVA = "0x197AC3C", Offset = "0x197AC3C", Length = "0x2C")]
260 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
261 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
262 public static bool operator ==(KeyCombo a, KeyCombo b)
263 {
264 throw null;
265 }
266
267 [global::Cpp2ILInjected.Token(Token = "0x600005A")]
268 [global::Cpp2ILInjected.Address(RVA = "0x197B768", Offset = "0x197B768", Length = "0x2C")]
269 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
270 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
271 public static bool operator !=(KeyCombo a, KeyCombo b)
272 {
273 throw null;
274 }
275
276 [global::Cpp2ILInjected.Token(Token = "0x600005B")]
277 [global::Cpp2ILInjected.Address(RVA = "0x197B794", Offset = "0x197B794", Length = "0x88")]
278 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
279 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
280 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
281 public override bool Equals(object other)
282 {
283 throw null;
284 }
285
286 [global::Cpp2ILInjected.Token(Token = "0x600005C")]
287 [global::Cpp2ILInjected.Address(RVA = "0x197AD90", Offset = "0x197AD90", Length = "0x48")]
288 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
289 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ulong), Member = "GetHashCode", ReturnType = typeof(int))]
290 public override int GetHashCode()
291 {
292 throw null;
293 }
294
295 [global::Cpp2ILInjected.Token(Token = "0x600005D")]
296 [global::Cpp2ILInjected.Address(RVA = "0x197AE14", Offset = "0x197AE14", Length = "0x128")]
297 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
298 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(KeyBindingSource), Member = "Load", MemberParameters = new object[]
299 {
301 typeof(ushort)
302 }, ReturnType = typeof(void))]
303 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
304 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ushort), Member = "ToString", ReturnType = typeof(string))]
305 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
306 {
307 typeof(string),
308 typeof(string)
309 }, ReturnType = typeof(string))]
310 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InControlException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
311 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
312 internal void Load(BinaryReader reader, ushort dataFormatVersion)
313 {
314 throw null;
315 }
316
317 [global::Cpp2ILInjected.Token(Token = "0x600005E")]
318 [global::Cpp2ILInjected.Address(RVA = "0x197AF64", Offset = "0x197AF64", Length = "0x78")]
319 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(KeyBindingSource), Member = "Save", MemberParameters = new object[] { typeof(BinaryWriter) }, ReturnType = typeof(void))]
321 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
322 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
323 internal void Save(BinaryWriter writer)
324 {
325 throw null;
326 }
327
328 // Note: this type is marked as 'beforefieldinit'.
329 [global::Cpp2ILInjected.Token(Token = "0x600005F")]
330 [global::Cpp2ILInjected.Address(RVA = "0x197B884", Offset = "0x197B884", Length = "0x8C")]
331 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
332 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ulong, object>), Member = ".ctor", ReturnType = typeof(void))]
333 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
334 static KeyCombo()
335 {
336 throw null;
337 }
338
339 [global::Cpp2ILInjected.Token(Token = "0x40000A8")]
340 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
341 private int includeSize;
342
343 [global::Cpp2ILInjected.Token(Token = "0x40000A9")]
344 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
346
347 [global::Cpp2ILInjected.Token(Token = "0x40000AA")]
348 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
349 private int excludeSize;
350
351 [global::Cpp2ILInjected.Token(Token = "0x40000AB")]
352 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
354
355 [global::Cpp2ILInjected.Token(Token = "0x40000AC")]
357 }
358}
class f__AnonymousType0<< Count > j__TPar
Key
Definition Key.cs:8
static KeyCombo()
Definition KeyCombo.cs:334
override string ToString()
Definition KeyCombo.cs:253
void Load(BinaryReader reader, ushort dataFormatVersion)
Definition KeyCombo.cs:312
int GetIncludeInt(int index)
Definition KeyCombo.cs:35
Key Get(int index)
Definition KeyCombo.cs:55
static bool operator!=(KeyCombo a, KeyCombo b)
Definition KeyCombo.cs:271
void AddExclude(Key key)
Definition KeyCombo.cs:110
KeyCombo(params Key[] keys)
Definition KeyCombo.cs:17
KeyCombo AndNot(params Key[] keys)
Definition KeyCombo.cs:148
static KeyCombo Detect(bool modifiersAsKeys)
Definition KeyCombo.cs:231
int GetExcludeInt(int index)
Definition KeyCombo.cs:101
Key GetInclude(int index)
Definition KeyCombo.cs:83
static KeyCombo With(params Key[] keys)
Definition KeyCombo.cs:139
void Save(BinaryWriter writer)
Definition KeyCombo.cs:323
void Add(Key key)
Definition KeyCombo.cs:45
Key GetExclude(int index)
Definition KeyCombo.cs:129
override bool Equals(object other)
Definition KeyCombo.cs:281
void AddIncludeInt(int key)
Definition KeyCombo.cs:26
override int GetHashCode()
Definition KeyCombo.cs:290
static bool operator==(KeyCombo a, KeyCombo b)
Definition KeyCombo.cs:262
static Dictionary< ulong, string > cachedStrings
Definition KeyCombo.cs:356
void AddExcludeInt(int key)
Definition KeyCombo.cs:92
void AddInclude(Key key)
Definition KeyCombo.cs:64