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
UserInterface.cs
Go to the documentation of this file.
1using System;
12
13namespace Terraria.UI
14{
15 [global::Cpp2ILInjected.Token(Token = "0x2000727")]
16 public class UserInterface
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x6003C95")]
19 [global::Cpp2ILInjected.Address(RVA = "0x1491FC8", Offset = "0x1491FC8", Length = "0x1C")]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 public void ClearPointers()
22 {
23 throw null;
24 }
25
26 [global::Cpp2ILInjected.Token(Token = "0x6003C96")]
27 [global::Cpp2ILInjected.Address(RVA = "0x1491FF0", Offset = "0x1491FF0", Length = "0xA0")]
28 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UserInterface), Member = "EscapeElements", ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVirtualKeyboard), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
34 public void ResetLasts()
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x6003C97")]
40 [global::Cpp2ILInjected.Address(RVA = "0x1492090", Offset = "0x1492090", Length = "0x4")]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativeUI), Member = "ToggleMenu", ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserInterface), Member = "ResetLasts", ReturnType = typeof(void))]
44 public void EscapeElements()
45 {
46 throw null;
47 }
48
49 [global::Cpp2ILInjected.Token(Token = "0x17000768")]
51 {
52 [global::Cpp2ILInjected.Token(Token = "0x6003C98")]
53 [global::Cpp2ILInjected.Address(RVA = "0x1492094", Offset = "0x1492094", Length = "0x8")]
54 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
55 get
56 {
57 throw null;
58 }
59 }
60
61 [global::Cpp2ILInjected.Token(Token = "0x6003C99")]
62 [global::Cpp2ILInjected.Address(RVA = "0x149209C", Offset = "0x149209C", Length = "0x4AC")]
63 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = ".cctor", ReturnType = typeof(void))]
64 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UserInterface), Member = ".cctor", ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativeUI), Member = ".ctor", ReturnType = typeof(void))]
66 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserInterface.MouseElementEvent), Member = ".ctor", MemberParameters = new object[]
70 {
71 typeof(object),
72 typeof(IntPtr)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 42)]
76 {
77 throw null;
78 }
79
80 [global::Cpp2ILInjected.Token(Token = "0x6003C9A")]
81 [global::Cpp2ILInjected.Address(RVA = "0x1492680", Offset = "0x1492680", Length = "0xB0")]
82 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UserInterface), Member = "Draw", MemberParameters = new object[]
84 {
87 }, ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
89 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
90 public void Use()
91 {
92 throw null;
93 }
94
95 [global::Cpp2ILInjected.Token(Token = "0x6003C9B")]
96 [global::Cpp2ILInjected.Address(RVA = "0x1492748", Offset = "0x1492748", Length = "0x78")]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UserInterface), Member = "ResetState", ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeft", ReturnType = typeof(bool))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseRight", ReturnType = typeof(bool))]
101 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
103 {
104 throw null;
105 }
106
107 [global::Cpp2ILInjected.Token(Token = "0x6003C9C")]
108 [global::Cpp2ILInjected.Address(RVA = "0x14927C0", Offset = "0x14927C0", Length = "0x12C")]
109 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UserInterface), Member = "SetState", MemberParameters = new object[] { typeof(UIState) }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UserInterface), Member = "RefreshState", ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserInterface), Member = "GetMousePosition", ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserInterface), Member = "ImmediatelyUpdateInputPointers", ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
117 {
118 typeof(double),
119 typeof(double)
120 }, ReturnType = typeof(double))]
121 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
122 private void ResetState()
123 {
124 throw null;
125 }
126
127 [global::Cpp2ILInjected.Token(Token = "0x6003C9D")]
128 [global::Cpp2ILInjected.Address(RVA = "0x14928EC", Offset = "0x14928EC", Length = "0x8C")]
129 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
130 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UserInterface), Member = "ResetState", ReturnType = typeof(void))]
131 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UserInterface), Member = "Update", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseX", ReturnType = typeof(int))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseY", ReturnType = typeof(int))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
136 {
137 typeof(float),
138 typeof(float)
139 }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
141 private void GetMousePosition()
142 {
143 throw null;
144 }
145
146 [global::Cpp2ILInjected.Token(Token = "0x6003C9E")]
147 [global::Cpp2ILInjected.Address(RVA = "0x1492978", Offset = "0x1492978", Length = "0x338")]
148 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
149 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativeUI), Member = "Update", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserInterface), Member = "GetMousePosition", ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "GetElementAt", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(UIElement))]
153 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "get_TotalMilliseconds", ReturnType = typeof(double))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
155 {
156 typeof(double),
157 typeof(double)
158 }, ReturnType = typeof(double))]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseLeft", ReturnType = typeof(bool))]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserInterface), Member = "HandleClick", MemberParameters = new object[]
162 {
163 typeof(UserInterface.InputPointerCache),
165 typeof(bool),
166 typeof(UIElement)
167 }, ReturnType = typeof(void))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_mouseRight", ReturnType = typeof(bool))]
169 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
170 public void Update(GameTime time)
171 {
172 throw null;
173 }
174
175 [global::Cpp2ILInjected.Token(Token = "0x6003C9F")]
176 [global::Cpp2ILInjected.Address(RVA = "0x1492CB0", Offset = "0x1492CB0", Length = "0x1FC")]
177 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
178 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UserInterface), Member = "Update", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
179 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TimeSpan), Member = "get_TotalMilliseconds", ReturnType = typeof(double))]
182 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
184 {
185 throw null;
186 }
187
188 [global::Cpp2ILInjected.Token(Token = "0x6003CA0")]
189 [global::Cpp2ILInjected.Address(RVA = "0x1492EAC", Offset = "0x1492EAC", Length = "0x5C")]
190 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
191 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativeUI), Member = "Draw", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
192 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
193 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserInterface), Member = "Use", ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
195 public void Draw(SpriteBatch spriteBatch, GameTime time)
196 {
197 throw null;
198 }
199
200 [global::Cpp2ILInjected.Token(Token = "0x6003CA1")]
201 [global::Cpp2ILInjected.Address(RVA = "0x1492F08", Offset = "0x1492F08", Length = "0x4")]
202 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
204 {
205 throw null;
206 }
207
208 [global::Cpp2ILInjected.Token(Token = "0x6003CA2")]
209 [global::Cpp2ILInjected.Address(RVA = "0x1492F0C", Offset = "0x1492F0C", Length = "0xF8")]
210 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
211 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdate", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
212 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IngameFancyUI), Member = "OpenUIState", MemberParameters = new object[] { typeof(UIState) }, ReturnType = typeof(void))]
213 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IngameFancyUI), Member = "OpenVirtualKeyboard", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
214 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IngameFancyUI), Member = "Close", ReturnType = typeof(void))]
215 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IngameFancyUI), Member = "Draw", MemberParameters = new object[]
216 {
219 }, ReturnType = typeof(bool))]
220 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UserInterface), Member = "GoBack", ReturnType = typeof(void))]
221 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreativeUI), Member = "Initialize", ReturnType = typeof(void))]
222 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryTest), Member = "OpenVirtualKeyboardWhenNeeded", ReturnType = typeof(void))]
223 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryTest), Member = "GoBackHere", ReturnType = typeof(void))]
224 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
225 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserInterface), Member = "AddToHistory", MemberParameters = new object[] { typeof(UIState) }, ReturnType = typeof(void))]
226 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "Deactivate", ReturnType = typeof(void))]
228 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserInterface), Member = "ResetState", ReturnType = typeof(void))]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "Activate", ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
231 public void SetState(UIState state)
232 {
233 throw null;
234 }
235
236 [global::Cpp2ILInjected.Token(Token = "0x6003CA3")]
237 [global::Cpp2ILInjected.Address(RVA = "0x14930F0", Offset = "0x14930F0", Length = "0xA8")]
238 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "RemoveRange", MemberParameters = new object[]
241 {
242 typeof(int),
243 typeof(int)
244 }, ReturnType = typeof(void))]
245 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserInterface), Member = "SetState", MemberParameters = new object[] { typeof(UIState) }, ReturnType = typeof(void))]
246 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
247 public void GoBack()
248 {
249 throw null;
250 }
251
252 [global::Cpp2ILInjected.Token(Token = "0x6003CA4")]
253 [global::Cpp2ILInjected.Address(RVA = "0x1493004", Offset = "0x1493004", Length = "0xEC")]
254 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UserInterface), Member = "SetState", MemberParameters = new object[] { typeof(UIState) }, ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
257 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "RemoveRange", MemberParameters = new object[]
258 {
259 typeof(int),
260 typeof(int)
261 }, ReturnType = typeof(void))]
262 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
264 {
265 throw null;
266 }
267
268 [global::Cpp2ILInjected.Token(Token = "0x6003CA5")]
269 [global::Cpp2ILInjected.Address(RVA = "0x1492730", Offset = "0x1492730", Length = "0x18")]
270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "PreDrawMenu", MemberParameters = new object[]
271 {
274 }, ReturnType = typeof(void))]
275 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "SetDisplayMode", MemberParameters = new object[]
276 {
277 typeof(int),
278 typeof(int),
279 typeof(bool)
280 }, ReturnType = typeof(void))]
281 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
282 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
283 public void Recalculate()
284 {
285 throw null;
286 }
287
288 [global::Cpp2ILInjected.Token(Token = "0x6003CA6")]
289 [global::Cpp2ILInjected.Address(RVA = "0x1493198", Offset = "0x1493198", Length = "0x13C")]
290 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
291 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIElement), Member = "Recalculate", ReturnType = typeof(void))]
292 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
293 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlayerInput), Member = "get_OriginalScreenSize", ReturnType = typeof(Vector2))]
294 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CalculatedStyle), Member = ".ctor", MemberParameters = new object[]
295 {
296 typeof(float),
297 typeof(float),
298 typeof(float),
299 typeof(float)
300 }, ReturnType = typeof(void))]
301 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
303 {
304 throw null;
305 }
306
307 [global::Cpp2ILInjected.Token(Token = "0x6003CA7")]
308 [global::Cpp2ILInjected.Address(RVA = "0x14932D4", Offset = "0x14932D4", Length = "0x40")]
309 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
310 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "Deactivate", ReturnType = typeof(void))]
311 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserInterface), Member = "ResetState", ReturnType = typeof(void))]
312 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "Activate", ReturnType = typeof(void))]
313 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
314 internal void RefreshState()
315 {
316 throw null;
317 }
318
319 [global::Cpp2ILInjected.Token(Token = "0x6003CA8")]
320 [global::Cpp2ILInjected.Address(RVA = "0x1493314", Offset = "0x1493314", Length = "0x8C")]
321 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
322 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IngameFancyUI), Member = "Draw", MemberParameters = new object[]
323 {
326 }, ReturnType = typeof(bool))]
327 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(IngameFancyUI), Member = "MouseOver", ReturnType = typeof(void))]
328 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
329 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
331 {
332 throw null;
333 }
334
335 // Note: this type is marked as 'beforefieldinit'.
336 [global::Cpp2ILInjected.Token(Token = "0x6003CA9")]
337 [global::Cpp2ILInjected.Address(RVA = "0x14933A0", Offset = "0x14933A0", Length = "0x58")]
338 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
339 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UserInterface), Member = ".ctor", ReturnType = typeof(void))]
340 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
342 {
343 throw null;
344 }
345
346 [global::Cpp2ILInjected.Token(Token = "0x4007BB6")]
347 private const double DOUBLE_CLICK_TIME = 500.0;
348
349 [global::Cpp2ILInjected.Token(Token = "0x4007BB7")]
350 private const double STATE_CHANGE_CLICK_DISABLE_TIME = 200.0;
351
352 [global::Cpp2ILInjected.Token(Token = "0x4007BB8")]
353 private const int MAX_HISTORY_SIZE = 32;
354
355 [global::Cpp2ILInjected.Token(Token = "0x4007BB9")]
356 private const int HISTORY_PRUNE_SIZE = 4;
357
358 [global::Cpp2ILInjected.Token(Token = "0x4007BBA")]
360
361 [global::Cpp2ILInjected.Token(Token = "0x4007BBB")]
362 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
364
365 [global::Cpp2ILInjected.Token(Token = "0x4007BBC")]
366 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
368
369 [global::Cpp2ILInjected.Token(Token = "0x4007BBD")]
370 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
372
373 [global::Cpp2ILInjected.Token(Token = "0x4007BBE")]
374 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
376
377 [global::Cpp2ILInjected.Token(Token = "0x4007BBF")]
378 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
380
381 [global::Cpp2ILInjected.Token(Token = "0x4007BC0")]
382 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
384
385 [global::Cpp2ILInjected.Token(Token = "0x4007BC1")]
386 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
387 private bool _isStateDirty;
388
389 [global::Cpp2ILInjected.Token(Token = "0x4007BC2")]
390 [global::Cpp2ILInjected.FieldOffset(Offset = "0x41")]
391 public bool IsVisible;
392
393 [global::Cpp2ILInjected.Token(Token = "0x4007BC3")]
394 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
396
397 [global::Cpp2ILInjected.Token(Token = "0x2000728")]
399
400 [global::Cpp2ILInjected.Token(Token = "0x2000729")]
401 private class InputPointerCache
402 {
403 [global::Cpp2ILInjected.Token(Token = "0x6003CAE")]
404 [global::Cpp2ILInjected.Address(RVA = "0x1491FE4", Offset = "0x1491FE4", Length = "0xC")]
405 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
406 public void Clear()
407 {
408 throw null;
409 }
410
411 [global::Cpp2ILInjected.Token(Token = "0x6003CAF")]
412 [global::Cpp2ILInjected.Address(RVA = "0x1492548", Offset = "0x1492548", Length = "0x8")]
413 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
414 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
416 {
417 throw null;
418 }
419
420 [global::Cpp2ILInjected.Token(Token = "0x4007BC4")]
421 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
422 public double LastTimeDown;
423
424 [global::Cpp2ILInjected.Token(Token = "0x4007BC5")]
425 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
426 public bool WasDown;
427
428 [global::Cpp2ILInjected.Token(Token = "0x4007BC6")]
429 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
431
432 [global::Cpp2ILInjected.Token(Token = "0x4007BC7")]
433 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
435
436 [global::Cpp2ILInjected.Token(Token = "0x4007BC8")]
437 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
439
440 [global::Cpp2ILInjected.Token(Token = "0x4007BC9")]
441 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
443
444 [global::Cpp2ILInjected.Token(Token = "0x4007BCA")]
445 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
447
448 [global::Cpp2ILInjected.Token(Token = "0x4007BCB")]
449 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
451 }
452
454 [global::Cpp2ILInjected.Token(Token = "0x200072A")]
455 [Serializable]
456 private sealed class <>c
457 {
458 // Note: this type is marked as 'beforefieldinit'.
459 [global::Cpp2ILInjected.Token(Token = "0x6003CB0")]
460 [global::Cpp2ILInjected.Address(RVA = "0x1493440", Offset = "0x1493440", Length = "0x5C")]
461 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
462 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
463 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
464 static <>c()
465 {
466 throw null;
467 }
468
469 [global::Cpp2ILInjected.Token(Token = "0x6003CB1")]
470 [global::Cpp2ILInjected.Address(RVA = "0x149349C", Offset = "0x149349C", Length = "0x8")]
471 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
472 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
473 public <>c()
474 {
475 throw null;
476 }
477
478 [global::Cpp2ILInjected.Token(Token = "0x6003CB2")]
479 [global::Cpp2ILInjected.Address(RVA = "0x14934A4", Offset = "0x14934A4", Length = "0x1C")]
480 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
481 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
482 internal void <.ctor>b__21_0(UIElement element, UIMouseEvent evt)
483 {
484 throw null;
485 }
486
487 [global::Cpp2ILInjected.Token(Token = "0x6003CB3")]
488 [global::Cpp2ILInjected.Address(RVA = "0x14934C0", Offset = "0x14934C0", Length = "0x1C")]
489 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
490 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
491 internal void <.ctor>b__21_1(UIElement element, UIMouseEvent evt)
492 {
493 throw null;
494 }
495
496 [global::Cpp2ILInjected.Token(Token = "0x6003CB4")]
497 [global::Cpp2ILInjected.Address(RVA = "0x14934DC", Offset = "0x14934DC", Length = "0x1C")]
498 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
499 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
500 internal void <.ctor>b__21_2(UIElement element, UIMouseEvent evt)
501 {
502 throw null;
503 }
504
505 [global::Cpp2ILInjected.Token(Token = "0x6003CB5")]
506 [global::Cpp2ILInjected.Address(RVA = "0x14934F8", Offset = "0x14934F8", Length = "0x1C")]
507 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
508 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
509 internal void <.ctor>b__21_3(UIElement element, UIMouseEvent evt)
510 {
511 throw null;
512 }
513
514 [global::Cpp2ILInjected.Token(Token = "0x6003CB6")]
515 [global::Cpp2ILInjected.Address(RVA = "0x1493514", Offset = "0x1493514", Length = "0x1C")]
516 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
517 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
518 internal void <.ctor>b__21_4(UIElement element, UIMouseEvent evt)
519 {
520 throw null;
521 }
522
523 [global::Cpp2ILInjected.Token(Token = "0x6003CB7")]
524 [global::Cpp2ILInjected.Address(RVA = "0x1493530", Offset = "0x1493530", Length = "0x1C")]
525 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
526 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
527 internal void <.ctor>b__21_5(UIElement element, UIMouseEvent evt)
528 {
529 throw null;
530 }
531
532 [global::Cpp2ILInjected.Token(Token = "0x6003CB8")]
533 [global::Cpp2ILInjected.Address(RVA = "0x149354C", Offset = "0x149354C", Length = "0x1C")]
534 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
535 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
536 internal void <.ctor>b__21_6(UIElement element, UIMouseEvent evt)
537 {
538 throw null;
539 }
540
541 [global::Cpp2ILInjected.Token(Token = "0x6003CB9")]
542 [global::Cpp2ILInjected.Address(RVA = "0x1493568", Offset = "0x1493568", Length = "0x1C")]
543 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
544 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
545 internal void <.ctor>b__21_7(UIElement element, UIMouseEvent evt)
546 {
547 throw null;
548 }
549
550 [global::Cpp2ILInjected.Token(Token = "0x4007BCC")]
551 public static readonly UserInterface.<>c <>9;
552
553 [global::Cpp2ILInjected.Token(Token = "0x4007BCD")]
555
556 [global::Cpp2ILInjected.Token(Token = "0x4007BCE")]
558
559 [global::Cpp2ILInjected.Token(Token = "0x4007BCF")]
561
562 [global::Cpp2ILInjected.Token(Token = "0x4007BD0")]
564
565 [global::Cpp2ILInjected.Token(Token = "0x4007BD1")]
567
568 [global::Cpp2ILInjected.Token(Token = "0x4007BD2")]
570
571 [global::Cpp2ILInjected.Token(Token = "0x4007BD3")]
573
574 [global::Cpp2ILInjected.Token(Token = "0x4007BD4")]
576 }
577 }
578}
class f__AnonymousType0<< Count > j__TPar
UserInterface.MouseElementEvent DoubleClickEvent
UserInterface.MouseElementEvent MouseUpEvent
UserInterface.MouseElementEvent MouseDownEvent
UserInterface.MouseElementEvent ClickEvent
void Update(GameTime time)
void HandleClick(UserInterface.InputPointerCache cache, GameTime time, bool isDown, UIElement mouseElement)
void SetState(UIState state)
void DrawDebugHitbox(BasicDebugDrawer drawer)
const double STATE_CHANGE_CLICK_DISABLE_TIME
void AddToHistory(UIState state)
void Draw(SpriteBatch spriteBatch, GameTime time)
UserInterface.InputPointerCache RightMouse
UserInterface.InputPointerCache LeftMouse
static UserInterface ActiveInstance
delegate void MouseElementEvent(UIElement element, UIMouseEvent evt)
CalculatedStyle GetDimensions()