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
GUIMap.cs
Go to the documentation of this file.
1using System;
6using Controller;
11using Terraria;
12using Terraria.Map;
15using UnityEngine;
16
17// Token: 0x02000156 RID: 342
18public class GUIMap
19{
20 // Token: 0x170000EA RID: 234
21 // (get) Token: 0x0600095B RID: 2395 RVA: 0x00029088 File Offset: 0x00027288
22 // (set) Token: 0x0600095C RID: 2396 RVA: 0x0002909C File Offset: 0x0002729C
24 {
25 get
26 {
27 return this._activeFrameStyle;
28 }
29 set
30 {
32 if (!true)
33 {
34 }
35 string text2;
36 string text = "Images/UI/Minimap/" + text2 + "/MinimapFrame";
38 string text4;
39 string text3 = "Images/UI/Minimap/" + text4 + "/MinimapFrameConsole";
41 }
42 }
43
44 // Token: 0x0600095D RID: 2397 RVA: 0x000290E4 File Offset: 0x000272E4
45 private unsafe void ClearMap()
46 {
47 bool flag = this.use565Map;
48 int num = this.activeY;
49 int num2 = this.activeX;
52 int num3 = this.activeX;
54 ushort*[] array4 = this.mapTextureDataPtr;
55 int num4 = this.activeX;
56 bool[] array5 = this.mapDirty;
57 int num5 = this.activeY;
58 if (num4 == 0)
59 {
60 }
61 Main.clearMap = false;
62 }
63
64 // Token: 0x0600095E RID: 2398 RVA: 0x0002915C File Offset: 0x0002735C
65 private unsafe void ApplyMap()
66 {
67 int num = this.activeY;
68 int num2 = this.activeX;
69 if (this.mapDirty != null)
70 {
71 string <Name>k__BackingField = this.mapTarget.<Name>k__BackingField;
72 global::UnityEngine.Texture2D texture2D;
73 texture2D.Apply();
74 int num3 = this.activeX;
75 bool[] array = this.mapDirty;
76 ushort*[] array2 = this.mapTextureDataPtr;
77 }
78 int num4 = this.activeY;
79 }
80
81 // Token: 0x0600095F RID: 2399 RVA: 0x000291B8 File Offset: 0x000273B8
83 {
85 int num;
86 if (array != null)
87 {
88 num = this.activeX;
90 }
92 this.use565Map = num != 0;
93 if (array2 != null)
94 {
96 int num2 = this.activeX;
97 int num3 = this.activeX;
98 int num4 = this.activeX;
99 int num5 = this.activeX;
100 ushort*[] array3 = this.mapTextureDataPtr;
101 int num6 = this.activeX;
102 ushort*[] array4 = this.mapTextureDataPtr;
103 return;
104 }
105 int num7 = this.activeX;
106 int num8 = this.activeX;
107 int num9 = this.activeX;
108 int num10 = this.activeX;
109 bool flag = this.use565Map;
111 bool[] array6 = this.mapDirty;
112 ushort*[] array7 = this.mapTextureDataPtr;
114 }
115
116 // Token: 0x06000960 RID: 2400 RVA: 0x00029288 File Offset: 0x00027488
117 public void LoadContent(ContentManager content)
118 {
120 string text2;
121 string text = "Images/UI/Minimap/" + text2 + "/HideMiniMap";
125 string text4;
126 string text3 = "Images/UI/Minimap/" + text4 + "/ShowMiniMap";
129 }
130
131 // Token: 0x06000961 RID: 2401 RVA: 0x000292EC File Offset: 0x000274EC
132 public void LoadDefaultZoom()
133 {
134 float num;
136 }
137
138 // Token: 0x06000962 RID: 2402 RVA: 0x00029304 File Offset: 0x00027504
139 public bool IsCursorOverFullScreenMapControls(global::Cursor cursor)
140 {
141 float x = cursor.Position.x;
142 float y = cursor.Position.y;
143 if (!true)
144 {
145 }
147 return true;
148 }
149
150 // Token: 0x06000963 RID: 2403 RVA: 0x00029350 File Offset: 0x00027550
151 public void CleanupMapTargets()
152 {
154 if (array != null)
155 {
157 string <Name>k__BackingField = array.<Name>k__BackingField;
158 if (disposing == null)
159 {
160 }
161 global::UnityEngine.Texture2D texture2D;
162 global::UnityEngine.Object.DestroyImmediate(texture2D);
163 int num = this.activeX;
164 int num2 = this.activeX;
165 int num3 = this.activeX;
166 }
167 }
168
169 // Token: 0x06000964 RID: 2404 RVA: 0x0002939C File Offset: 0x0002759C
170 [Il2CppSetOption(Option.ArrayBoundsChecks, false)]
171 [Il2CppSetOption(Option.NullChecks, false)]
172 public void DrawToMap()
173 {
174 WorldMap map = Main.Map;
175 if (map != null)
176 {
177 map.UpdateChunks();
178 }
179 bool mapEnabled = Main.mapEnabled;
180 int num = this.activeY;
181 this.activeY = num;
182 this.InitialiseTargets();
183 bool clearMap = Main.clearMap;
184 this.ClearMap();
185 int mapMinX = Main.mapMinX;
186 int mapMaxX = Main.mapMaxX;
187 int mapMinY = Main.mapMinY;
188 int mapMaxY = Main.mapMaxY;
189 }
190
191 // Token: 0x06000965 RID: 2405 RVA: 0x000294E0 File Offset: 0x000276E0
192 private unsafe void ApplySection(int xStart, int xEnd, int yStart, int yEnd)
193 {
194 if (!true)
195 {
196 }
197 WorldMap map = Main.Map;
198 int num = this.activeX;
200 int num2 = this.activeX;
201 if (this.mapDirty != null)
202 {
203 ushort*[] array2 = this.mapTextureDataPtr;
204 return;
205 }
207 int num3 = this.activeX;
209 int num4 = this.activeX;
210 ushort*[] array5 = this.mapTextureDataPtr;
211 bool[] array6 = this.mapDirty;
212 MapTile* ptr;
213 byte color = ptr->Color;
214 byte light = ptr->Light;
215 }
216
217 // Token: 0x06000966 RID: 2406 RVA: 0x000021DB File Offset: 0x000003DB
219 {
220 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
221 }
222
223 // Token: 0x06000967 RID: 2407 RVA: 0x0002958C File Offset: 0x0002778C
224 public unsafe void DrawToMap_Section(int secX, int secY)
225 {
226 if (!true)
227 {
228 }
229 int num = this.activeY;
230 this.activeY = num;
231 this.InitialiseTargets();
232 int num2 = 150;
233 if (num == 0)
234 {
235 }
236 if (num2 == 0)
237 {
238 }
239 if (num == 0)
240 {
241 }
242 if (num2 == 0)
243 {
244 }
245 WorldMap map = Main.Map;
246 if (num == 0)
247 {
248 }
249 int num3 = this.activeX;
251 int num4 = this.activeX;
252 if (this.mapDirty != null)
253 {
254 ushort*[] array2 = this.mapTextureDataPtr;
255 return;
256 }
258 int num5 = this.activeX;
260 int num6 = this.activeX;
261 ushort*[] array5 = this.mapTextureDataPtr;
262 bool[] array6 = this.mapDirty;
263 if (num6 == 0)
264 {
265 }
267 MapTile* ptr;
268 byte color = ptr->Color;
269 byte light = ptr->Light;
270 }
271
272 // Token: 0x06000968 RID: 2408 RVA: 0x0002967C File Offset: 0x0002787C
273 public void ResetMapPing()
274 {
275 if (!true)
276 {
277 }
279 }
280
281 // Token: 0x06000969 RID: 2409 RVA: 0x00029694 File Offset: 0x00027894
282 public void DrawMap()
283 {
284 if ("" == null)
285 {
286 }
287 bool mapEnabled = Main.mapEnabled;
288 if ("" == null)
289 {
290 }
291 bool mapReady = Main.mapReady;
292 if ("" == null)
293 {
294 }
295 bool mapFullscreen = Main.mapFullscreen;
297 }
298
299 // Token: 0x0600096A RID: 2410 RVA: 0x0002AE9C File Offset: 0x0002909C
300 private void DrawMapFullscreenBackground(Microsoft.Xna.Framework.Vector2 screenPosition, int screenWidth, int screenHeight)
301 {
302 if (!true)
303 {
304 }
305 int myPlayer = Main.myPlayer;
306 int myPlayer2 = Main.myPlayer;
307 Tile tile;
308 ushort wall = tile.wall;
309 }
310
311 // Token: 0x170000EB RID: 235
312 // (get) Token: 0x0600096B RID: 2411 RVA: 0x0002B04C File Offset: 0x0002924C
314 {
315 get
316 {
317 /*
318An exception occurred when decompiling this method (0600096B)
319
320ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 GUIMap::get_WorldScreenWidth()
321
322 ---> System.Exception: Basic block has to end with unconditional control flow.
323{
324 IL_0003:
325 stloc:bool(var_1_0A, callgetter:bool(Main::get_mapFullscreen))
326}
327
328 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
329 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
330 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
331 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
332 --- End of inner exception stack trace ---
333 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
334 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
335*/;
336 }
337 }
338
339 // Token: 0x170000EC RID: 236
340 // (get) Token: 0x0600096C RID: 2412 RVA: 0x0002B064 File Offset: 0x00029264
342 {
343 get
344 {
345 /*
346An exception occurred when decompiling this method (0600096C)
347
348ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 GUIMap::get_WorldScreenHeight()
349
350 ---> System.Exception: Basic block has to end with unconditional control flow.
351{
352 IL_0003:
353 stloc:bool(var_1_0A, callgetter:bool(Main::get_mapFullscreen))
354}
355
356 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
357 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
358 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
359 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
360 --- End of inner exception stack trace ---
361 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
362 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
363*/;
364 }
365 }
366
367 // Token: 0x0600096D RID: 2413 RVA: 0x0002B07C File Offset: 0x0002927C
368 public GUIMap()
369 {
370 }
371
372 // Token: 0x0400090A RID: 2314
373 private const int MapTextureDimensions = 256;
374
375 // Token: 0x0400090B RID: 2315
376 private bool grabbedMap;
377
378 // Token: 0x0400090C RID: 2316
379 private int activeX;
380
381 // Token: 0x0400090D RID: 2317
382 private int activeY;
383
384 // Token: 0x0400090E RID: 2318
386
387 // Token: 0x0400090F RID: 2319
388 private bool[] mapDirty;
389
390 // Token: 0x04000910 RID: 2320
392
393 // Token: 0x04000911 RID: 2321
394 private unsafe ushort*[] mapTextureDataPtr;
395
396 // Token: 0x04000912 RID: 2322
397 public bool miniMapEnabled = true;
398
399 // Token: 0x04000913 RID: 2323
400 private bool minimapPressed;
401
402 // Token: 0x04000914 RID: 2324
403 private bool mapPressed;
404
405 // Token: 0x04000915 RID: 2325
406 private bool mapPressedLast;
407
408 // Token: 0x04000916 RID: 2326
409 private bool mapZoomInPressed;
410
411 // Token: 0x04000917 RID: 2327
412 private bool mapZoomOutPressed;
413
414 // Token: 0x04000918 RID: 2328
416
417 // Token: 0x04000919 RID: 2329
419
420 // Token: 0x0400091A RID: 2330
422
423 // Token: 0x0400091B RID: 2331
424 private float ZoomInButtonScale;
425
426 // Token: 0x0400091C RID: 2332
427 private float ZoomOutButtonScale;
428
429 // Token: 0x0400091D RID: 2333
431
432 // Token: 0x0400091E RID: 2334
433 private float ToggleButtonScale;
434
435 // Token: 0x0400091F RID: 2335
436 private float MapButtonScale = (float)16256;
437
438 // Token: 0x04000920 RID: 2336
439 private bool use565Map;
440
441 // Token: 0x04000921 RID: 2337
443
444 // Token: 0x04000922 RID: 2338
445 public string BackingMiniTextureId;
446
447 // Token: 0x04000923 RID: 2339
449
450 // Token: 0x04000924 RID: 2340
451 private bool draggingSlider;
452
453 // Token: 0x04000925 RID: 2341
454 private float ZoomValue;
455
456 // Token: 0x04000926 RID: 2342
457 private float TinyScrollScale;
458
459 // Token: 0x04000927 RID: 2343
460 private float TinyXOffset;
461
462 // Token: 0x04000928 RID: 2344
463 private float TinyYOffset;
464
465 // Token: 0x04000929 RID: 2345
466 private float TinyW;
467
468 // Token: 0x0400092A RID: 2346
469 private float TinyH;
470
471 // Token: 0x0400092B RID: 2347
473
474 // Token: 0x0400092C RID: 2348
476
477 // Token: 0x0400092D RID: 2349
479
480 // Token: 0x0400092E RID: 2350
481 private int LastFrame = 1;
482
483 // Token: 0x02000157 RID: 343
485 {
486 // Token: 0x04000930 RID: 2352
487 Default,
488 // Token: 0x04000931 RID: 2353
489 Golden,
490 // Token: 0x04000932 RID: 2354
491 Remix,
492 // Token: 0x04000933 RID: 2355
493 Sticks,
494 // Token: 0x04000934 RID: 2356
495 StoneGold,
496 // Token: 0x04000935 RID: 2357
497 TwigLeaf,
498 // Token: 0x04000936 RID: 2358
499 Leaf,
500 // Token: 0x04000937 RID: 2359
501 Retro,
502 // Token: 0x04000938 RID: 2360
504 }
505
506 // Token: 0x02000158 RID: 344
508 private sealed class <DrawToMap_Section_Sliced>d__41 : IEnumerator<object>, IEnumerator, IDisposable
509 {
510 // Token: 0x0600096E RID: 2414 RVA: 0x0002B0A8 File Offset: 0x000292A8
513 {
514 this.<>1__state = <>1__state;
515 }
516
517 // Token: 0x0600096F RID: 2415 RVA: 0x0002B0C4 File Offset: 0x000292C4
519 void IDisposable.Dispose()
520 {
521 }
522
523 // Token: 0x06000970 RID: 2416 RVA: 0x0002B0D4 File Offset: 0x000292D4
524 private bool MoveNext()
525 {
526 /*
527An exception occurred when decompiling this method (06000970)
528
529ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIMap/<DrawToMap_Section_Sliced>d__41::MoveNext()
530
531 ---> System.Exception: Basic block has to end with unconditional control flow.
532{
533 IL_00CD:
534 stloc:int32(var_12_D6, ldfld:int32('<DrawToMap_Section_Sliced>d__41'::<ty>5__5, ldloc:'<DrawToMap_Section_Sliced>d__41'(this)))
535 stloc:int32(var_13_DE, ldfld:int32('<DrawToMap_Section_Sliced>d__41'::<chunkEndY>5__7, ldloc:'<DrawToMap_Section_Sliced>d__41'(this)))
536 call:void(GUIMap::ApplySection, ldloc:GUIMap(var_1_0D), ldloc:int32(var_7), ldc.i4:int32(-2147483648), ldloc:int32(var_12_D6), ldloc:int32(var_13_DE))
537 call:void(GUIMap::ApplyMap, ldloc:GUIMap(var_1_0D))
538 stloc:int32(var_14_F8, ldc.i4:int32(1))
539 stfld:int32('<DrawToMap_Section_Sliced>d__41'::<tx>5__6, ldloc:'<DrawToMap_Section_Sliced>d__41'(this), ldc.i4:int32(-2147483648))
540 stfld:int32('<DrawToMap_Section_Sliced>d__41'::<>1__state, ldloc:'<DrawToMap_Section_Sliced>d__41'(this), ldloc:int32(var_14_F8))
541}
542
543 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
544 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
545 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
546 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
547 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
548 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
549 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
550 --- End of inner exception stack trace ---
551 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
552 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
553*/;
554 }
555
556 // Token: 0x170000ED RID: 237
557 // (get) Token: 0x06000971 RID: 2417 RVA: 0x0002B1F0 File Offset: 0x000293F0
559 {
561 get
562 {
563 return this.<>2__current;
564 }
565 }
566
567 // Token: 0x06000972 RID: 2418 RVA: 0x000021DB File Offset: 0x000003DB
569 void IEnumerator.Reset()
570 {
571 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
572 }
573
574 // Token: 0x170000EE RID: 238
575 // (get) Token: 0x06000973 RID: 2419 RVA: 0x0002B204 File Offset: 0x00029404
577 {
579 get
580 {
581 return this.<>2__current;
582 }
583 }
584
585 // Token: 0x04000939 RID: 2361
586 private int <>1__state;
587
588 // Token: 0x0400093A RID: 2362
589 private object <>2__current;
590
591 // Token: 0x0400093B RID: 2363
592 public GUIMap <>4__this;
593
594 // Token: 0x0400093C RID: 2364
595 public int secX;
596
597 // Token: 0x0400093D RID: 2365
598 public int secY;
599
600 // Token: 0x0400093E RID: 2366
601 private int <xStart>5__2;
602
603 // Token: 0x0400093F RID: 2367
604 private int <xEnd>5__3;
605
606 // Token: 0x04000940 RID: 2368
607 private int <yEnd>5__4;
608
609 // Token: 0x04000941 RID: 2369
610 private int <ty>5__5;
611
612 // Token: 0x04000942 RID: 2370
613 private int <tx>5__6;
614
615 // Token: 0x04000943 RID: 2371
616 private int <chunkEndY>5__7;
617 }
618}
class f__AnonymousType0<< Count > j__TPar
int activeY
Definition GUIMap.cs:382
class< DrawToMap_Section_Sliced > d__41
Definition GUIMap.cs:508
unsafe void DrawToMap_Section(int secX, int secY)
Definition GUIMap.cs:224
void LoadContent(ContentManager content)
Definition GUIMap.cs:117
unsafe void ClearMap()
Definition GUIMap.cs:45
void LoadDefaultZoom()
Definition GUIMap.cs:132
unsafe void ApplySection(int xStart, int xEnd, int yStart, int yEnd)
Definition GUIMap.cs:192
void DrawMap()
Definition GUIMap.cs:282
GUIMap.MinimapFrameStyle _activeFrameStyle
Definition GUIMap.cs:442
int LastFrame
Definition GUIMap.cs:481
unsafe void ApplyMap()
Definition GUIMap.cs:65
DateTime _lastPingMouseDownTime
Definition GUIMap.cs:475
GUIControllerFullScreenMap _controller
Definition GUIMap.cs:472
bool mapZoomResetPressed
Definition GUIMap.cs:415
bool mapPressed
Definition GUIMap.cs:403
float TinyScrollScale
Definition GUIMap.cs:457
bool mapPressedLast
Definition GUIMap.cs:406
bool miniMapEnabled
Definition GUIMap.cs:397
class< DrawToMap_Section_Sliced > IEnumerator
Definition GUIMap.cs:508
string BackingLargeTextureId
Definition GUIMap.cs:448
const int MapTextureDimensions
Definition GUIMap.cs:373
float ZoomInButtonScale
Definition GUIMap.cs:424
float ToggleButtonScale
Definition GUIMap.cs:433
Microsoft.Xna.Framework.Graphics.Texture2D miniMapClosed
Definition GUIMap.cs:421
float TinyW
Definition GUIMap.cs:466
bool minimapPressed
Definition GUIMap.cs:400
float ZoomValue
Definition GUIMap.cs:454
string BackingMiniTextureId
Definition GUIMap.cs:445
bool mapZoomInPressed
Definition GUIMap.cs:409
float MapButtonScale
Definition GUIMap.cs:436
int activeX
Definition GUIMap.cs:379
int WorldScreenWidth
Definition GUIMap.cs:314
Microsoft.Xna.Framework.Graphics.Texture2D miniMapOpen
Definition GUIMap.cs:418
bool IsCursorOverFullScreenMapControls(global::Cursor cursor)
Definition GUIMap.cs:139
int WorldScreenHeight
Definition GUIMap.cs:342
bool grabbedMap
Definition GUIMap.cs:376
bool use565Map
Definition GUIMap.cs:439
NativeArray< ushort >[] mapTextureData
Definition GUIMap.cs:391
MinimapFrameStyle
Definition GUIMap.cs:485
float TinyYOffset
Definition GUIMap.cs:463
void ResetMapPing()
Definition GUIMap.cs:273
void DrawMapFullscreenBackground(Microsoft.Xna.Framework.Vector2 screenPosition, int screenWidth, int screenHeight)
Definition GUIMap.cs:300
bool[] mapDirty
Definition GUIMap.cs:388
void CleanupMapTargets()
Definition GUIMap.cs:151
unsafe ushort * mapTextureDataPtr
Definition GUIMap.cs:394
bool draggingSlider
Definition GUIMap.cs:451
unsafe void InitialiseTargets()
Definition GUIMap.cs:82
float TinyH
Definition GUIMap.cs:469
GUIMap.MinimapFrameStyle ActiveFrameStyle
Definition GUIMap.cs:24
GUIMap()
Definition GUIMap.cs:368
Microsoft.Xna.Framework.Graphics.Texture2D[] mapTarget
Definition GUIMap.cs:385
void DrawToMap()
Definition GUIMap.cs:172
float TinyXOffset
Definition GUIMap.cs:460
bool mapZoomOutPressed
Definition GUIMap.cs:412
float ZoomOutButtonScale
Definition GUIMap.cs:427
float ZoomDefaultButtonScale
Definition GUIMap.cs:430
IEnumerator DrawToMap_Section_Sliced(int secX, int secY)
Definition GUIMap.cs:218
Microsoft.Xna.Framework.Vector2 _lastPingMousePosition
Definition GUIMap.cs:478
static bool clearMap
Definition Main.cs:1203
static int myPlayer
Definition Main.cs:2337
static int mapMinY
Definition Main.cs:1147
static WorldMap Map
Definition Main.cs:1875
static int mapMaxX
Definition Main.cs:1133
static int mapMinX
Definition Main.cs:1119
static bool mapEnabled
Definition Main.cs:1231
static int mapMaxY
Definition Main.cs:1161
static bool mapReady
Definition Main.cs:1091
static bool mapFullscreen
Definition Main.cs:1441
ushort wall
Definition Tile.cs:85