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
Main.cs
Go to the documentation of this file.
1using System;
6using System.IO;
9using System.Text;
12using Cpp2IlInjected;
17using ReLogic.Content;
21using Terraria.Audio;
23using Terraria.Enums;
47using Terraria.ID;
49using Terraria.IO;
51using Terraria.Map;
52using Terraria.Net;
54using Terraria.Social;
55using Terraria.UI;
60using UnityEngine;
62
63namespace Terraria
64{
65 // Token: 0x020003F2 RID: 1010
66 public class Main : Game
67 {
68 // Token: 0x17000394 RID: 916
69 // (get) Token: 0x06001BBB RID: 7099 RVA: 0x000021DB File Offset: 0x000003DB
70 // (set) Token: 0x06001BBC RID: 7100 RVA: 0x000A9B94 File Offset: 0x000A7D94
71 public static bool flushLighting
72 {
73 get
74 {
75 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
76 }
77 set
78 {
79 }
80 }
81
82 // Token: 0x17000395 RID: 917
83 // (get) Token: 0x06001BBD RID: 7101 RVA: 0x000021DB File Offset: 0x000003DB
84 // (set) Token: 0x06001BBE RID: 7102 RVA: 0x000A9BA4 File Offset: 0x000A7DA4
86 {
87 get
88 {
89 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
90 }
91 set
92 {
93 }
94 }
95
96 // Token: 0x17000396 RID: 918
97 // (get) Token: 0x06001BBF RID: 7103 RVA: 0x000021DB File Offset: 0x000003DB
98 // (set) Token: 0x06001BC0 RID: 7104 RVA: 0x000A9BB4 File Offset: 0x000A7DB4
100 {
101 get
102 {
103 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
104 }
105 set
106 {
107 }
108 }
109
110 // Token: 0x17000397 RID: 919
111 // (get) Token: 0x06001BC1 RID: 7105 RVA: 0x000021DB File Offset: 0x000003DB
112 // (set) Token: 0x06001BC2 RID: 7106 RVA: 0x000A9BC4 File Offset: 0x000A7DC4
113 public static int mapDelay
114 {
115 get
116 {
117 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
118 }
119 set
120 {
121 }
122 }
123
124 // Token: 0x17000398 RID: 920
125 // (get) Token: 0x06001BC3 RID: 7107 RVA: 0x000021DB File Offset: 0x000003DB
126 // (set) Token: 0x06001BC4 RID: 7108 RVA: 0x000A9BD4 File Offset: 0x000A7DD4
127 public static bool SettingsUnlock_WorldEvil
128 {
129 get
130 {
131 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
132 }
133 set
134 {
135 }
136 }
137
138 // Token: 0x17000399 RID: 921
139 // (get) Token: 0x06001BC5 RID: 7109 RVA: 0x000021DB File Offset: 0x000003DB
140 // (set) Token: 0x06001BC6 RID: 7110 RVA: 0x000A9BE4 File Offset: 0x000A7DE4
142 {
143 get
144 {
145 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
146 }
147 set
148 {
149 }
150 }
151
152 // Token: 0x1700039A RID: 922
153 // (get) Token: 0x06001BC7 RID: 7111 RVA: 0x000021DB File Offset: 0x000003DB
154 // (set) Token: 0x06001BC8 RID: 7112 RVA: 0x000A9BF4 File Offset: 0x000A7DF4
156 {
157 get
158 {
159 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
160 }
161 set
162 {
163 }
164 }
165
166 // Token: 0x1700039B RID: 923
167 // (get) Token: 0x06001BC9 RID: 7113 RVA: 0x000021DB File Offset: 0x000003DB
168 // (set) Token: 0x06001BCA RID: 7114 RVA: 0x000A9C04 File Offset: 0x000A7E04
169 public static bool SettingDontScaleMainMenuUp
170 {
171 get
172 {
173 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
174 }
175 set
176 {
177 }
178 }
179
180 // Token: 0x1700039C RID: 924
181 // (get) Token: 0x06001BCB RID: 7115 RVA: 0x000021DB File Offset: 0x000003DB
182 // (set) Token: 0x06001BCC RID: 7116 RVA: 0x000A9C14 File Offset: 0x000A7E14
184 {
185 get
186 {
187 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
188 }
189 set
190 {
191 }
192 }
193
194 // Token: 0x1700039D RID: 925
195 // (get) Token: 0x06001BCD RID: 7117 RVA: 0x000021DB File Offset: 0x000003DB
196 // (set) Token: 0x06001BCE RID: 7118 RVA: 0x000A9C24 File Offset: 0x000A7E24
197 public static int tooltipTime
198 {
199 get
200 {
201 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
202 }
203 set
204 {
205 }
206 }
207
208 // Token: 0x1700039E RID: 926
209 // (get) Token: 0x06001BCF RID: 7119 RVA: 0x000021DB File Offset: 0x000003DB
210 // (set) Token: 0x06001BD0 RID: 7120 RVA: 0x000A9C34 File Offset: 0x000A7E34
211 public static int inventoryTooltipTime
212 {
213 get
214 {
215 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
216 }
217 set
218 {
219 }
220 }
221
222 // Token: 0x1700039F RID: 927
223 // (get) Token: 0x06001BD1 RID: 7121 RVA: 0x000021DB File Offset: 0x000003DB
224 // (set) Token: 0x06001BD2 RID: 7122 RVA: 0x000A9C44 File Offset: 0x000A7E44
226 {
227 get
228 {
229 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
230 }
231 set
232 {
233 }
234 }
235
236 // Token: 0x170003A0 RID: 928
237 // (get) Token: 0x06001BD3 RID: 7123 RVA: 0x000021DB File Offset: 0x000003DB
238 // (set) Token: 0x06001BD4 RID: 7124 RVA: 0x000A9C54 File Offset: 0x000A7E54
239 public static bool HidePassword
240 {
241 get
242 {
243 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
244 }
245 set
246 {
247 }
248 }
249
250 // Token: 0x170003A1 RID: 929
251 // (get) Token: 0x06001BD5 RID: 7125 RVA: 0x000021DB File Offset: 0x000003DB
252 // (set) Token: 0x06001BD6 RID: 7126 RVA: 0x000A9C64 File Offset: 0x000A7E64
254 {
255 get
256 {
257 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
258 }
259 set
260 {
261 }
262 }
263
264 // Token: 0x170003A2 RID: 930
265 // (get) Token: 0x06001BD7 RID: 7127 RVA: 0x000021DB File Offset: 0x000003DB
266 // (set) Token: 0x06001BD8 RID: 7128 RVA: 0x000A9C74 File Offset: 0x000A7E74
267 public static bool MouseShowBuildingGrid
268 {
269 get
270 {
271 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
272 }
273 set
274 {
275 }
276 }
277
278 // Token: 0x170003A3 RID: 931
279 // (get) Token: 0x06001BD9 RID: 7129 RVA: 0x000021DB File Offset: 0x000003DB
280 // (set) Token: 0x06001BDA RID: 7130 RVA: 0x000A9C84 File Offset: 0x000A7E84
281 public static float MouseBuildingGridAlpha
282 {
283 get
284 {
285 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
286 }
287 set
288 {
289 }
290 }
291
292 // Token: 0x170003A4 RID: 932
293 // (get) Token: 0x06001BDB RID: 7131 RVA: 0x000021DB File Offset: 0x000003DB
294 // (set) Token: 0x06001BDC RID: 7132 RVA: 0x000A9C94 File Offset: 0x000A7E94
296 {
297 get
298 {
299 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
300 }
301 set
302 {
303 }
304 }
305
306 // Token: 0x170003A5 RID: 933
307 // (get) Token: 0x06001BDD RID: 7133 RVA: 0x000021DB File Offset: 0x000003DB
308 // (set) Token: 0x06001BDE RID: 7134 RVA: 0x000A9CA4 File Offset: 0x000A7EA4
309 public static string _savePath
310 {
311 get
312 {
313 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
314 }
315 set
316 {
317 }
318 }
319
320 // Token: 0x170003A6 RID: 934
321 // (get) Token: 0x06001BDF RID: 7135 RVA: 0x000021DB File Offset: 0x000003DB
322 // (set) Token: 0x06001BE0 RID: 7136 RVA: 0x000A9CB4 File Offset: 0x000A7EB4
323 public static string _oldSavePath
324 {
325 get
326 {
327 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
328 }
329 set
330 {
331 }
332 }
333
334 // Token: 0x170003A7 RID: 935
335 // (get) Token: 0x06001BE1 RID: 7137 RVA: 0x000A9CC4 File Offset: 0x000A7EC4
337 {
338 get
339 {
341 return favoritesFile;
342 }
343 }
344
345 // Token: 0x170003A8 RID: 936
346 // (get) Token: 0x06001BE2 RID: 7138 RVA: 0x000021DB File Offset: 0x000003DB
347 // (set) Token: 0x06001BE3 RID: 7139 RVA: 0x000A9CD4 File Offset: 0x000A7ED4
349 {
350 get
351 {
352 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
353 }
354 set
355 {
356 }
357 }
358
359 // Token: 0x170003A9 RID: 937
360 // (get) Token: 0x06001BE4 RID: 7140 RVA: 0x000021DB File Offset: 0x000003DB
361 // (set) Token: 0x06001BE5 RID: 7141 RVA: 0x000A9CE4 File Offset: 0x000A7EE4
363 {
364 get
365 {
366 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
367 }
368 set
369 {
370 }
371 }
372
373 // Token: 0x170003AA RID: 938
374 // (get) Token: 0x06001BE6 RID: 7142 RVA: 0x000021DB File Offset: 0x000003DB
375 // (set) Token: 0x06001BE7 RID: 7143 RVA: 0x000A9CF4 File Offset: 0x000A7EF4
376 private float hellBlackBoxBottom
377 {
378 get
379 {
380 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
381 }
382 set
383 {
384 }
385 }
386
387 // Token: 0x170003AB RID: 939
388 // (get) Token: 0x06001BE8 RID: 7144 RVA: 0x000021DB File Offset: 0x000003DB
389 // (set) Token: 0x06001BE9 RID: 7145 RVA: 0x000A9D04 File Offset: 0x000A7F04
390 private int[] backTexture
391 {
392 get
393 {
394 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
395 }
396 set
397 {
398 }
399 }
400
401 // Token: 0x170003AC RID: 940
402 // (get) Token: 0x06001BEA RID: 7146 RVA: 0x000021DB File Offset: 0x000003DB
403 // (set) Token: 0x06001BEB RID: 7147 RVA: 0x000A9D14 File Offset: 0x000A7F14
404 private int[] oldBackTexture
405 {
406 get
407 {
408 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
409 }
410 set
411 {
412 }
413 }
414
415 // Token: 0x170003AD RID: 941
416 // (get) Token: 0x06001BEC RID: 7148 RVA: 0x000021DB File Offset: 0x000003DB
417 // (set) Token: 0x06001BED RID: 7149 RVA: 0x000A9D24 File Offset: 0x000A7F24
419 {
420 get
421 {
422 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
423 }
424 set
425 {
426 }
427 }
428
429 // Token: 0x170003AE RID: 942
430 // (get) Token: 0x06001BEE RID: 7150 RVA: 0x000021DB File Offset: 0x000003DB
431 // (set) Token: 0x06001BEF RID: 7151 RVA: 0x000A9D34 File Offset: 0x000A7F34
433 {
434 get
435 {
436 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
437 }
438 set
439 {
440 }
441 }
442
443 // Token: 0x170003AF RID: 943
444 // (get) Token: 0x06001BF0 RID: 7152 RVA: 0x000021DB File Offset: 0x000003DB
445 // (set) Token: 0x06001BF1 RID: 7153 RVA: 0x000A9D44 File Offset: 0x000A7F44
447 {
448 get
449 {
450 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
451 }
452 set
453 {
454 }
455 }
456
457 // Token: 0x170003B0 RID: 944
458 // (get) Token: 0x06001BF2 RID: 7154 RVA: 0x000021DB File Offset: 0x000003DB
459 // (set) Token: 0x06001BF3 RID: 7155 RVA: 0x000A9D54 File Offset: 0x000A7F54
460 public static int WaveQuality
461 {
462 get
463 {
464 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
465 }
466 set
467 {
468 }
469 }
470
471 // Token: 0x170003B1 RID: 945
472 // (get) Token: 0x06001BF4 RID: 7156 RVA: 0x000021DB File Offset: 0x000003DB
473 // (set) Token: 0x06001BF5 RID: 7157 RVA: 0x000A9D64 File Offset: 0x000A7F64
474 public static bool UseStormEffects
475 {
476 get
477 {
478 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
479 }
480 set
481 {
482 }
483 }
484
485 // Token: 0x170003B2 RID: 946
486 // (get) Token: 0x06001BF6 RID: 7158 RVA: 0x000021DB File Offset: 0x000003DB
487 // (set) Token: 0x06001BF7 RID: 7159 RVA: 0x000A9D74 File Offset: 0x000A7F74
488 public static bool UseHeatDistortion
489 {
490 get
491 {
492 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
493 }
494 set
495 {
496 }
497 }
498
499 // Token: 0x170003B3 RID: 947
500 // (get) Token: 0x06001BF8 RID: 7160 RVA: 0x000021DB File Offset: 0x000003DB
501 // (set) Token: 0x06001BF9 RID: 7161 RVA: 0x000A9D84 File Offset: 0x000A7F84
503 {
504 get
505 {
506 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
507 }
508 set
509 {
510 }
511 }
512
513 // Token: 0x170003B4 RID: 948
514 // (get) Token: 0x06001BFA RID: 7162 RVA: 0x000021DB File Offset: 0x000003DB
515 // (set) Token: 0x06001BFB RID: 7163 RVA: 0x000A9D94 File Offset: 0x000A7F94
516 public static float sunCircle
517 {
518 get
519 {
520 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
521 }
522 set
523 {
524 }
525 }
526
527 // Token: 0x170003B5 RID: 949
528 // (get) Token: 0x06001BFC RID: 7164 RVA: 0x000021DB File Offset: 0x000003DB
529 // (set) Token: 0x06001BFD RID: 7165 RVA: 0x000A9DA4 File Offset: 0x000A7FA4
530 public static int BlackFadeIn
531 {
532 get
533 {
534 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
535 }
536 set
537 {
538 }
539 }
540
541 // Token: 0x170003B6 RID: 950
542 // (get) Token: 0x06001BFE RID: 7166 RVA: 0x000021DB File Offset: 0x000003DB
543 // (set) Token: 0x06001BFF RID: 7167 RVA: 0x000A9DB4 File Offset: 0x000A7FB4
544 public static int undergroundBackground
545 {
546 get
547 {
548 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
549 }
550 set
551 {
552 }
553 }
554
555 // Token: 0x170003B7 RID: 951
556 // (get) Token: 0x06001C00 RID: 7168 RVA: 0x000021DB File Offset: 0x000003DB
557 // (set) Token: 0x06001C01 RID: 7169 RVA: 0x000A9DC4 File Offset: 0x000A7FC4
558 public static int oldUndergroundBackground
559 {
560 get
561 {
562 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
563 }
564 set
565 {
566 }
567 }
568
569 // Token: 0x170003B8 RID: 952
570 // (get) Token: 0x06001C02 RID: 7170 RVA: 0x000021DB File Offset: 0x000003DB
571 // (set) Token: 0x06001C03 RID: 7171 RVA: 0x000A9DD4 File Offset: 0x000A7FD4
572 public static bool renderNow
573 {
574 get
575 {
576 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
577 }
578 set
579 {
580 }
581 }
582
583 // Token: 0x170003B9 RID: 953
584 // (get) Token: 0x06001C04 RID: 7172 RVA: 0x000021DB File Offset: 0x000003DB
585 // (set) Token: 0x06001C05 RID: 7173 RVA: 0x000A9DE4 File Offset: 0x000A7FE4
586 public static int mouseX
587 {
588 get
589 {
590 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
591 }
592 set
593 {
594 }
595 }
596
597 // Token: 0x170003BA RID: 954
598 // (get) Token: 0x06001C06 RID: 7174 RVA: 0x000021DB File Offset: 0x000003DB
599 // (set) Token: 0x06001C07 RID: 7175 RVA: 0x000A9DF4 File Offset: 0x000A7FF4
600 public static int mouseY
601 {
602 get
603 {
604 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
605 }
606 set
607 {
608 }
609 }
610
611 // Token: 0x170003BB RID: 955
612 // (get) Token: 0x06001C08 RID: 7176 RVA: 0x000021DB File Offset: 0x000003DB
613 // (set) Token: 0x06001C09 RID: 7177 RVA: 0x000A9E04 File Offset: 0x000A8004
614 public static int worldMouseX
615 {
616 get
617 {
618 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
619 }
620 set
621 {
622 }
623 }
624
625 // Token: 0x170003BC RID: 956
626 // (get) Token: 0x06001C0A RID: 7178 RVA: 0x000021DB File Offset: 0x000003DB
627 // (set) Token: 0x06001C0B RID: 7179 RVA: 0x000A9E14 File Offset: 0x000A8014
628 public static int worldMouseY
629 {
630 get
631 {
632 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
633 }
634 set
635 {
636 }
637 }
638
639 // Token: 0x170003BD RID: 957
640 // (get) Token: 0x06001C0C RID: 7180 RVA: 0x000021DB File Offset: 0x000003DB
641 // (set) Token: 0x06001C0D RID: 7181 RVA: 0x000A9E24 File Offset: 0x000A8024
642 public static int lastMouseX
643 {
644 get
645 {
646 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
647 }
648 set
649 {
650 }
651 }
652
653 // Token: 0x170003BE RID: 958
654 // (get) Token: 0x06001C0E RID: 7182 RVA: 0x000021DB File Offset: 0x000003DB
655 // (set) Token: 0x06001C0F RID: 7183 RVA: 0x000A9E34 File Offset: 0x000A8034
656 public static int lastMouseY
657 {
658 get
659 {
660 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
661 }
662 set
663 {
664 }
665 }
666
667 // Token: 0x170003BF RID: 959
668 // (get) Token: 0x06001C10 RID: 7184 RVA: 0x000021DB File Offset: 0x000003DB
669 // (set) Token: 0x06001C11 RID: 7185 RVA: 0x000A9E44 File Offset: 0x000A8044
670 public static bool mouseLeft
671 {
672 get
673 {
674 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
675 }
676 set
677 {
678 }
679 }
680
681 // Token: 0x170003C0 RID: 960
682 // (get) Token: 0x06001C12 RID: 7186 RVA: 0x000021DB File Offset: 0x000003DB
683 // (set) Token: 0x06001C13 RID: 7187 RVA: 0x000A9E54 File Offset: 0x000A8054
684 public static bool mouseRight
685 {
686 get
687 {
688 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
689 }
690 set
691 {
692 }
693 }
694
695 // Token: 0x170003C1 RID: 961
696 // (get) Token: 0x06001C14 RID: 7188 RVA: 0x000021DB File Offset: 0x000003DB
697 // (set) Token: 0x06001C15 RID: 7189 RVA: 0x000A9E64 File Offset: 0x000A8064
698 public static bool worldMouseLeft
699 {
700 get
701 {
702 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
703 }
704 set
705 {
706 }
707 }
708
709 // Token: 0x170003C2 RID: 962
710 // (get) Token: 0x06001C16 RID: 7190 RVA: 0x000021DB File Offset: 0x000003DB
711 // (set) Token: 0x06001C17 RID: 7191 RVA: 0x000A9E74 File Offset: 0x000A8074
712 public static bool worldMouseLeftRelease
713 {
714 get
715 {
716 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
717 }
718 set
719 {
720 }
721 }
722
723 // Token: 0x170003C3 RID: 963
724 // (get) Token: 0x06001C18 RID: 7192 RVA: 0x000021DB File Offset: 0x000003DB
725 // (set) Token: 0x06001C19 RID: 7193 RVA: 0x000A9E84 File Offset: 0x000A8084
726 public static bool worldMouseRight
727 {
728 get
729 {
730 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
731 }
732 set
733 {
734 }
735 }
736
737 // Token: 0x170003C4 RID: 964
738 // (get) Token: 0x06001C1A RID: 7194 RVA: 0x000021DB File Offset: 0x000003DB
739 // (set) Token: 0x06001C1B RID: 7195 RVA: 0x000A9E94 File Offset: 0x000A8094
740 public static bool worldMouseRightRelease
741 {
742 get
743 {
744 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
745 }
746 set
747 {
748 }
749 }
750
751 // Token: 0x170003C5 RID: 965
752 // (get) Token: 0x06001C1C RID: 7196 RVA: 0x000021DB File Offset: 0x000003DB
753 // (set) Token: 0x06001C1D RID: 7197 RVA: 0x000A9EA4 File Offset: 0x000A80A4
754 public static bool isMouseLeftConsumedByUI
755 {
756 get
757 {
758 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
759 }
760 set
761 {
762 }
763 }
764
765 // Token: 0x170003C6 RID: 966
766 // (get) Token: 0x06001C1E RID: 7198 RVA: 0x000021DB File Offset: 0x000003DB
767 // (set) Token: 0x06001C1F RID: 7199 RVA: 0x000A9EB4 File Offset: 0x000A80B4
769 {
770 get
771 {
772 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
773 }
774 set
775 {
776 }
777 }
778
779 // Token: 0x170003C7 RID: 967
780 // (get) Token: 0x06001C20 RID: 7200 RVA: 0x000021DB File Offset: 0x000003DB
781 // (set) Token: 0x06001C21 RID: 7201 RVA: 0x000A9EC4 File Offset: 0x000A80C4
782 public static bool hairWindow
783 {
784 get
785 {
786 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
787 }
788 set
789 {
790 }
791 }
792
793 // Token: 0x170003C8 RID: 968
794 // (get) Token: 0x06001C22 RID: 7202 RVA: 0x000021DB File Offset: 0x000003DB
795 // (set) Token: 0x06001C23 RID: 7203 RVA: 0x000A9ED4 File Offset: 0x000A80D4
796 public static bool clothesWindow
797 {
798 get
799 {
800 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
801 }
802 set
803 {
804 }
805 }
806
807 // Token: 0x170003C9 RID: 969
808 // (get) Token: 0x06001C24 RID: 7204 RVA: 0x000021DB File Offset: 0x000003DB
809 // (set) Token: 0x06001C25 RID: 7205 RVA: 0x000A9EE4 File Offset: 0x000A80E4
810 public static bool ingameOptionsWindow
811 {
812 get
813 {
814 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
815 }
816 set
817 {
818 }
819 }
820
821 // Token: 0x170003CA RID: 970
822 // (get) Token: 0x06001C26 RID: 7206 RVA: 0x000021DB File Offset: 0x000003DB
823 // (set) Token: 0x06001C27 RID: 7207 RVA: 0x000A9EF4 File Offset: 0x000A80F4
824 public static bool inFancyUI
825 {
826 get
827 {
828 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
829 }
830 set
831 {
832 }
833 }
834
835 // Token: 0x170003CB RID: 971
836 // (get) Token: 0x06001C28 RID: 7208 RVA: 0x000021DB File Offset: 0x000003DB
837 // (set) Token: 0x06001C29 RID: 7209 RVA: 0x000A9F04 File Offset: 0x000A8104
838 public static byte gFade
839 {
840 get
841 {
842 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
843 }
844 set
845 {
846 }
847 }
848
849 // Token: 0x170003CC RID: 972
850 // (get) Token: 0x06001C2A RID: 7210 RVA: 0x000021DB File Offset: 0x000003DB
851 // (set) Token: 0x06001C2B RID: 7211 RVA: 0x000A9F14 File Offset: 0x000A8114
852 public static float gFader
853 {
854 get
855 {
856 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
857 }
858 set
859 {
860 }
861 }
862
863 // Token: 0x170003CD RID: 973
864 // (get) Token: 0x06001C2C RID: 7212 RVA: 0x000021DB File Offset: 0x000003DB
865 // (set) Token: 0x06001C2D RID: 7213 RVA: 0x000A9F24 File Offset: 0x000A8124
866 public static byte gFadeDir
867 {
868 get
869 {
870 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
871 }
872 set
873 {
874 }
875 }
876
877 // Token: 0x170003CE RID: 974
878 // (get) Token: 0x06001C2E RID: 7214 RVA: 0x000021DB File Offset: 0x000003DB
879 // (set) Token: 0x06001C2F RID: 7215 RVA: 0x000A9F34 File Offset: 0x000A8134
880 public static bool render
881 {
882 get
883 {
884 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
885 }
886 set
887 {
888 }
889 }
890
891 // Token: 0x170003CF RID: 975
892 // (get) Token: 0x06001C30 RID: 7216 RVA: 0x000021DB File Offset: 0x000003DB
893 // (set) Token: 0x06001C31 RID: 7217 RVA: 0x000A9F44 File Offset: 0x000A8144
894 public static int qaStyle
895 {
896 get
897 {
898 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
899 }
900 set
901 {
902 }
903 }
904
905 // Token: 0x170003D0 RID: 976
906 // (get) Token: 0x06001C32 RID: 7218 RVA: 0x000021DB File Offset: 0x000003DB
907 // (set) Token: 0x06001C33 RID: 7219 RVA: 0x000A9F54 File Offset: 0x000A8154
908 public static bool BackgroundEnabled
909 {
910 get
911 {
912 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
913 }
914 set
915 {
916 }
917 }
918
919 // Token: 0x170003D1 RID: 977
920 // (get) Token: 0x06001C34 RID: 7220 RVA: 0x000021DB File Offset: 0x000003DB
921 // (set) Token: 0x06001C35 RID: 7221 RVA: 0x000A9F64 File Offset: 0x000A8164
923 {
924 get
925 {
926 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
927 }
928 set
929 {
930 }
931 }
932
933 // Token: 0x170003D2 RID: 978
934 // (get) Token: 0x06001C36 RID: 7222 RVA: 0x000021DB File Offset: 0x000003DB
935 // (set) Token: 0x06001C37 RID: 7223 RVA: 0x000A9F74 File Offset: 0x000A8174
936 public static int bgDelay
937 {
938 get
939 {
940 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
941 }
942 set
943 {
944 }
945 }
946
947 // Token: 0x170003D3 RID: 979
948 // (get) Token: 0x06001C38 RID: 7224 RVA: 0x000021DB File Offset: 0x000003DB
949 // (set) Token: 0x06001C39 RID: 7225 RVA: 0x000A9F84 File Offset: 0x000A8184
950 public static int bgStyle
951 {
952 get
953 {
954 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
955 }
956 set
957 {
958 }
959 }
960
961 // Token: 0x170003D4 RID: 980
962 // (get) Token: 0x06001C3A RID: 7226 RVA: 0x000021DB File Offset: 0x000003DB
963 // (set) Token: 0x06001C3B RID: 7227 RVA: 0x000A9F94 File Offset: 0x000A8194
964 public static float[] bgAlphaFrontLayer
965 {
966 get
967 {
968 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
969 }
970 set
971 {
972 }
973 }
974
975 // Token: 0x170003D5 RID: 981
976 // (get) Token: 0x06001C3C RID: 7228 RVA: 0x000021DB File Offset: 0x000003DB
977 // (set) Token: 0x06001C3D RID: 7229 RVA: 0x000A9FA4 File Offset: 0x000A81A4
978 public static float[] bgAlphaFarBackLayer
979 {
980 get
981 {
982 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
983 }
984 set
985 {
986 }
987 }
988
989 // Token: 0x170003D6 RID: 982
990 // (get) Token: 0x06001C3E RID: 7230 RVA: 0x000021DB File Offset: 0x000003DB
991 // (set) Token: 0x06001C3F RID: 7231 RVA: 0x000A9FB4 File Offset: 0x000A81B4
992 public static int[] bgFrame
993 {
994 get
995 {
996 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
997 }
998 set
999 {
1000 }
1001 }
1002
1003 // Token: 0x170003D7 RID: 983
1004 // (get) Token: 0x06001C40 RID: 7232 RVA: 0x000021DB File Offset: 0x000003DB
1005 // (set) Token: 0x06001C41 RID: 7233 RVA: 0x000A9FC4 File Offset: 0x000A81C4
1006 public static int[] bgFrameCounter
1007 {
1008 get
1009 {
1010 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1011 }
1012 set
1013 {
1014 }
1015 }
1016
1017 // Token: 0x170003D8 RID: 984
1018 // (get) Token: 0x06001C42 RID: 7234 RVA: 0x000021DB File Offset: 0x000003DB
1019 // (set) Token: 0x06001C43 RID: 7235 RVA: 0x000A9FD4 File Offset: 0x000A81D4
1020 public static bool refreshMap
1021 {
1022 get
1023 {
1024 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1025 }
1026 set
1027 {
1028 }
1029 }
1030
1031 // Token: 0x170003D9 RID: 985
1032 // (get) Token: 0x06001C44 RID: 7236 RVA: 0x000021DB File Offset: 0x000003DB
1033 // (set) Token: 0x06001C45 RID: 7237 RVA: 0x000A9FE4 File Offset: 0x000A81E4
1034 public static int loadMapLastX
1035 {
1036 get
1037 {
1038 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1039 }
1040 set
1041 {
1042 }
1043 }
1044
1045 // Token: 0x170003DA RID: 986
1046 // (get) Token: 0x06001C46 RID: 7238 RVA: 0x000021DB File Offset: 0x000003DB
1047 // (set) Token: 0x06001C47 RID: 7239 RVA: 0x000A9FF4 File Offset: 0x000A81F4
1048 public static bool loadMapLock
1049 {
1050 get
1051 {
1052 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1053 }
1054 set
1055 {
1056 }
1057 }
1058
1059 // Token: 0x170003DB RID: 987
1060 // (get) Token: 0x06001C48 RID: 7240 RVA: 0x000021DB File Offset: 0x000003DB
1061 // (set) Token: 0x06001C49 RID: 7241 RVA: 0x000AA004 File Offset: 0x000A8204
1062 public static bool loadMap
1063 {
1064 get
1065 {
1066 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1067 }
1068 set
1069 {
1070 }
1071 }
1072
1073 // Token: 0x170003DC RID: 988
1074 // (get) Token: 0x06001C4A RID: 7242 RVA: 0x000021DB File Offset: 0x000003DB
1075 // (set) Token: 0x06001C4B RID: 7243 RVA: 0x000AA014 File Offset: 0x000A8214
1076 public static bool loadMapSections
1077 {
1078 get
1079 {
1080 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1081 }
1082 set
1083 {
1084 }
1085 }
1086
1087 // Token: 0x170003DD RID: 989
1088 // (get) Token: 0x06001C4C RID: 7244 RVA: 0x000021DB File Offset: 0x000003DB
1089 // (set) Token: 0x06001C4D RID: 7245 RVA: 0x000AA024 File Offset: 0x000A8224
1090 public static bool mapReady
1091 {
1092 get
1093 {
1094 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1095 }
1096 set
1097 {
1098 }
1099 }
1100
1101 // Token: 0x170003DE RID: 990
1102 // (get) Token: 0x06001C4E RID: 7246 RVA: 0x000021DB File Offset: 0x000003DB
1103 // (set) Token: 0x06001C4F RID: 7247 RVA: 0x000AA034 File Offset: 0x000A8234
1104 public static bool updateMap
1105 {
1106 get
1107 {
1108 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1109 }
1110 set
1111 {
1112 }
1113 }
1114
1115 // Token: 0x170003DF RID: 991
1116 // (get) Token: 0x06001C50 RID: 7248 RVA: 0x000021DB File Offset: 0x000003DB
1117 // (set) Token: 0x06001C51 RID: 7249 RVA: 0x000AA044 File Offset: 0x000A8244
1118 public static int mapMinX
1119 {
1120 get
1121 {
1122 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1123 }
1124 set
1125 {
1126 }
1127 }
1128
1129 // Token: 0x170003E0 RID: 992
1130 // (get) Token: 0x06001C52 RID: 7250 RVA: 0x000021DB File Offset: 0x000003DB
1131 // (set) Token: 0x06001C53 RID: 7251 RVA: 0x000AA054 File Offset: 0x000A8254
1132 public static int mapMaxX
1133 {
1134 get
1135 {
1136 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1137 }
1138 set
1139 {
1140 }
1141 }
1142
1143 // Token: 0x170003E1 RID: 993
1144 // (get) Token: 0x06001C54 RID: 7252 RVA: 0x000021DB File Offset: 0x000003DB
1145 // (set) Token: 0x06001C55 RID: 7253 RVA: 0x000AA064 File Offset: 0x000A8264
1146 public static int mapMinY
1147 {
1148 get
1149 {
1150 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1151 }
1152 set
1153 {
1154 }
1155 }
1156
1157 // Token: 0x170003E2 RID: 994
1158 // (get) Token: 0x06001C56 RID: 7254 RVA: 0x000021DB File Offset: 0x000003DB
1159 // (set) Token: 0x06001C57 RID: 7255 RVA: 0x000AA074 File Offset: 0x000A8274
1160 public static int mapMaxY
1161 {
1162 get
1163 {
1164 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1165 }
1166 set
1167 {
1168 }
1169 }
1170
1171 // Token: 0x170003E3 RID: 995
1172 // (get) Token: 0x06001C58 RID: 7256 RVA: 0x000021DB File Offset: 0x000003DB
1173 // (set) Token: 0x06001C59 RID: 7257 RVA: 0x000AA084 File Offset: 0x000A8284
1174 public static int mapTimeMax
1175 {
1176 get
1177 {
1178 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1179 }
1180 set
1181 {
1182 }
1183 }
1184
1185 // Token: 0x170003E4 RID: 996
1186 // (get) Token: 0x06001C5A RID: 7258 RVA: 0x000021DB File Offset: 0x000003DB
1187 // (set) Token: 0x06001C5B RID: 7259 RVA: 0x000AA094 File Offset: 0x000A8294
1188 public static int mapTime
1189 {
1190 get
1191 {
1192 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1193 }
1194 set
1195 {
1196 }
1197 }
1198
1199 // Token: 0x170003E5 RID: 997
1200 // (get) Token: 0x06001C5C RID: 7260 RVA: 0x000021DB File Offset: 0x000003DB
1201 // (set) Token: 0x06001C5D RID: 7261 RVA: 0x000AA0A4 File Offset: 0x000A82A4
1202 public static bool clearMap
1203 {
1204 get
1205 {
1206 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1207 }
1208 set
1209 {
1210 }
1211 }
1212
1213 // Token: 0x170003E6 RID: 998
1214 // (get) Token: 0x06001C5E RID: 7262 RVA: 0x000021DB File Offset: 0x000003DB
1215 // (set) Token: 0x06001C5F RID: 7263 RVA: 0x000AA0B4 File Offset: 0x000A82B4
1216 public static bool mapInit
1217 {
1218 get
1219 {
1220 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1221 }
1222 set
1223 {
1224 }
1225 }
1226
1227 // Token: 0x170003E7 RID: 999
1228 // (get) Token: 0x06001C60 RID: 7264 RVA: 0x000021DB File Offset: 0x000003DB
1229 // (set) Token: 0x06001C61 RID: 7265 RVA: 0x000AA0C4 File Offset: 0x000A82C4
1230 public static bool mapEnabled
1231 {
1232 get
1233 {
1234 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1235 }
1236 set
1237 {
1238 }
1239 }
1240
1241 // Token: 0x170003E8 RID: 1000
1242 // (get) Token: 0x06001C62 RID: 7266 RVA: 0x000021DB File Offset: 0x000003DB
1243 // (set) Token: 0x06001C63 RID: 7267 RVA: 0x000AA0D4 File Offset: 0x000A82D4
1244 public static int mapStyle
1245 {
1246 get
1247 {
1248 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1249 }
1250 set
1251 {
1252 }
1253 }
1254
1255 // Token: 0x170003E9 RID: 1001
1256 // (get) Token: 0x06001C64 RID: 7268 RVA: 0x000021DB File Offset: 0x000003DB
1257 // (set) Token: 0x06001C65 RID: 7269 RVA: 0x000AA0E4 File Offset: 0x000A82E4
1258 public static float grabMapX
1259 {
1260 get
1261 {
1262 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1263 }
1264 set
1265 {
1266 }
1267 }
1268
1269 // Token: 0x170003EA RID: 1002
1270 // (get) Token: 0x06001C66 RID: 7270 RVA: 0x000021DB File Offset: 0x000003DB
1271 // (set) Token: 0x06001C67 RID: 7271 RVA: 0x000AA0F4 File Offset: 0x000A82F4
1272 public static float grabMapY
1273 {
1274 get
1275 {
1276 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1277 }
1278 set
1279 {
1280 }
1281 }
1282
1283 // Token: 0x170003EB RID: 1003
1284 // (get) Token: 0x06001C68 RID: 7272 RVA: 0x000021DB File Offset: 0x000003DB
1285 // (set) Token: 0x06001C69 RID: 7273 RVA: 0x000AA104 File Offset: 0x000A8304
1286 public static float grabMapInitialX
1287 {
1288 get
1289 {
1290 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1291 }
1292 set
1293 {
1294 }
1295 }
1296
1297 // Token: 0x170003EC RID: 1004
1298 // (get) Token: 0x06001C6A RID: 7274 RVA: 0x000021DB File Offset: 0x000003DB
1299 // (set) Token: 0x06001C6B RID: 7275 RVA: 0x000AA114 File Offset: 0x000A8314
1300 public static float grabMapInitialY
1301 {
1302 get
1303 {
1304 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1305 }
1306 set
1307 {
1308 }
1309 }
1310
1311 // Token: 0x170003ED RID: 1005
1312 // (get) Token: 0x06001C6C RID: 7276 RVA: 0x000021DB File Offset: 0x000003DB
1313 // (set) Token: 0x06001C6D RID: 7277 RVA: 0x000AA124 File Offset: 0x000A8324
1314 public static bool grabMapInProgress
1315 {
1316 get
1317 {
1318 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1319 }
1320 set
1321 {
1322 }
1323 }
1324
1325 // Token: 0x170003EE RID: 1006
1326 // (get) Token: 0x06001C6E RID: 7278 RVA: 0x000021DB File Offset: 0x000003DB
1327 // (set) Token: 0x06001C6F RID: 7279 RVA: 0x000AA134 File Offset: 0x000A8334
1328 public static int miniMapX
1329 {
1330 get
1331 {
1332 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1333 }
1334 set
1335 {
1336 }
1337 }
1338
1339 // Token: 0x170003EF RID: 1007
1340 // (get) Token: 0x06001C70 RID: 7280 RVA: 0x000021DB File Offset: 0x000003DB
1341 // (set) Token: 0x06001C71 RID: 7281 RVA: 0x000AA144 File Offset: 0x000A8344
1342 public static int miniMapY
1343 {
1344 get
1345 {
1346 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1347 }
1348 set
1349 {
1350 }
1351 }
1352
1353 // Token: 0x170003F0 RID: 1008
1354 // (get) Token: 0x06001C72 RID: 7282 RVA: 0x000021DB File Offset: 0x000003DB
1355 // (set) Token: 0x06001C73 RID: 7283 RVA: 0x000AA154 File Offset: 0x000A8354
1356 public static int miniMapWidth
1357 {
1358 get
1359 {
1360 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1361 }
1362 set
1363 {
1364 }
1365 }
1366
1367 // Token: 0x170003F1 RID: 1009
1368 // (get) Token: 0x06001C74 RID: 7284 RVA: 0x000021DB File Offset: 0x000003DB
1369 // (set) Token: 0x06001C75 RID: 7285 RVA: 0x000AA164 File Offset: 0x000A8364
1370 public static int miniMapHeight
1371 {
1372 get
1373 {
1374 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1375 }
1376 set
1377 {
1378 }
1379 }
1380
1381 // Token: 0x170003F2 RID: 1010
1382 // (get) Token: 0x06001C76 RID: 7286 RVA: 0x000021DB File Offset: 0x000003DB
1383 // (set) Token: 0x06001C77 RID: 7287 RVA: 0x000AA174 File Offset: 0x000A8374
1384 public static float mapMinimapScale
1385 {
1386 get
1387 {
1388 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1389 }
1390 set
1391 {
1392 }
1393 }
1394
1395 // Token: 0x170003F3 RID: 1011
1396 // (get) Token: 0x06001C78 RID: 7288 RVA: 0x000021DB File Offset: 0x000003DB
1397 // (set) Token: 0x06001C79 RID: 7289 RVA: 0x000AA184 File Offset: 0x000A8384
1398 public static float mapMinimapAlpha
1399 {
1400 get
1401 {
1402 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1403 }
1404 set
1405 {
1406 }
1407 }
1408
1409 // Token: 0x170003F4 RID: 1012
1410 // (get) Token: 0x06001C7A RID: 7290 RVA: 0x000021DB File Offset: 0x000003DB
1411 // (set) Token: 0x06001C7B RID: 7291 RVA: 0x000AA194 File Offset: 0x000A8394
1412 public static float mapOverlayScale
1413 {
1414 get
1415 {
1416 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1417 }
1418 set
1419 {
1420 }
1421 }
1422
1423 // Token: 0x170003F5 RID: 1013
1424 // (get) Token: 0x06001C7C RID: 7292 RVA: 0x000021DB File Offset: 0x000003DB
1425 // (set) Token: 0x06001C7D RID: 7293 RVA: 0x000AA1A4 File Offset: 0x000A83A4
1426 public static float mapOverlayAlpha
1427 {
1428 get
1429 {
1430 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1431 }
1432 set
1433 {
1434 }
1435 }
1436
1437 // Token: 0x170003F6 RID: 1014
1438 // (get) Token: 0x06001C7E RID: 7294 RVA: 0x000021DB File Offset: 0x000003DB
1439 // (set) Token: 0x06001C7F RID: 7295 RVA: 0x000AA1B4 File Offset: 0x000A83B4
1440 public static bool mapFullscreen
1441 {
1442 get
1443 {
1444 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1445 }
1446 set
1447 {
1448 }
1449 }
1450
1451 // Token: 0x170003F7 RID: 1015
1452 // (get) Token: 0x06001C80 RID: 7296 RVA: 0x000021DB File Offset: 0x000003DB
1453 // (set) Token: 0x06001C81 RID: 7297 RVA: 0x000AA1C4 File Offset: 0x000A83C4
1454 public static bool resetMapFull
1455 {
1456 get
1457 {
1458 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1459 }
1460 set
1461 {
1462 }
1463 }
1464
1465 // Token: 0x170003F8 RID: 1016
1466 // (get) Token: 0x06001C82 RID: 7298 RVA: 0x000021DB File Offset: 0x000003DB
1467 // (set) Token: 0x06001C83 RID: 7299 RVA: 0x000AA1D4 File Offset: 0x000A83D4
1468 public static int resetMapFullCharacter
1469 {
1470 get
1471 {
1472 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1473 }
1474 set
1475 {
1476 }
1477 }
1478
1479 // Token: 0x170003F9 RID: 1017
1480 // (get) Token: 0x06001C84 RID: 7300 RVA: 0x000021DB File Offset: 0x000003DB
1481 // (set) Token: 0x06001C85 RID: 7301 RVA: 0x000AA1E4 File Offset: 0x000A83E4
1482 public static float mapFullscreenScale
1483 {
1484 get
1485 {
1486 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1487 }
1488 set
1489 {
1490 }
1491 }
1492
1493 // Token: 0x170003FA RID: 1018
1494 // (get) Token: 0x06001C86 RID: 7302 RVA: 0x000021DB File Offset: 0x000003DB
1495 // (set) Token: 0x06001C87 RID: 7303 RVA: 0x000AA1F4 File Offset: 0x000A83F4
1497 {
1498 get
1499 {
1500 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1501 }
1502 set
1503 {
1504 }
1505 }
1506
1507 // Token: 0x170003FB RID: 1019
1508 // (get) Token: 0x06001C88 RID: 7304 RVA: 0x000021DB File Offset: 0x000003DB
1509 // (set) Token: 0x06001C89 RID: 7305 RVA: 0x000AA204 File Offset: 0x000A8404
1510 public static int renderCount
1511 {
1512 get
1513 {
1514 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1515 }
1516 set
1517 {
1518 }
1519 }
1520
1521 // Token: 0x170003FC RID: 1020
1522 // (get) Token: 0x06001C8A RID: 7306 RVA: 0x000021DB File Offset: 0x000003DB
1523 // (set) Token: 0x06001C8B RID: 7307 RVA: 0x000AA214 File Offset: 0x000A8414
1524 public static Stopwatch saveTime
1525 {
1526 get
1527 {
1528 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1529 }
1530 set
1531 {
1532 }
1533 }
1534
1535 // Token: 0x170003FD RID: 1021
1536 // (get) Token: 0x06001C8C RID: 7308 RVA: 0x000021DB File Offset: 0x000003DB
1537 // (set) Token: 0x06001C8D RID: 7309 RVA: 0x000AA224 File Offset: 0x000A8424
1538 public static float gfxQuality
1539 {
1540 get
1541 {
1542 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1543 }
1544 set
1545 {
1546 }
1547 }
1548
1549 // Token: 0x170003FE RID: 1022
1550 // (get) Token: 0x06001C8E RID: 7310 RVA: 0x000021DB File Offset: 0x000003DB
1551 // (set) Token: 0x06001C8F RID: 7311 RVA: 0x000AA234 File Offset: 0x000A8434
1552 public static float gfxRate
1553 {
1554 get
1555 {
1556 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1557 }
1558 set
1559 {
1560 }
1561 }
1562
1563 // Token: 0x170003FF RID: 1023
1564 // (get) Token: 0x06001C90 RID: 7312 RVA: 0x000021DB File Offset: 0x000003DB
1565 // (set) Token: 0x06001C91 RID: 7313 RVA: 0x000AA244 File Offset: 0x000A8444
1566 public static int teamCooldown
1567 {
1568 get
1569 {
1570 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1571 }
1572 set
1573 {
1574 }
1575 }
1576
1577 // Token: 0x17000400 RID: 1024
1578 // (get) Token: 0x06001C92 RID: 7314 RVA: 0x000021DB File Offset: 0x000003DB
1579 // (set) Token: 0x06001C93 RID: 7315 RVA: 0x000AA254 File Offset: 0x000A8454
1580 public static bool showFrameRate
1581 {
1582 get
1583 {
1584 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1585 }
1586 set
1587 {
1588 }
1589 }
1590
1591 // Token: 0x17000401 RID: 1025
1592 // (get) Token: 0x06001C94 RID: 7316 RVA: 0x000021DB File Offset: 0x000003DB
1593 // (set) Token: 0x06001C95 RID: 7317 RVA: 0x000AA264 File Offset: 0x000A8464
1594 public static bool drewLava
1595 {
1596 get
1597 {
1598 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1599 }
1600 set
1601 {
1602 }
1603 }
1604
1605 // Token: 0x17000402 RID: 1026
1606 // (get) Token: 0x06001C96 RID: 7318 RVA: 0x000021DB File Offset: 0x000003DB
1607 // (set) Token: 0x06001C97 RID: 7319 RVA: 0x000AA274 File Offset: 0x000A8474
1608 public static int numActiveLiquidAlpha
1609 {
1610 get
1611 {
1612 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1613 }
1614 set
1615 {
1616 }
1617 }
1618
1619 // Token: 0x17000403 RID: 1027
1620 // (get) Token: 0x06001C98 RID: 7320 RVA: 0x000021DB File Offset: 0x000003DB
1621 // (set) Token: 0x06001C99 RID: 7321 RVA: 0x000AA284 File Offset: 0x000A8484
1622 public static int[] activeLiquidAlpha
1623 {
1624 get
1625 {
1626 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1627 }
1628 set
1629 {
1630 }
1631 }
1632
1633 // Token: 0x17000404 RID: 1028
1634 // (get) Token: 0x06001C9A RID: 7322 RVA: 0x000021DB File Offset: 0x000003DB
1635 // (set) Token: 0x06001C9B RID: 7323 RVA: 0x000AA294 File Offset: 0x000A8494
1636 public static float[] liquidAlpha
1637 {
1638 get
1639 {
1640 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1641 }
1642 set
1643 {
1644 }
1645 }
1646
1647 // Token: 0x17000405 RID: 1029
1648 // (get) Token: 0x06001C9C RID: 7324 RVA: 0x000021DB File Offset: 0x000003DB
1649 // (set) Token: 0x06001C9D RID: 7325 RVA: 0x000AA2A4 File Offset: 0x000A84A4
1650 public static int waterStyle
1651 {
1652 get
1653 {
1654 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1655 }
1656 set
1657 {
1658 }
1659 }
1660
1661 // Token: 0x17000406 RID: 1030
1662 // (get) Token: 0x06001C9E RID: 7326 RVA: 0x000021DB File Offset: 0x000003DB
1663 // (set) Token: 0x06001C9F RID: 7327 RVA: 0x000AA2B4 File Offset: 0x000A84B4
1664 public static bool TOWMusicUnlocked
1665 {
1666 get
1667 {
1668 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1669 }
1670 set
1671 {
1672 }
1673 }
1674
1675 // Token: 0x17000407 RID: 1031
1676 // (get) Token: 0x06001CA0 RID: 7328 RVA: 0x000021DB File Offset: 0x000003DB
1677 // (set) Token: 0x06001CA1 RID: 7329 RVA: 0x000AA2C4 File Offset: 0x000A84C4
1678 public static float caveParallax
1679 {
1680 get
1681 {
1682 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1683 }
1684 set
1685 {
1686 }
1687 }
1688
1689 // Token: 0x17000408 RID: 1032
1690 // (get) Token: 0x06001CA2 RID: 7330 RVA: 0x000021DB File Offset: 0x000003DB
1691 // (set) Token: 0x06001CA3 RID: 7331 RVA: 0x000AA2D4 File Offset: 0x000A84D4
1692 public static bool showItemText
1693 {
1694 get
1695 {
1696 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1697 }
1698 set
1699 {
1700 }
1701 }
1702
1703 // Token: 0x17000409 RID: 1033
1704 // (get) Token: 0x06001CA4 RID: 7332 RVA: 0x000021DB File Offset: 0x000003DB
1705 // (set) Token: 0x06001CA5 RID: 7333 RVA: 0x000AA2E4 File Offset: 0x000A84E4
1706 public static bool autoSave
1707 {
1708 get
1709 {
1710 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1711 }
1712 set
1713 {
1714 }
1715 }
1716
1717 // Token: 0x1700040A RID: 1034
1718 // (get) Token: 0x06001CA6 RID: 7334 RVA: 0x000021DB File Offset: 0x000003DB
1719 // (set) Token: 0x06001CA7 RID: 7335 RVA: 0x000AA2F4 File Offset: 0x000A84F4
1720 public static int background
1721 {
1722 get
1723 {
1724 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1725 }
1726 set
1727 {
1728 }
1729 }
1730
1731 // Token: 0x1700040B RID: 1035
1732 // (get) Token: 0x06001CA8 RID: 7336 RVA: 0x000021DB File Offset: 0x000003DB
1733 // (set) Token: 0x06001CA9 RID: 7337 RVA: 0x000AA304 File Offset: 0x000A8504
1734 public static int caveBackground
1735 {
1736 get
1737 {
1738 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1739 }
1740 set
1741 {
1742 }
1743 }
1744
1745 // Token: 0x1700040C RID: 1036
1746 // (get) Token: 0x06001CAA RID: 7338 RVA: 0x000021DB File Offset: 0x000003DB
1747 // (set) Token: 0x06001CAB RID: 7339 RVA: 0x000AA314 File Offset: 0x000A8514
1748 public static float ugBackTransition
1749 {
1750 get
1751 {
1752 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1753 }
1754 set
1755 {
1756 }
1757 }
1758
1759 // Token: 0x1700040D RID: 1037
1760 // (get) Token: 0x06001CAC RID: 7340 RVA: 0x000021DB File Offset: 0x000003DB
1761 // (set) Token: 0x06001CAD RID: 7341 RVA: 0x000AA324 File Offset: 0x000A8524
1763 {
1764 get
1765 {
1766 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1767 }
1768 set
1769 {
1770 }
1771 }
1772
1773 // Token: 0x1700040E RID: 1038
1774 // (get) Token: 0x06001CAE RID: 7342 RVA: 0x000021DB File Offset: 0x000003DB
1775 // (set) Token: 0x06001CAF RID: 7343 RVA: 0x000AA334 File Offset: 0x000A8534
1776 public static bool placementPreview
1777 {
1778 get
1779 {
1780 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1781 }
1782 set
1783 {
1784 }
1785 }
1786
1787 // Token: 0x1700040F RID: 1039
1788 // (get) Token: 0x06001CB0 RID: 7344 RVA: 0x000021DB File Offset: 0x000003DB
1789 // (set) Token: 0x06001CB1 RID: 7345 RVA: 0x000AA344 File Offset: 0x000A8544
1791 {
1792 get
1793 {
1794 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1795 }
1796 set
1797 {
1798 }
1799 }
1800
1801 // Token: 0x17000410 RID: 1040
1802 // (get) Token: 0x06001CB2 RID: 7346 RVA: 0x000021DB File Offset: 0x000003DB
1803 // (set) Token: 0x06001CB3 RID: 7347 RVA: 0x000AA354 File Offset: 0x000A8554
1805 {
1806 get
1807 {
1808 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1809 }
1810 set
1811 {
1812 }
1813 }
1814
1815 // Token: 0x17000411 RID: 1041
1816 // (get) Token: 0x06001CB4 RID: 7348 RVA: 0x000021DB File Offset: 0x000003DB
1817 // (set) Token: 0x06001CB5 RID: 7349 RVA: 0x000AA364 File Offset: 0x000A8564
1818 public static float GraveyardVisualIntensity
1819 {
1820 get
1821 {
1822 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1823 }
1824 set
1825 {
1826 }
1827 }
1828
1829 // Token: 0x17000412 RID: 1042
1830 // (get) Token: 0x06001CB6 RID: 7350 RVA: 0x000021DB File Offset: 0x000003DB
1831 // (set) Token: 0x06001CB7 RID: 7351 RVA: 0x000AA374 File Offset: 0x000A8574
1832 public static float musicVolume
1833 {
1834 get
1835 {
1836 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1837 }
1838 set
1839 {
1840 }
1841 }
1842
1843 // Token: 0x17000413 RID: 1043
1844 // (get) Token: 0x06001CB8 RID: 7352 RVA: 0x000021DB File Offset: 0x000003DB
1845 // (set) Token: 0x06001CB9 RID: 7353 RVA: 0x000AA384 File Offset: 0x000A8584
1846 public static float ambientVolume
1847 {
1848 get
1849 {
1850 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1851 }
1852 set
1853 {
1854 }
1855 }
1856
1857 // Token: 0x17000414 RID: 1044
1858 // (get) Token: 0x06001CBA RID: 7354 RVA: 0x000021DB File Offset: 0x000003DB
1859 // (set) Token: 0x06001CBB RID: 7355 RVA: 0x000AA394 File Offset: 0x000A8594
1860 public static float soundVolume
1861 {
1862 get
1863 {
1864 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1865 }
1866 set
1867 {
1868 }
1869 }
1870
1871 // Token: 0x17000415 RID: 1045
1872 // (get) Token: 0x06001CBC RID: 7356 RVA: 0x000021DB File Offset: 0x000003DB
1873 // (set) Token: 0x06001CBD RID: 7357 RVA: 0x000AA3A4 File Offset: 0x000A85A4
1874 public static WorldMap Map
1875 {
1876 get
1877 {
1878 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1879 }
1880 set
1881 {
1882 }
1883 }
1884
1885 // Token: 0x17000416 RID: 1046
1886 // (get) Token: 0x06001CBE RID: 7358 RVA: 0x000021DB File Offset: 0x000003DB
1887 // (set) Token: 0x06001CBF RID: 7359 RVA: 0x000AA3B4 File Offset: 0x000A85B4
1888 public static Rain[] rain
1889 {
1890 get
1891 {
1892 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1893 }
1894 set
1895 {
1896 }
1897 }
1898
1899 // Token: 0x17000417 RID: 1047
1900 // (get) Token: 0x06001CC0 RID: 7360 RVA: 0x000021DB File Offset: 0x000003DB
1901 // (set) Token: 0x06001CC1 RID: 7361 RVA: 0x000AA3C4 File Offset: 0x000A85C4
1902 public static PopupText[] popupText
1903 {
1904 get
1905 {
1906 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1907 }
1908 set
1909 {
1910 }
1911 }
1912
1913 // Token: 0x17000418 RID: 1048
1914 // (get) Token: 0x06001CC2 RID: 7362 RVA: 0x000021DB File Offset: 0x000003DB
1915 // (set) Token: 0x06001CC3 RID: 7363 RVA: 0x000AA3D4 File Offset: 0x000A85D4
1916 public static float startScreenYOffset
1917 {
1918 get
1919 {
1920 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1921 }
1922 set
1923 {
1924 }
1925 }
1926
1927 // Token: 0x17000419 RID: 1049
1928 // (get) Token: 0x06001CC4 RID: 7364 RVA: 0x000021DB File Offset: 0x000003DB
1929 // (set) Token: 0x06001CC5 RID: 7365 RVA: 0x000AA3E4 File Offset: 0x000A85E4
1930 public static float targetScreenYOffset
1931 {
1932 get
1933 {
1934 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1935 }
1936 set
1937 {
1938 }
1939 }
1940
1941 // Token: 0x1700041A RID: 1050
1942 // (get) Token: 0x06001CC6 RID: 7366 RVA: 0x000021DB File Offset: 0x000003DB
1943 // (set) Token: 0x06001CC7 RID: 7367 RVA: 0x000AA3F4 File Offset: 0x000A85F4
1944 public static float screenYOffset
1945 {
1946 get
1947 {
1948 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1949 }
1950 set
1951 {
1952 }
1953 }
1954
1955 // Token: 0x1700041B RID: 1051
1956 // (get) Token: 0x06001CC8 RID: 7368 RVA: 0x000021DB File Offset: 0x000003DB
1957 // (set) Token: 0x06001CC9 RID: 7369 RVA: 0x000AA404 File Offset: 0x000A8604
1958 public static float cameraOffset
1959 {
1960 get
1961 {
1962 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1963 }
1964 set
1965 {
1966 }
1967 }
1968
1969 // Token: 0x1700041C RID: 1052
1970 // (get) Token: 0x06001CCA RID: 7370 RVA: 0x000021DB File Offset: 0x000003DB
1971 // (set) Token: 0x06001CCB RID: 7371 RVA: 0x000AA414 File Offset: 0x000A8614
1973 {
1974 get
1975 {
1976 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1977 }
1978 set
1979 {
1980 }
1981 }
1982
1983 // Token: 0x1700041D RID: 1053
1984 // (get) Token: 0x06001CCC RID: 7372 RVA: 0x000021DB File Offset: 0x000003DB
1985 // (set) Token: 0x06001CCD RID: 7373 RVA: 0x000AA424 File Offset: 0x000A8624
1987 {
1988 get
1989 {
1990 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1991 }
1992 set
1993 {
1994 }
1995 }
1996
1997 // Token: 0x1700041E RID: 1054
1998 // (get) Token: 0x06001CCE RID: 7374 RVA: 0x000021DB File Offset: 0x000003DB
1999 // (set) Token: 0x06001CCF RID: 7375 RVA: 0x000AA434 File Offset: 0x000A8634
2000 public static int screenWidth
2001 {
2002 get
2003 {
2004 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2005 }
2006 set
2007 {
2008 }
2009 }
2010
2011 // Token: 0x1700041F RID: 1055
2012 // (get) Token: 0x06001CD0 RID: 7376 RVA: 0x000021DB File Offset: 0x000003DB
2013 // (set) Token: 0x06001CD1 RID: 7377 RVA: 0x000AA444 File Offset: 0x000A8644
2014 public static int screenHeight
2015 {
2016 get
2017 {
2018 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2019 }
2020 set
2021 {
2022 }
2023 }
2024
2025 // Token: 0x17000420 RID: 1056
2026 // (get) Token: 0x06001CD2 RID: 7378 RVA: 0x000021DB File Offset: 0x000003DB
2027 // (set) Token: 0x06001CD3 RID: 7379 RVA: 0x000AA454 File Offset: 0x000A8654
2028 public static bool mouseLeftRelease
2029 {
2030 get
2031 {
2032 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2033 }
2034 set
2035 {
2036 }
2037 }
2038
2039 // Token: 0x17000421 RID: 1057
2040 // (get) Token: 0x06001CD4 RID: 7380 RVA: 0x000021DB File Offset: 0x000003DB
2041 // (set) Token: 0x06001CD5 RID: 7381 RVA: 0x000AA464 File Offset: 0x000A8664
2042 public static bool mouseRightRelease
2043 {
2044 get
2045 {
2046 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2047 }
2048 set
2049 {
2050 }
2051 }
2052
2053 // Token: 0x17000422 RID: 1058
2054 // (get) Token: 0x06001CD6 RID: 7382 RVA: 0x000021DB File Offset: 0x000003DB
2055 // (set) Token: 0x06001CD7 RID: 7383 RVA: 0x000AA474 File Offset: 0x000A8674
2056 public static bool playerInventory
2057 {
2058 get
2059 {
2060 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2061 }
2062 set
2063 {
2064 }
2065 }
2066
2067 // Token: 0x17000423 RID: 1059
2068 // (get) Token: 0x06001CD8 RID: 7384 RVA: 0x000021DB File Offset: 0x000003DB
2069 // (set) Token: 0x06001CD9 RID: 7385 RVA: 0x000AA484 File Offset: 0x000A8684
2070 public static int stackSplit
2071 {
2072 get
2073 {
2074 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2075 }
2076 set
2077 {
2078 }
2079 }
2080
2081 // Token: 0x17000424 RID: 1060
2082 // (get) Token: 0x06001CDA RID: 7386 RVA: 0x000021DB File Offset: 0x000003DB
2083 // (set) Token: 0x06001CDB RID: 7387 RVA: 0x000AA494 File Offset: 0x000A8694
2084 public static bool preventStackSplitReset
2085 {
2086 get
2087 {
2088 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2089 }
2090 set
2091 {
2092 }
2093 }
2094
2095 // Token: 0x17000425 RID: 1061
2096 // (get) Token: 0x06001CDC RID: 7388 RVA: 0x000021DB File Offset: 0x000003DB
2097 // (set) Token: 0x06001CDD RID: 7389 RVA: 0x000AA4A4 File Offset: 0x000A86A4
2098 public static int stackCounter
2099 {
2100 get
2101 {
2102 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2103 }
2104 set
2105 {
2106 }
2107 }
2108
2109 // Token: 0x17000426 RID: 1062
2110 // (get) Token: 0x06001CDE RID: 7390 RVA: 0x000021DB File Offset: 0x000003DB
2111 // (set) Token: 0x06001CDF RID: 7391 RVA: 0x000AA4B4 File Offset: 0x000A86B4
2112 public static int stackDelay
2113 {
2114 get
2115 {
2116 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2117 }
2118 set
2119 {
2120 }
2121 }
2122
2123 // Token: 0x17000427 RID: 1063
2124 // (get) Token: 0x06001CE0 RID: 7392 RVA: 0x000021DB File Offset: 0x000003DB
2125 // (set) Token: 0x06001CE1 RID: 7393 RVA: 0x000AA4C4 File Offset: 0x000A86C4
2126 public static int superFastStack
2127 {
2128 get
2129 {
2130 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2131 }
2132 set
2133 {
2134 }
2135 }
2136
2137 // Token: 0x17000428 RID: 1064
2138 // (get) Token: 0x06001CE2 RID: 7394 RVA: 0x000021DB File Offset: 0x000003DB
2139 // (set) Token: 0x06001CE3 RID: 7395 RVA: 0x000AA4D4 File Offset: 0x000A86D4
2140 public static int timesTriedToFastStack
2141 {
2142 get
2143 {
2144 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2145 }
2146 set
2147 {
2148 }
2149 }
2150
2151 // Token: 0x17000429 RID: 1065
2152 // (get) Token: 0x06001CE4 RID: 7396 RVA: 0x000021DB File Offset: 0x000003DB
2153 // (set) Token: 0x06001CE5 RID: 7397 RVA: 0x000AA4E4 File Offset: 0x000A86E4
2154 public static Item mouseItem
2155 {
2156 get
2157 {
2158 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2159 }
2160 set
2161 {
2162 }
2163 }
2164
2165 // Token: 0x1700042A RID: 1066
2166 // (get) Token: 0x06001CE6 RID: 7398 RVA: 0x000021DB File Offset: 0x000003DB
2167 // (set) Token: 0x06001CE7 RID: 7399 RVA: 0x000AA4F4 File Offset: 0x000A86F4
2168 public static float mouseItemTime
2169 {
2170 get
2171 {
2172 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2173 }
2174 set
2175 {
2176 }
2177 }
2178
2179 // Token: 0x1700042B RID: 1067
2180 // (get) Token: 0x06001CE8 RID: 7400 RVA: 0x000021DB File Offset: 0x000003DB
2181 // (set) Token: 0x06001CE9 RID: 7401 RVA: 0x000AA504 File Offset: 0x000A8704
2182 public static Item[] mouseItemSource
2183 {
2184 get
2185 {
2186 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2187 }
2188 set
2189 {
2190 }
2191 }
2192
2193 // Token: 0x1700042C RID: 1068
2194 // (get) Token: 0x06001CEA RID: 7402 RVA: 0x000021DB File Offset: 0x000003DB
2195 // (set) Token: 0x06001CEB RID: 7403 RVA: 0x000AA514 File Offset: 0x000A8714
2196 public static int mouseItemSourceIndex
2197 {
2198 get
2199 {
2200 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2201 }
2202 set
2203 {
2204 }
2205 }
2206
2207 // Token: 0x1700042D RID: 1069
2208 // (get) Token: 0x06001CEC RID: 7404 RVA: 0x000021DB File Offset: 0x000003DB
2209 // (set) Token: 0x06001CED RID: 7405 RVA: 0x000AA524 File Offset: 0x000A8724
2210 public static int mouseItemSourceContext
2211 {
2212 get
2213 {
2214 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2215 }
2216 set
2217 {
2218 }
2219 }
2220
2221 // Token: 0x1700042E RID: 1070
2222 // (get) Token: 0x06001CEE RID: 7406 RVA: 0x000021DB File Offset: 0x000003DB
2223 // (set) Token: 0x06001CEF RID: 7407 RVA: 0x000AA534 File Offset: 0x000A8734
2224 public static Item guideItem
2225 {
2226 get
2227 {
2228 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2229 }
2230 set
2231 {
2232 }
2233 }
2234
2235 // Token: 0x1700042F RID: 1071
2236 // (get) Token: 0x06001CF0 RID: 7408 RVA: 0x000021DB File Offset: 0x000003DB
2237 // (set) Token: 0x06001CF1 RID: 7409 RVA: 0x000AA544 File Offset: 0x000A8744
2238 public static Item reforgeItem
2239 {
2240 get
2241 {
2242 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2243 }
2244 set
2245 {
2246 }
2247 }
2248
2249 // Token: 0x17000430 RID: 1072
2250 // (get) Token: 0x06001CF2 RID: 7410 RVA: 0x000021DB File Offset: 0x000003DB
2251 // (set) Token: 0x06001CF3 RID: 7411 RVA: 0x000AA554 File Offset: 0x000A8754
2252 public static float inventoryScale
2253 {
2254 get
2255 {
2256 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2257 }
2258 set
2259 {
2260 }
2261 }
2262
2263 // Token: 0x17000431 RID: 1073
2264 // (get) Token: 0x06001CF4 RID: 7412 RVA: 0x000021DB File Offset: 0x000003DB
2265 // (set) Token: 0x06001CF5 RID: 7413 RVA: 0x000AA564 File Offset: 0x000A8764
2267 {
2268 get
2269 {
2270 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2271 }
2272 set
2273 {
2274 }
2275 }
2276
2277 // Token: 0x17000432 RID: 1074
2278 // (get) Token: 0x06001CF6 RID: 7414 RVA: 0x000021DB File Offset: 0x000003DB
2279 // (set) Token: 0x06001CF7 RID: 7415 RVA: 0x000AA574 File Offset: 0x000A8774
2280 public static int[] availableRecipe
2281 {
2282 get
2283 {
2284 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2285 }
2286 set
2287 {
2288 }
2289 }
2290
2291 // Token: 0x17000433 RID: 1075
2292 // (get) Token: 0x06001CF8 RID: 7416 RVA: 0x000021DB File Offset: 0x000003DB
2293 // (set) Token: 0x06001CF9 RID: 7417 RVA: 0x000AA584 File Offset: 0x000A8784
2294 public static int lastRecipeUpdateId
2295 {
2296 get
2297 {
2298 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2299 }
2300 set
2301 {
2302 }
2303 }
2304
2305 // Token: 0x17000434 RID: 1076
2306 // (get) Token: 0x06001CFA RID: 7418 RVA: 0x000021DB File Offset: 0x000003DB
2307 // (set) Token: 0x06001CFB RID: 7419 RVA: 0x000AA594 File Offset: 0x000A8794
2308 public static int numAvailableRecipes
2309 {
2310 get
2311 {
2312 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2313 }
2314 set
2315 {
2316 }
2317 }
2318
2319 // Token: 0x17000435 RID: 1077
2320 // (get) Token: 0x06001CFC RID: 7420 RVA: 0x000021DB File Offset: 0x000003DB
2321 // (set) Token: 0x06001CFD RID: 7421 RVA: 0x000AA5A4 File Offset: 0x000A87A4
2322 public static int focusRecipe
2323 {
2324 get
2325 {
2326 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2327 }
2328 set
2329 {
2330 }
2331 }
2332
2333 // Token: 0x17000436 RID: 1078
2334 // (get) Token: 0x06001CFE RID: 7422 RVA: 0x000021DB File Offset: 0x000003DB
2335 // (set) Token: 0x06001CFF RID: 7423 RVA: 0x000AA5B4 File Offset: 0x000A87B4
2336 public static int myPlayer
2337 {
2338 get
2339 {
2340 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2341 }
2342 set
2343 {
2344 }
2345 }
2346
2347 // Token: 0x17000437 RID: 1079
2348 // (get) Token: 0x06001D00 RID: 7424 RVA: 0x000021DB File Offset: 0x000003DB
2349 // (set) Token: 0x06001D01 RID: 7425 RVA: 0x000AA5C4 File Offset: 0x000A87C4
2350 public static int spawnTileX
2351 {
2352 get
2353 {
2354 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2355 }
2356 set
2357 {
2358 }
2359 }
2360
2361 // Token: 0x17000438 RID: 1080
2362 // (get) Token: 0x06001D02 RID: 7426 RVA: 0x000021DB File Offset: 0x000003DB
2363 // (set) Token: 0x06001D03 RID: 7427 RVA: 0x000AA5D4 File Offset: 0x000A87D4
2364 public static int spawnTileY
2365 {
2366 get
2367 {
2368 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2369 }
2370 set
2371 {
2372 }
2373 }
2374
2375 // Token: 0x17000439 RID: 1081
2376 // (get) Token: 0x06001D04 RID: 7428 RVA: 0x000021DB File Offset: 0x000003DB
2377 // (set) Token: 0x06001D05 RID: 7429 RVA: 0x000AA5E4 File Offset: 0x000A87E4
2378 public static bool npcChatRelease
2379 {
2380 get
2381 {
2382 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2383 }
2384 set
2385 {
2386 }
2387 }
2388
2389 // Token: 0x1700043A RID: 1082
2390 // (get) Token: 0x06001D06 RID: 7430 RVA: 0x000021DB File Offset: 0x000003DB
2391 // (set) Token: 0x06001D07 RID: 7431 RVA: 0x000AA5F4 File Offset: 0x000A87F4
2392 public static bool editSign
2393 {
2394 get
2395 {
2396 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2397 }
2398 set
2399 {
2400 }
2401 }
2402
2403 // Token: 0x1700043B RID: 1083
2404 // (get) Token: 0x06001D08 RID: 7432 RVA: 0x000021DB File Offset: 0x000003DB
2405 // (set) Token: 0x06001D09 RID: 7433 RVA: 0x000AA604 File Offset: 0x000A8804
2406 public static bool editChest
2407 {
2408 get
2409 {
2410 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2411 }
2412 set
2413 {
2414 }
2415 }
2416
2417 // Token: 0x1700043C RID: 1084
2418 // (get) Token: 0x06001D0A RID: 7434 RVA: 0x000021DB File Offset: 0x000003DB
2419 // (set) Token: 0x06001D0B RID: 7435 RVA: 0x000AA614 File Offset: 0x000A8814
2420 public static bool blockInput
2421 {
2422 get
2423 {
2424 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2425 }
2426 set
2427 {
2428 }
2429 }
2430
2431 // Token: 0x1700043D RID: 1085
2432 // (get) Token: 0x06001D0C RID: 7436 RVA: 0x000021DB File Offset: 0x000003DB
2433 // (set) Token: 0x06001D0D RID: 7437 RVA: 0x000AA624 File Offset: 0x000A8824
2434 public static string blockKey
2435 {
2436 get
2437 {
2438 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2439 }
2440 set
2441 {
2442 }
2443 }
2444
2445 // Token: 0x1700043E RID: 1086
2446 // (get) Token: 0x06001D0E RID: 7438 RVA: 0x000021DB File Offset: 0x000003DB
2447 // (set) Token: 0x06001D0F RID: 7439 RVA: 0x000AA634 File Offset: 0x000A8834
2448 public static string defaultChestName
2449 {
2450 get
2451 {
2452 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2453 }
2454 set
2455 {
2456 }
2457 }
2458
2459 // Token: 0x1700043F RID: 1087
2460 // (get) Token: 0x06001D10 RID: 7440 RVA: 0x000021DB File Offset: 0x000003DB
2461 // (set) Token: 0x06001D11 RID: 7441 RVA: 0x000AA644 File Offset: 0x000A8844
2462 public static string npcChatText
2463 {
2464 get
2465 {
2466 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2467 }
2468 set
2469 {
2470 }
2471 }
2472
2473 // Token: 0x17000440 RID: 1088
2474 // (get) Token: 0x06001D12 RID: 7442 RVA: 0x000021DB File Offset: 0x000003DB
2475 // (set) Token: 0x06001D13 RID: 7443 RVA: 0x000AA654 File Offset: 0x000A8854
2476 public static bool npcChatFocus1
2477 {
2478 get
2479 {
2480 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2481 }
2482 set
2483 {
2484 }
2485 }
2486
2487 // Token: 0x17000441 RID: 1089
2488 // (get) Token: 0x06001D14 RID: 7444 RVA: 0x000021DB File Offset: 0x000003DB
2489 // (set) Token: 0x06001D15 RID: 7445 RVA: 0x000AA664 File Offset: 0x000A8864
2490 public static bool npcChatFocus2
2491 {
2492 get
2493 {
2494 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2495 }
2496 set
2497 {
2498 }
2499 }
2500
2501 // Token: 0x17000442 RID: 1090
2502 // (get) Token: 0x06001D16 RID: 7446 RVA: 0x000021DB File Offset: 0x000003DB
2503 // (set) Token: 0x06001D17 RID: 7447 RVA: 0x000AA674 File Offset: 0x000A8874
2504 public static bool npcChatFocus3
2505 {
2506 get
2507 {
2508 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2509 }
2510 set
2511 {
2512 }
2513 }
2514
2515 // Token: 0x17000443 RID: 1091
2516 // (get) Token: 0x06001D18 RID: 7448 RVA: 0x000021DB File Offset: 0x000003DB
2517 // (set) Token: 0x06001D19 RID: 7449 RVA: 0x000AA684 File Offset: 0x000A8884
2518 public static bool npcChatFocus4
2519 {
2520 get
2521 {
2522 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2523 }
2524 set
2525 {
2526 }
2527 }
2528
2529 // Token: 0x17000444 RID: 1092
2530 // (get) Token: 0x06001D1A RID: 7450 RVA: 0x000021DB File Offset: 0x000003DB
2531 // (set) Token: 0x06001D1B RID: 7451 RVA: 0x000AA694 File Offset: 0x000A8894
2532 public static int oldNPCShop
2533 {
2534 get
2535 {
2536 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2537 }
2538 set
2539 {
2540 }
2541 }
2542
2543 // Token: 0x17000445 RID: 1093
2544 // (get) Token: 0x06001D1C RID: 7452 RVA: 0x000021DB File Offset: 0x000003DB
2545 // (set) Token: 0x06001D1D RID: 7453 RVA: 0x000AA6A4 File Offset: 0x000A88A4
2546 public static int npcShop
2547 {
2548 get
2549 {
2550 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2551 }
2552 set
2553 {
2554 }
2555 }
2556
2557 // Token: 0x17000446 RID: 1094
2558 // (get) Token: 0x06001D1E RID: 7454 RVA: 0x000021DB File Offset: 0x000003DB
2559 // (set) Token: 0x06001D1F RID: 7455 RVA: 0x000AA6B4 File Offset: 0x000A88B4
2560 public static int npcChatCornerItem
2561 {
2562 get
2563 {
2564 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2565 }
2566 set
2567 {
2568 }
2569 }
2570
2571 // Token: 0x17000447 RID: 1095
2572 // (get) Token: 0x06001D20 RID: 7456 RVA: 0x000021DB File Offset: 0x000003DB
2573 // (set) Token: 0x06001D21 RID: 7457 RVA: 0x000AA6C4 File Offset: 0x000A88C4
2574 public Chest[] shop
2575 {
2576 get
2577 {
2578 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2579 }
2580 set
2581 {
2582 }
2583 }
2584
2585 // Token: 0x17000448 RID: 1096
2586 // (get) Token: 0x06001D22 RID: 7458 RVA: 0x000021DB File Offset: 0x000003DB
2587 // (set) Token: 0x06001D23 RID: 7459 RVA: 0x000AA6D4 File Offset: 0x000A88D4
2589 {
2590 get
2591 {
2592 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2593 }
2594 set
2595 {
2596 }
2597 }
2598
2599 // Token: 0x17000449 RID: 1097
2600 // (get) Token: 0x06001D24 RID: 7460 RVA: 0x000021DB File Offset: 0x000003DB
2601 // (set) Token: 0x06001D25 RID: 7461 RVA: 0x000AA6E4 File Offset: 0x000A88E4
2602 public static bool anglerQuestFinished
2603 {
2604 get
2605 {
2606 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2607 }
2608 set
2609 {
2610 }
2611 }
2612
2613 // Token: 0x1700044A RID: 1098
2614 // (get) Token: 0x06001D26 RID: 7462 RVA: 0x000021DB File Offset: 0x000003DB
2615 // (set) Token: 0x06001D27 RID: 7463 RVA: 0x000AA6F4 File Offset: 0x000A88F4
2617 {
2618 get
2619 {
2620 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2621 }
2622 set
2623 {
2624 }
2625 }
2626
2627 // Token: 0x1700044B RID: 1099
2628 // (get) Token: 0x06001D28 RID: 7464 RVA: 0x000021DB File Offset: 0x000003DB
2629 // (set) Token: 0x06001D29 RID: 7465 RVA: 0x000AA704 File Offset: 0x000A8904
2631 {
2632 get
2633 {
2634 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2635 }
2636 set
2637 {
2638 }
2639 }
2640
2641 // Token: 0x1700044C RID: 1100
2642 // (get) Token: 0x06001D2A RID: 7466 RVA: 0x000021DB File Offset: 0x000003DB
2643 // (set) Token: 0x06001D2B RID: 7467 RVA: 0x000AA714 File Offset: 0x000A8914
2644 public static bool InGuideCraftMenu
2645 {
2646 get
2647 {
2648 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2649 }
2650 set
2651 {
2652 }
2653 }
2654
2655 // Token: 0x1700044D RID: 1101
2656 // (get) Token: 0x06001D2C RID: 7468 RVA: 0x000021DB File Offset: 0x000003DB
2657 // (set) Token: 0x06001D2D RID: 7469 RVA: 0x000AA724 File Offset: 0x000A8924
2658 public static bool InReforgeMenu
2659 {
2660 get
2661 {
2662 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2663 }
2664 set
2665 {
2666 }
2667 }
2668
2669 // Token: 0x1700044E RID: 1102
2670 // (get) Token: 0x06001D2E RID: 7470 RVA: 0x000021DB File Offset: 0x000003DB
2671 // (set) Token: 0x06001D2F RID: 7471 RVA: 0x000AA734 File Offset: 0x000A8934
2672 public static bool gameMenu
2673 {
2674 get
2675 {
2676 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2677 }
2678 set
2679 {
2680 }
2681 }
2682
2683 // Token: 0x1700044F RID: 1103
2684 // (get) Token: 0x06001D30 RID: 7472 RVA: 0x000021DB File Offset: 0x000003DB
2685 // (set) Token: 0x06001D31 RID: 7473 RVA: 0x000AA744 File Offset: 0x000A8944
2687 {
2688 get
2689 {
2690 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2691 }
2692 set
2693 {
2694 }
2695 }
2696
2697 // Token: 0x17000450 RID: 1104
2698 // (get) Token: 0x06001D32 RID: 7474 RVA: 0x000021DB File Offset: 0x000003DB
2699 // (set) Token: 0x06001D33 RID: 7475 RVA: 0x000AA754 File Offset: 0x000A8954
2701 {
2702 get
2703 {
2704 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2705 }
2706 set
2707 {
2708 }
2709 }
2710
2711 // Token: 0x17000451 RID: 1105
2712 // (get) Token: 0x06001D34 RID: 7476 RVA: 0x000021DB File Offset: 0x000003DB
2713 // (set) Token: 0x06001D35 RID: 7477 RVA: 0x000AA764 File Offset: 0x000A8964
2714 public static Player PendingPlayer
2715 {
2716 get
2717 {
2718 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2719 }
2720 set
2721 {
2722 }
2723 }
2724
2725 // Token: 0x17000452 RID: 1106
2726 // (get) Token: 0x06001D36 RID: 7478 RVA: 0x000AA774 File Offset: 0x000A8974
2727 public static string WorldPath
2728 {
2729 get
2730 {
2731 if (!true)
2732 {
2733 }
2734 return Path.Combine(Main.SavePath, "Worlds");
2735 }
2736 }
2737
2738 // Token: 0x17000453 RID: 1107
2739 // (get) Token: 0x06001D37 RID: 7479 RVA: 0x000AA794 File Offset: 0x000A8994
2740 public static string PlayerPath
2741 {
2742 get
2743 {
2744 if (!true)
2745 {
2746 }
2747 return Path.Combine(Main.SavePath, "Players");
2748 }
2749 }
2750
2751 // Token: 0x17000454 RID: 1108
2752 // (get) Token: 0x06001D38 RID: 7480 RVA: 0x000AA7B4 File Offset: 0x000A89B4
2753 public static string OldPlayerPath
2754 {
2755 get
2756 {
2757 /*
2758An exception occurred when decompiling this method (06001D38)
2759
2760ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String Terraria.Main::get_OldPlayerPath()
2761
2762 ---> System.Exception: Basic block has to end with unconditional control flow.
2763{
2764 Block_0:
2765 stloc:string(var_0_0F, call:string(string::Concat, callgetter:string(Main::get_OldSavePath), ldstr:string("/Players")))
2766}
2767
2768 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
2769 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
2770 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
2771 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
2772 --- End of inner exception stack trace ---
2773 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
2774 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
2775*/;
2776 }
2777 }
2778
2779 // Token: 0x17000455 RID: 1109
2780 // (get) Token: 0x06001D39 RID: 7481 RVA: 0x000AA7D0 File Offset: 0x000A89D0
2781 public static string OldWorldPath
2782 {
2783 get
2784 {
2785 /*
2786An exception occurred when decompiling this method (06001D39)
2787
2788ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String Terraria.Main::get_OldWorldPath()
2789
2790 ---> System.Exception: Basic block has to end with unconditional control flow.
2791{
2792 Block_0:
2793 stloc:string(var_0_0F, call:string(string::Concat, callgetter:string(Main::get_OldSavePath), ldstr:string("/Worlds")))
2794}
2795
2796 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
2797 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
2798 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
2799 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
2800 --- End of inner exception stack trace ---
2801 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
2802 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
2803*/;
2804 }
2805 }
2806
2807 // Token: 0x17000456 RID: 1110
2808 // (get) Token: 0x06001D3A RID: 7482 RVA: 0x000021DB File Offset: 0x000003DB
2809 // (set) Token: 0x06001D3B RID: 7483 RVA: 0x000AA7EC File Offset: 0x000A89EC
2811 {
2812 get
2813 {
2814 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2815 }
2816 set
2817 {
2818 }
2819 }
2820
2821 // Token: 0x17000457 RID: 1111
2822 // (get) Token: 0x06001D3C RID: 7484 RVA: 0x000AA7FC File Offset: 0x000A89FC
2823 public static Preferences Configuration
2824 {
2825 get
2826 {
2827 if (!true)
2828 {
2829 }
2830 if (Main._configuration == null)
2831 {
2832 if (!true)
2833 {
2834 }
2835 string text2;
2836 string text = Main.SavePath + text2 + "config.json";
2837 }
2838 return Main._configuration;
2839 }
2840 }
2841
2842 // Token: 0x17000458 RID: 1112
2843 // (get) Token: 0x06001D3D RID: 7485 RVA: 0x000021DB File Offset: 0x000003DB
2844 // (set) Token: 0x06001D3E RID: 7486 RVA: 0x000AA830 File Offset: 0x000A8A30
2846 {
2847 get
2848 {
2849 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2850 }
2851 set
2852 {
2853 }
2854 }
2855
2856 // Token: 0x17000459 RID: 1113
2857 // (get) Token: 0x06001D3F RID: 7487 RVA: 0x000AA840 File Offset: 0x000A8A40
2859 {
2860 get
2861 {
2862 if (!true)
2863 {
2864 }
2865 if (Main._inputProfiles == null)
2866 {
2867 if (!true)
2868 {
2869 }
2870 string text2;
2871 string text = Main.SavePath + text2 + "input profiles.json";
2872 }
2873 return Main._inputProfiles;
2874 }
2875 }
2876
2877 // Token: 0x1700045A RID: 1114
2878 // (get) Token: 0x06001D40 RID: 7488 RVA: 0x000021DB File Offset: 0x000003DB
2879 // (set) Token: 0x06001D41 RID: 7489 RVA: 0x000AA874 File Offset: 0x000A8A74
2881 {
2882 get
2883 {
2884 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2885 }
2886 set
2887 {
2888 }
2889 }
2890
2891 // Token: 0x1700045B RID: 1115
2892 // (get) Token: 0x06001D42 RID: 7490 RVA: 0x000021DB File Offset: 0x000003DB
2893 // (set) Token: 0x06001D43 RID: 7491 RVA: 0x000AA884 File Offset: 0x000A8A84
2894 public static int invasionProgressMode
2895 {
2896 get
2897 {
2898 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2899 }
2900 set
2901 {
2902 }
2903 }
2904
2905 // Token: 0x1700045C RID: 1116
2906 // (get) Token: 0x06001D44 RID: 7492 RVA: 0x000021DB File Offset: 0x000003DB
2907 // (set) Token: 0x06001D45 RID: 7493 RVA: 0x000AA894 File Offset: 0x000A8A94
2909 {
2910 get
2911 {
2912 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2913 }
2914 set
2915 {
2916 }
2917 }
2918
2919 // Token: 0x1700045D RID: 1117
2920 // (get) Token: 0x06001D46 RID: 7494 RVA: 0x000021DB File Offset: 0x000003DB
2921 // (set) Token: 0x06001D47 RID: 7495 RVA: 0x000AA8A4 File Offset: 0x000A8AA4
2922 public static bool SmartCursorShowing
2923 {
2924 get
2925 {
2926 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2927 }
2928 set
2929 {
2930 }
2931 }
2932
2933 // Token: 0x1700045E RID: 1118
2934 // (get) Token: 0x06001D48 RID: 7496 RVA: 0x000021DB File Offset: 0x000003DB
2935 // (set) Token: 0x06001D49 RID: 7497 RVA: 0x000AA8B4 File Offset: 0x000A8AB4
2936 public static int SmartCursorX
2937 {
2938 get
2939 {
2940 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2941 }
2942 set
2943 {
2944 }
2945 }
2946
2947 // Token: 0x1700045F RID: 1119
2948 // (get) Token: 0x06001D4A RID: 7498 RVA: 0x000021DB File Offset: 0x000003DB
2949 // (set) Token: 0x06001D4B RID: 7499 RVA: 0x000AA8C4 File Offset: 0x000A8AC4
2950 public static int SmartCursorY
2951 {
2952 get
2953 {
2954 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2955 }
2956 set
2957 {
2958 }
2959 }
2960
2961 // Token: 0x17000460 RID: 1120
2962 // (get) Token: 0x06001D4C RID: 7500 RVA: 0x000021DB File Offset: 0x000003DB
2963 // (set) Token: 0x06001D4D RID: 7501 RVA: 0x000AA8D4 File Offset: 0x000A8AD4
2965 {
2966 get
2967 {
2968 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2969 }
2970 set
2971 {
2972 }
2973 }
2974
2975 // Token: 0x17000461 RID: 1121
2976 // (get) Token: 0x06001D4E RID: 7502 RVA: 0x000021DB File Offset: 0x000003DB
2977 // (set) Token: 0x06001D4F RID: 7503 RVA: 0x000AA8E4 File Offset: 0x000A8AE4
2978 public static bool SmartInteractShowingFake
2979 {
2980 get
2981 {
2982 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2983 }
2984 set
2985 {
2986 }
2987 }
2988
2989 // Token: 0x17000462 RID: 1122
2990 // (get) Token: 0x06001D50 RID: 7504 RVA: 0x000021DB File Offset: 0x000003DB
2991 // (set) Token: 0x06001D51 RID: 7505 RVA: 0x000AA8F4 File Offset: 0x000A8AF4
2992 public static int SmartInteractX
2993 {
2994 get
2995 {
2996 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2997 }
2998 set
2999 {
3000 }
3001 }
3002
3003 // Token: 0x17000463 RID: 1123
3004 // (get) Token: 0x06001D52 RID: 7506 RVA: 0x000021DB File Offset: 0x000003DB
3005 // (set) Token: 0x06001D53 RID: 7507 RVA: 0x000AA904 File Offset: 0x000A8B04
3006 public static int SmartInteractY
3007 {
3008 get
3009 {
3010 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3011 }
3012 set
3013 {
3014 }
3015 }
3016
3017 // Token: 0x17000464 RID: 1124
3018 // (get) Token: 0x06001D54 RID: 7508 RVA: 0x000021DB File Offset: 0x000003DB
3019 // (set) Token: 0x06001D55 RID: 7509 RVA: 0x000AA914 File Offset: 0x000A8B14
3020 public static int SmartInteractNPC
3021 {
3022 get
3023 {
3024 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3025 }
3026 set
3027 {
3028 }
3029 }
3030
3031 // Token: 0x17000465 RID: 1125
3032 // (get) Token: 0x06001D56 RID: 7510 RVA: 0x000021DB File Offset: 0x000003DB
3033 // (set) Token: 0x06001D57 RID: 7511 RVA: 0x000AA924 File Offset: 0x000A8B24
3034 public static int SmartInteractProj
3035 {
3036 get
3037 {
3038 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3039 }
3040 set
3041 {
3042 }
3043 }
3044
3045 // Token: 0x17000466 RID: 1126
3046 // (get) Token: 0x06001D58 RID: 7512 RVA: 0x000021DB File Offset: 0x000003DB
3047 // (set) Token: 0x06001D59 RID: 7513 RVA: 0x000AA934 File Offset: 0x000A8B34
3049 {
3050 get
3051 {
3052 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3053 }
3054 set
3055 {
3056 }
3057 }
3058
3059 // Token: 0x17000467 RID: 1127
3060 // (get) Token: 0x06001D5A RID: 7514 RVA: 0x000021DB File Offset: 0x000003DB
3061 // (set) Token: 0x06001D5B RID: 7515 RVA: 0x000AA944 File Offset: 0x000A8B44
3063 {
3064 get
3065 {
3066 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3067 }
3068 set
3069 {
3070 }
3071 }
3072
3073 // Token: 0x17000468 RID: 1128
3074 // (get) Token: 0x06001D5C RID: 7516 RVA: 0x000021DB File Offset: 0x000003DB
3075 // (set) Token: 0x06001D5D RID: 7517 RVA: 0x000AA954 File Offset: 0x000A8B54
3077 {
3078 get
3079 {
3080 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3081 }
3082 set
3083 {
3084 }
3085 }
3086
3087 // Token: 0x17000469 RID: 1129
3088 // (get) Token: 0x06001D5E RID: 7518 RVA: 0x000021DB File Offset: 0x000003DB
3089 // (set) Token: 0x06001D5F RID: 7519 RVA: 0x000AA964 File Offset: 0x000A8B64
3090 public static int TileInteractionLX
3091 {
3092 get
3093 {
3094 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3095 }
3096 set
3097 {
3098 }
3099 }
3100
3101 // Token: 0x1700046A RID: 1130
3102 // (get) Token: 0x06001D60 RID: 7520 RVA: 0x000021DB File Offset: 0x000003DB
3103 // (set) Token: 0x06001D61 RID: 7521 RVA: 0x000AA974 File Offset: 0x000A8B74
3104 public static int TileInteractionLY
3105 {
3106 get
3107 {
3108 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3109 }
3110 set
3111 {
3112 }
3113 }
3114
3115 // Token: 0x1700046B RID: 1131
3116 // (get) Token: 0x06001D62 RID: 7522 RVA: 0x000021DB File Offset: 0x000003DB
3117 // (set) Token: 0x06001D63 RID: 7523 RVA: 0x000AA984 File Offset: 0x000A8B84
3118 public static int TileInteractionHX
3119 {
3120 get
3121 {
3122 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3123 }
3124 set
3125 {
3126 }
3127 }
3128
3129 // Token: 0x1700046C RID: 1132
3130 // (get) Token: 0x06001D64 RID: 7524 RVA: 0x000021DB File Offset: 0x000003DB
3131 // (set) Token: 0x06001D65 RID: 7525 RVA: 0x000AA994 File Offset: 0x000A8B94
3132 public static int TileInteractionHY
3133 {
3134 get
3135 {
3136 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3137 }
3138 set
3139 {
3140 }
3141 }
3142
3143 // Token: 0x1700046D RID: 1133
3144 // (get) Token: 0x06001D66 RID: 7526 RVA: 0x000021DB File Offset: 0x000003DB
3145 // (set) Token: 0x06001D67 RID: 7527 RVA: 0x000AA9A4 File Offset: 0x000A8BA4
3146 public static int cursorOverride
3147 {
3148 get
3149 {
3150 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3151 }
3152 set
3153 {
3154 }
3155 }
3156
3157 // Token: 0x1700046E RID: 1134
3158 // (get) Token: 0x06001D68 RID: 7528 RVA: 0x000021DB File Offset: 0x000003DB
3159 // (set) Token: 0x06001D69 RID: 7529 RVA: 0x000AA9B4 File Offset: 0x000A8BB4
3160 public static int signHover
3161 {
3162 get
3163 {
3164 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3165 }
3166 set
3167 {
3168 }
3169 }
3170
3171 // Token: 0x1700046F RID: 1135
3172 // (get) Token: 0x06001D6A RID: 7530 RVA: 0x000021DB File Offset: 0x000003DB
3173 // (set) Token: 0x06001D6B RID: 7531 RVA: 0x000AA9C4 File Offset: 0x000A8BC4
3174 public static int lastSignHover
3175 {
3176 get
3177 {
3178 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3179 }
3180 set
3181 {
3182 }
3183 }
3184
3185 // Token: 0x17000470 RID: 1136
3186 // (get) Token: 0x06001D6C RID: 7532 RVA: 0x000021DB File Offset: 0x000003DB
3187 // (set) Token: 0x06001D6D RID: 7533 RVA: 0x000AA9D4 File Offset: 0x000A8BD4
3189 {
3190 get
3191 {
3192 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3193 }
3194 set
3195 {
3196 }
3197 }
3198
3199 // Token: 0x17000471 RID: 1137
3200 // (get) Token: 0x06001D6E RID: 7534 RVA: 0x000021DB File Offset: 0x000003DB
3201 // (set) Token: 0x06001D6F RID: 7535 RVA: 0x000AA9E4 File Offset: 0x000A8BE4
3203 {
3204 get
3205 {
3206 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3207 }
3208 set
3209 {
3210 }
3211 }
3212
3213 // Token: 0x17000472 RID: 1138
3214 // (get) Token: 0x06001D70 RID: 7536 RVA: 0x000021DB File Offset: 0x000003DB
3215 // (set) Token: 0x06001D71 RID: 7537 RVA: 0x000AA9F4 File Offset: 0x000A8BF4
3217 {
3218 get
3219 {
3220 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3221 }
3222 set
3223 {
3224 }
3225 }
3226
3227 // Token: 0x17000473 RID: 1139
3228 // (get) Token: 0x06001D72 RID: 7538 RVA: 0x000021DB File Offset: 0x000003DB
3229 // (set) Token: 0x06001D73 RID: 7539 RVA: 0x000AAA04 File Offset: 0x000A8C04
3231 {
3232 get
3233 {
3234 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3235 }
3236 set
3237 {
3238 }
3239 }
3240
3241 // Token: 0x17000474 RID: 1140
3242 // (get) Token: 0x06001D74 RID: 7540 RVA: 0x000021DB File Offset: 0x000003DB
3243 // (set) Token: 0x06001D75 RID: 7541 RVA: 0x000AAA14 File Offset: 0x000A8C14
3245 {
3246 get
3247 {
3248 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3249 }
3250 set
3251 {
3252 }
3253 }
3254
3255 // Token: 0x17000475 RID: 1141
3256 // (get) Token: 0x06001D76 RID: 7542 RVA: 0x000021DB File Offset: 0x000003DB
3257 // (set) Token: 0x06001D77 RID: 7543 RVA: 0x000AAA24 File Offset: 0x000A8C24
3258 public static int cursorColorDirection
3259 {
3260 get
3261 {
3262 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3263 }
3264 set
3265 {
3266 }
3267 }
3268
3269 // Token: 0x17000476 RID: 1142
3270 // (get) Token: 0x06001D78 RID: 7544 RVA: 0x000021DB File Offset: 0x000003DB
3271 // (set) Token: 0x06001D79 RID: 7545 RVA: 0x000AAA34 File Offset: 0x000A8C34
3272 public static float cursorAlpha
3273 {
3274 get
3275 {
3276 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3277 }
3278 set
3279 {
3280 }
3281 }
3282
3283 // Token: 0x17000477 RID: 1143
3284 // (get) Token: 0x06001D7A RID: 7546 RVA: 0x000021DB File Offset: 0x000003DB
3285 // (set) Token: 0x06001D7B RID: 7547 RVA: 0x000AAA44 File Offset: 0x000A8C44
3286 public static float cursorScale
3287 {
3288 get
3289 {
3290 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3291 }
3292 set
3293 {
3294 }
3295 }
3296
3297 // Token: 0x17000478 RID: 1144
3298 // (get) Token: 0x06001D7C RID: 7548 RVA: 0x000021DB File Offset: 0x000003DB
3299 // (set) Token: 0x06001D7D RID: 7549 RVA: 0x000AAA54 File Offset: 0x000A8C54
3300 public static bool signBubble
3301 {
3302 get
3303 {
3304 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3305 }
3306 set
3307 {
3308 }
3309 }
3310
3311 // Token: 0x17000479 RID: 1145
3312 // (get) Token: 0x06001D7E RID: 7550 RVA: 0x000021DB File Offset: 0x000003DB
3313 // (set) Token: 0x06001D7F RID: 7551 RVA: 0x000AAA64 File Offset: 0x000A8C64
3314 public static int signX
3315 {
3316 get
3317 {
3318 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3319 }
3320 set
3321 {
3322 }
3323 }
3324
3325 // Token: 0x1700047A RID: 1146
3326 // (get) Token: 0x06001D80 RID: 7552 RVA: 0x000021DB File Offset: 0x000003DB
3327 // (set) Token: 0x06001D81 RID: 7553 RVA: 0x000AAA74 File Offset: 0x000A8C74
3328 public static int signY
3329 {
3330 get
3331 {
3332 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3333 }
3334 set
3335 {
3336 }
3337 }
3338
3339 // Token: 0x1700047B RID: 1147
3340 // (get) Token: 0x06001D82 RID: 7554 RVA: 0x000021DB File Offset: 0x000003DB
3341 // (set) Token: 0x06001D83 RID: 7555 RVA: 0x000AAA84 File Offset: 0x000A8C84
3342 public static bool SettingsSavePending
3343 {
3344 get
3345 {
3346 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3347 }
3348 set
3349 {
3350 }
3351 }
3352
3353 // Token: 0x1700047C RID: 1148
3354 // (get) Token: 0x06001D84 RID: 7556 RVA: 0x000021DB File Offset: 0x000003DB
3355 // (set) Token: 0x06001D85 RID: 7557 RVA: 0x000AAA94 File Offset: 0x000A8C94
3356 public static int menuMode
3357 {
3358 get
3359 {
3360 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3361 }
3362 set
3363 {
3364 }
3365 }
3366
3367 // Token: 0x1700047D RID: 1149
3368 // (get) Token: 0x06001D86 RID: 7558 RVA: 0x000021DB File Offset: 0x000003DB
3369 // (set) Token: 0x06001D87 RID: 7559 RVA: 0x000AAAA4 File Offset: 0x000A8CA4
3370 public static bool Quitting
3371 {
3372 get
3373 {
3374 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3375 }
3376 set
3377 {
3378 }
3379 }
3380
3381 // Token: 0x1700047E RID: 1150
3382 // (get) Token: 0x06001D88 RID: 7560 RVA: 0x000021DB File Offset: 0x000003DB
3383 // (set) Token: 0x06001D89 RID: 7561 RVA: 0x000AAAB4 File Offset: 0x000A8CB4
3385 {
3386 get
3387 {
3388 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3389 }
3390 set
3391 {
3392 }
3393 }
3394
3395 // Token: 0x1700047F RID: 1151
3396 // (get) Token: 0x06001D8A RID: 7562 RVA: 0x000021DB File Offset: 0x000003DB
3397 // (set) Token: 0x06001D8B RID: 7563 RVA: 0x000AAAC4 File Offset: 0x000A8CC4
3399 {
3400 get
3401 {
3402 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3403 }
3404 set
3405 {
3406 }
3407 }
3408
3409 // Token: 0x17000480 RID: 1152
3410 // (get) Token: 0x06001D8C RID: 7564 RVA: 0x000021DB File Offset: 0x000003DB
3411 // (set) Token: 0x06001D8D RID: 7565 RVA: 0x000AAAD4 File Offset: 0x000A8CD4
3412 public static bool HoveringOverAnNPC
3413 {
3414 get
3415 {
3416 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3417 }
3418 set
3419 {
3420 }
3421 }
3422
3423 // Token: 0x17000481 RID: 1153
3424 // (get) Token: 0x06001D8E RID: 7566 RVA: 0x000021DB File Offset: 0x000003DB
3425 // (set) Token: 0x06001D8F RID: 7567 RVA: 0x000AAAE4 File Offset: 0x000A8CE4
3426 private static int rare
3427 {
3428 get
3429 {
3430 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3431 }
3432 set
3433 {
3434 }
3435 }
3436
3437 // Token: 0x17000482 RID: 1154
3438 // (get) Token: 0x06001D90 RID: 7568 RVA: 0x000021DB File Offset: 0x000003DB
3439 // (set) Token: 0x06001D91 RID: 7569 RVA: 0x000AAAF4 File Offset: 0x000A8CF4
3440 public static int hairStart
3441 {
3442 get
3443 {
3444 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3445 }
3446 set
3447 {
3448 }
3449 }
3450
3451 // Token: 0x17000483 RID: 1155
3452 // (get) Token: 0x06001D92 RID: 7570 RVA: 0x000021DB File Offset: 0x000003DB
3453 // (set) Token: 0x06001D93 RID: 7571 RVA: 0x000AAB04 File Offset: 0x000A8D04
3454 public static int oldHairStyle
3455 {
3456 get
3457 {
3458 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3459 }
3460 set
3461 {
3462 }
3463 }
3464
3465 // Token: 0x17000484 RID: 1156
3466 // (get) Token: 0x06001D94 RID: 7572 RVA: 0x000021DB File Offset: 0x000003DB
3467 // (set) Token: 0x06001D95 RID: 7573 RVA: 0x000AAB14 File Offset: 0x000A8D14
3469 {
3470 get
3471 {
3472 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3473 }
3474 set
3475 {
3476 }
3477 }
3478
3479 // Token: 0x17000485 RID: 1157
3480 // (get) Token: 0x06001D96 RID: 7574 RVA: 0x000021DB File Offset: 0x000003DB
3481 // (set) Token: 0x06001D97 RID: 7575 RVA: 0x000AAB24 File Offset: 0x000A8D24
3482 public static int selClothes
3483 {
3484 get
3485 {
3486 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3487 }
3488 set
3489 {
3490 }
3491 }
3492
3493 // Token: 0x17000486 RID: 1158
3494 // (get) Token: 0x06001D98 RID: 7576 RVA: 0x000021DB File Offset: 0x000003DB
3495 // (set) Token: 0x06001D99 RID: 7577 RVA: 0x000AAB34 File Offset: 0x000A8D34
3497 {
3498 get
3499 {
3500 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3501 }
3502 set
3503 {
3504 }
3505 }
3506
3507 // Token: 0x17000487 RID: 1159
3508 // (get) Token: 0x06001D9A RID: 7578 RVA: 0x000021DB File Offset: 0x000003DB
3509 // (set) Token: 0x06001D9B RID: 7579 RVA: 0x000AAB44 File Offset: 0x000A8D44
3510 public static int oldClothesStyle
3511 {
3512 get
3513 {
3514 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3515 }
3516 set
3517 {
3518 }
3519 }
3520
3521 // Token: 0x17000488 RID: 1160
3522 // (get) Token: 0x06001D9C RID: 7580 RVA: 0x000021DB File Offset: 0x000003DB
3523 // (set) Token: 0x06001D9D RID: 7581 RVA: 0x000AAB54 File Offset: 0x000A8D54
3525 {
3526 get
3527 {
3528 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3529 }
3530 set
3531 {
3532 }
3533 }
3534
3535 // Token: 0x17000489 RID: 1161
3536 // (get) Token: 0x06001D9E RID: 7582 RVA: 0x000021DB File Offset: 0x000003DB
3537 // (set) Token: 0x06001D9F RID: 7583 RVA: 0x000AAB64 File Offset: 0x000A8D64
3539 {
3540 get
3541 {
3542 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3543 }
3544 set
3545 {
3546 }
3547 }
3548
3549 // Token: 0x1700048A RID: 1162
3550 // (get) Token: 0x06001DA0 RID: 7584 RVA: 0x000021DB File Offset: 0x000003DB
3551 // (set) Token: 0x06001DA1 RID: 7585 RVA: 0x000AAB74 File Offset: 0x000A8D74
3553 {
3554 get
3555 {
3556 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3557 }
3558 set
3559 {
3560 }
3561 }
3562
3563 // Token: 0x1700048B RID: 1163
3564 // (get) Token: 0x06001DA2 RID: 7586 RVA: 0x000021DB File Offset: 0x000003DB
3565 // (set) Token: 0x06001DA3 RID: 7587 RVA: 0x000AAB84 File Offset: 0x000A8D84
3566 private static bool _MouseOversCanClear
3567 {
3568 get
3569 {
3570 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3571 }
3572 set
3573 {
3574 }
3575 }
3576
3577 // Token: 0x1700048C RID: 1164
3578 // (get) Token: 0x06001DA4 RID: 7588 RVA: 0x000021DB File Offset: 0x000003DB
3579 // (set) Token: 0x06001DA5 RID: 7589 RVA: 0x000AAB94 File Offset: 0x000A8D94
3581 {
3582 get
3583 {
3584 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3585 }
3586 set
3587 {
3588 }
3589 }
3590
3591 // Token: 0x1700048D RID: 1165
3592 // (get) Token: 0x06001DA6 RID: 7590 RVA: 0x000021DB File Offset: 0x000003DB
3593 // (set) Token: 0x06001DA7 RID: 7591 RVA: 0x000AABA4 File Offset: 0x000A8DA4
3595 {
3596 get
3597 {
3598 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3599 }
3600 set
3601 {
3602 }
3603 }
3604
3605 // Token: 0x1700048E RID: 1166
3606 // (get) Token: 0x06001DA8 RID: 7592 RVA: 0x000021DB File Offset: 0x000003DB
3607 // (set) Token: 0x06001DA9 RID: 7593 RVA: 0x000AABB4 File Offset: 0x000A8DB4
3608 private static int _itemIconCacheTime
3609 {
3610 get
3611 {
3612 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3613 }
3614 set
3615 {
3616 }
3617 }
3618
3619 // Token: 0x1700048F RID: 1167
3620 // (get) Token: 0x06001DAA RID: 7594 RVA: 0x000021DB File Offset: 0x000003DB
3621 // (set) Token: 0x06001DAB RID: 7595 RVA: 0x000AABC4 File Offset: 0x000A8DC4
3623 {
3624 get
3625 {
3626 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3627 }
3628 set
3629 {
3630 }
3631 }
3632
3633 // Token: 0x17000490 RID: 1168
3634 // (get) Token: 0x06001DAC RID: 7596 RVA: 0x000021DB File Offset: 0x000003DB
3635 // (set) Token: 0x06001DAD RID: 7597 RVA: 0x000AABD4 File Offset: 0x000A8DD4
3636 public static int bgScroll
3637 {
3638 get
3639 {
3640 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3641 }
3642 set
3643 {
3644 }
3645 }
3646
3647 // Token: 0x17000491 RID: 1169
3648 // (get) Token: 0x06001DAE RID: 7598 RVA: 0x000021DB File Offset: 0x000003DB
3649 // (set) Token: 0x06001DAF RID: 7599 RVA: 0x000AABE4 File Offset: 0x000A8DE4
3650 public static float hBar
3651 {
3652 get
3653 {
3654 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3655 }
3656 set
3657 {
3658 }
3659 }
3660
3661 // Token: 0x17000492 RID: 1170
3662 // (get) Token: 0x06001DB0 RID: 7600 RVA: 0x000021DB File Offset: 0x000003DB
3663 // (set) Token: 0x06001DB1 RID: 7601 RVA: 0x000AABF4 File Offset: 0x000A8DF4
3664 public static float sBar
3665 {
3666 get
3667 {
3668 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3669 }
3670 set
3671 {
3672 }
3673 }
3674
3675 // Token: 0x17000493 RID: 1171
3676 // (get) Token: 0x06001DB2 RID: 7602 RVA: 0x000021DB File Offset: 0x000003DB
3677 // (set) Token: 0x06001DB3 RID: 7603 RVA: 0x000AAC04 File Offset: 0x000A8E04
3678 public static float lBar
3679 {
3680 get
3681 {
3682 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3683 }
3684 set
3685 {
3686 }
3687 }
3688
3689 // Token: 0x17000494 RID: 1172
3690 // (get) Token: 0x06001DB4 RID: 7604 RVA: 0x000021DB File Offset: 0x000003DB
3691 // (set) Token: 0x06001DB5 RID: 7605 RVA: 0x000AAC14 File Offset: 0x000A8E14
3692 public static float aBar
3693 {
3694 get
3695 {
3696 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3697 }
3698 set
3699 {
3700 }
3701 }
3702
3703 // Token: 0x17000495 RID: 1173
3704 // (get) Token: 0x06001DB6 RID: 7606 RVA: 0x000021DB File Offset: 0x000003DB
3705 // (set) Token: 0x06001DB7 RID: 7607 RVA: 0x000AAC24 File Offset: 0x000A8E24
3706 public static float GamepadCursorAlpha
3707 {
3708 get
3709 {
3710 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
3711 }
3712 set
3713 {
3714 }
3715 }
3716
3717 // Token: 0x17000496 RID: 1174
3718 // (get) Token: 0x06001DB8 RID: 7608 RVA: 0x000AAC34 File Offset: 0x000A8E34
3719 // (set) Token: 0x06001DB9 RID: 7609 RVA: 0x000AAC44 File Offset: 0x000A8E44
3720 public static bool CanUpdateGameplay
3721 {
3723 get
3724 {
3725 /*
3726An exception occurred when decompiling this method (06001DB8)
3727
3728ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_CanUpdateGameplay()
3729
3730 ---> System.Exception: Basic block has to end with unconditional control flow.
3731{
3732 IL_0000:
3733 brtrue(IL_0000, ldc.i4:bool(1))
3734}
3735
3736 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
3737 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
3738 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
3739 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
3740 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
3741 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
3742 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
3743 --- End of inner exception stack trace ---
3744 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
3745 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
3746*/;
3747 }
3749 private set
3750 {
3751 if (!true)
3752 {
3753 }
3754 }
3755 }
3756
3757 // Token: 0x06001DBA RID: 7610 RVA: 0x000AAC54 File Offset: 0x000A8E54
3758 public static void ToggleGameplayUpdates(bool state)
3759 {
3760 if (!true)
3761 {
3762 }
3763 if (!true)
3764 {
3765 }
3766 }
3767
3768 // Token: 0x17000497 RID: 1175
3769 // (get) Token: 0x06001DBB RID: 7611 RVA: 0x000AAC68 File Offset: 0x000A8E68
3771 {
3772 get
3773 {
3774 /*
3775An exception occurred when decompiling this method (06001DBB)
3776
3777ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::get_ViewPosition()
3778
3779 ---> System.Exception: Basic block has to end with unconditional control flow.
3780{
3781 IL_0003:
3782 stloc:Vector2(var_0_08, callgetter:Vector2(Main::get_screenPosition))
3783}
3784
3785 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
3786 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
3787 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
3788 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
3789 --- End of inner exception stack trace ---
3790 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
3791 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
3792*/;
3793 }
3794 }
3795
3796 // Token: 0x17000498 RID: 1176
3797 // (get) Token: 0x06001DBC RID: 7612 RVA: 0x000AAC80 File Offset: 0x000A8E80
3799 {
3800 get
3801 {
3802 /*
3803An exception occurred when decompiling this method (06001DBC)
3804
3805ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::get_ViewSize()
3806
3807 ---> System.Exception: Basic block has to end with unconditional control flow.
3808{
3809 IL_0003:
3810 stloc:int32(var_0_08, callgetter:int32(Main::get_screenWidth))
3811 stloc:int32(var_1_0E, callgetter:int32(Main::get_screenHeight))
3812}
3813
3814 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
3815 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
3816 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
3817 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
3818 --- End of inner exception stack trace ---
3819 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
3820 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
3821*/;
3822 }
3823 }
3824
3825 // Token: 0x17000499 RID: 1177
3826 // (get) Token: 0x06001DBD RID: 7613 RVA: 0x000AACA0 File Offset: 0x000A8EA0
3828 {
3829 get
3830 {
3831 if (!true)
3832 {
3833 }
3834 return 1;
3835 }
3836 }
3837
3838 // Token: 0x06001DBE RID: 7614 RVA: 0x000AACB4 File Offset: 0x000A8EB4
3840 {
3841 float m = matrix.M31;
3842 float m2 = matrix.M32;
3843 float m3 = matrix.M11;
3844 float m4 = matrix.M12;
3845 if (!true)
3846 {
3847 }
3848 }
3849
3850 // Token: 0x1700049A RID: 1178
3851 // (get) Token: 0x06001DBF RID: 7615 RVA: 0x000AACE0 File Offset: 0x000A8EE0
3852 public static Matrix UIScaleMatrix
3853 {
3854 get
3855 {
3856 if (!true)
3857 {
3858 }
3859 return 1;
3860 }
3861 }
3862
3863 // Token: 0x1700049B RID: 1179
3864 // (get) Token: 0x06001DC0 RID: 7616 RVA: 0x000AACF4 File Offset: 0x000A8EF4
3865 public static float UIScaleWanted
3866 {
3867 get
3868 {
3869 /*
3870An exception occurred when decompiling this method (06001DC0)
3871
3872ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Terraria.Main::get_UIScaleWanted()
3873
3874 ---> System.Exception: Basic block has to end with unconditional control flow.
3875{
3876 IL_0000:
3877 brtrue(IL_0000, ldc.i4:bool(1))
3878}
3879
3880 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
3881 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
3882 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
3883 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
3884 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
3885 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
3886 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
3887 --- End of inner exception stack trace ---
3888 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
3889 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
3890*/;
3891 }
3892 }
3893
3894 // Token: 0x1700049C RID: 1180
3895 // (get) Token: 0x06001DC1 RID: 7617 RVA: 0x000AAD04 File Offset: 0x000A8F04
3896 // (set) Token: 0x06001DC2 RID: 7618 RVA: 0x000AAD14 File Offset: 0x000A8F14
3897 public static float UIScale
3898 {
3899 get
3900 {
3901 /*
3902An exception occurred when decompiling this method (06001DC1)
3903
3904ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Terraria.Main::get_UIScale()
3905
3906 ---> System.Exception: Basic block has to end with unconditional control flow.
3907{
3908 IL_0000:
3909 brtrue(IL_0000, ldc.i4:bool(1))
3910}
3911
3912 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
3913 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
3914 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
3915 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
3916 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
3917 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
3918 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
3919 --- End of inner exception stack trace ---
3920 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
3921 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
3922*/;
3923 }
3924 set
3925 {
3926 if (!true)
3927 {
3928 }
3929 if (!true)
3930 {
3931 }
3932 if (!true)
3933 {
3934 }
3935 }
3936 }
3937
3938 // Token: 0x1700049D RID: 1181
3939 // (get) Token: 0x06001DC3 RID: 7619 RVA: 0x000AAD2C File Offset: 0x000A8F2C
3940 public float UIScaleMax
3941 {
3942 get
3943 {
3944 /*
3945An exception occurred when decompiling this method (06001DC3)
3946
3947ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Terraria.Main::get_UIScaleMax()
3948
3949 ---> System.Exception: Basic block has to end with unconditional control flow.
3950{
3951 IL_0009:
3952 stloc:float32(var_3_14, call:float32(Math::Max, ldloc:float32(var_1), ldloc:float32(var_1)))
3953}
3954
3955 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
3956 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
3957 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
3958 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
3959 --- End of inner exception stack trace ---
3960 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
3961 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
3962*/;
3963 }
3964 }
3965
3966 // Token: 0x1700049E RID: 1182
3967 // (get) Token: 0x06001DC4 RID: 7620 RVA: 0x000AAD50 File Offset: 0x000A8F50
3968 public static bool RenderTargetsRequired
3969 {
3970 get
3971 {
3972 if (!true)
3973 {
3974 }
3975 return true;
3976 }
3977 }
3978
3979 // Token: 0x1700049F RID: 1183
3980 // (get) Token: 0x06001DC5 RID: 7621 RVA: 0x000AAD64 File Offset: 0x000A8F64
3981 public static bool IsItRaining
3982 {
3983 get
3984 {
3985 /*
3986An exception occurred when decompiling this method (06001DC5)
3987
3988ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_IsItRaining()
3989
3990 ---> System.Exception: Basic block has to end with unconditional control flow.
3991{
3992 IL_0000:
3993 brtrue(IL_0000, ldc.i4:bool(1))
3994}
3995
3996 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
3997 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
3998 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
3999 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
4000 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
4001 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
4002 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
4003 --- End of inner exception stack trace ---
4004 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
4005 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
4006*/;
4007 }
4008 }
4009
4010 // Token: 0x170004A0 RID: 1184
4011 // (get) Token: 0x06001DC6 RID: 7622 RVA: 0x000AAD74 File Offset: 0x000A8F74
4012 public static bool ThickMouse
4013 {
4014 get
4015 {
4016 if (!true)
4017 {
4018 }
4020 bool flag;
4021 return flag;
4022 }
4023 }
4024
4025 // Token: 0x170004A1 RID: 1185
4026 // (get) Token: 0x06001DC7 RID: 7623 RVA: 0x000AAD8C File Offset: 0x000A8F8C
4028 {
4029 get
4030 {
4031 if (!true)
4032 {
4033 }
4035 if (!true)
4036 {
4037 return;
4038 }
4039 }
4040 }
4041
4042 // Token: 0x170004A2 RID: 1186
4043 // (get) Token: 0x06001DC8 RID: 7624 RVA: 0x000AADA8 File Offset: 0x000A8FA8
4044 public static string SavePath
4045 {
4046 get
4047 {
4048 if (!true)
4049 {
4050 }
4051 if (Main._savePath == null)
4052 {
4053 string savePath = Main._savePath;
4054 long num = 0L;
4055 bool flag = savePath.EndsWith("/");
4056 string savePath2 = Main._savePath;
4057 int stringLength = Main._savePath._stringLength;
4058 long num2 = 0L;
4059 Main._savePath = savePath2.Substring((int)num2, (int)num);
4060 if (stringLength == 0)
4061 {
4062 }
4064 string savePath3 = Main._savePath;
4065 int num3 = 92;
4066 int num4 = 47;
4067 Main._savePath = savePath3.Replace((char)num3, (char)num4);
4068 Main._savePath = Main._savePath.Replace("//", "/");
4070 }
4071 return Main._savePath;
4072 }
4073 }
4074
4075 // Token: 0x170004A3 RID: 1187
4076 // (get) Token: 0x06001DC9 RID: 7625 RVA: 0x000AAE54 File Offset: 0x000A9054
4077 public static string OldSavePath
4078 {
4079 get
4080 {
4081 if (!true)
4082 {
4083 }
4084 if (Main._oldSavePath == null)
4085 {
4086 if (!true)
4087 {
4088 }
4089 Main._oldSavePath = Main.SavePath + "/OldSaves";
4090 }
4091 if (!true)
4092 {
4093 }
4094 return Main._oldSavePath;
4095 }
4096 }
4097
4098 // Token: 0x06001DCA RID: 7626 RVA: 0x000AAE8C File Offset: 0x000A908C
4099 public static void FindAnnouncementBoxStatus()
4100 {
4101 if (!true)
4102 {
4103 }
4104 }
4105
4106 // Token: 0x170004A4 RID: 1188
4107 // (get) Token: 0x06001DCB RID: 7627 RVA: 0x000AAE9C File Offset: 0x000A909C
4109 {
4110 get
4111 {
4112 /*
4113An exception occurred when decompiling this method (06001DCB)
4114
4115ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.DataStructures.GameModeData Terraria.Main::get_GameModeInfo()
4116
4117 ---> System.Exception: Basic block has to end with unconditional control flow.
4118{
4119 IL_0000:
4120 brtrue(IL_0000, ldc.i4:bool(1))
4121}
4122
4123 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
4124 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
4125 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
4126 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
4127 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
4128 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
4129 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
4130 --- End of inner exception stack trace ---
4131 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
4132 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
4133*/;
4134 }
4135 }
4136
4137 // Token: 0x170004A5 RID: 1189
4138 // (get) Token: 0x06001DCC RID: 7628 RVA: 0x000AAEAC File Offset: 0x000A90AC
4139 // (set) Token: 0x06001DCD RID: 7629 RVA: 0x000AAEC0 File Offset: 0x000A90C0
4140 public static int GameMode
4141 {
4142 get
4143 {
4144 if (!true)
4145 {
4146 }
4147 if (true)
4148 {
4149 return;
4150 }
4151 }
4152 set
4153 {
4154 if (!true)
4155 {
4156 }
4157 }
4158 }
4159
4160 // Token: 0x170004A6 RID: 1190
4161 // (get) Token: 0x06001DCE RID: 7630 RVA: 0x000AAED0 File Offset: 0x000A90D0
4162 public static bool specialSeedWorld
4163 {
4164 get
4165 {
4166 if (!true)
4167 {
4168 }
4169 return true;
4170 }
4171 }
4172
4173 // Token: 0x170004A7 RID: 1191
4174 // (get) Token: 0x06001DCF RID: 7631 RVA: 0x000021DB File Offset: 0x000003DB
4175 public static bool masterMode
4176 {
4177 get
4178 {
4179 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
4180 }
4181 }
4182
4183 // Token: 0x170004A8 RID: 1192
4184 // (get) Token: 0x06001DD0 RID: 7632 RVA: 0x000021DB File Offset: 0x000003DB
4185 public static bool expertMode
4186 {
4187 get
4188 {
4189 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
4190 }
4191 }
4192
4193 // Token: 0x06001DD1 RID: 7633 RVA: 0x000AAEE4 File Offset: 0x000A90E4
4194 public static bool CanPlayCreditsRoll()
4195 {
4196 if (!true)
4197 {
4198 }
4199 bool gameMenu = Main.gameMenu;
4200 if (!true)
4201 {
4202 }
4203 bool hasCreditsSceneMusicBox = Main.LocalPlayer.hasCreditsSceneMusicBox;
4204 if (!hasCreditsSceneMusicBox)
4205 {
4206 if (!hasCreditsSceneMusicBox)
4207 {
4208 }
4209 bool gameMenu2 = Main.gameMenu;
4210 if (!hasCreditsSceneMusicBox)
4211 {
4212 }
4213 int menuMode = Main.menuMode;
4214 }
4215 return true;
4216 }
4217
4218 // Token: 0x170004A9 RID: 1193
4219 // (get) Token: 0x06001DD2 RID: 7634 RVA: 0x000021DB File Offset: 0x000003DB
4220 public static AchievementManager Achievements
4221 {
4222 get
4223 {
4224 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
4225 }
4226 }
4227
4228 // Token: 0x170004AA RID: 1194
4229 // (get) Token: 0x06001DD3 RID: 7635 RVA: 0x000AAF28 File Offset: 0x000A9128
4230 // (set) Token: 0x06001DD4 RID: 7636 RVA: 0x000AAF38 File Offset: 0x000A9138
4232 {
4233 get
4234 {
4236 return waterfallManager;
4237 }
4238 set
4239 {
4240 }
4241 }
4242
4243 // Token: 0x170004AB RID: 1195
4244 // (get) Token: 0x06001DD5 RID: 7637 RVA: 0x000AAF48 File Offset: 0x000A9148
4245 // (set) Token: 0x06001DD6 RID: 7638 RVA: 0x000AAF58 File Offset: 0x000A9158
4247 {
4249 get
4250 {
4251 /*
4252An exception occurred when decompiling this method (06001DD5)
4253
4254ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt64 Terraria.Main::get_UnpausedUpdateSeed()
4255
4256 ---> System.Exception: Basic block has to end with unconditional control flow.
4257{
4258 IL_0000:
4259 brtrue(IL_0000, ldc.i4:bool(1))
4260}
4261
4262 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
4263 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
4264 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
4265 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
4266 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
4267 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
4268 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
4269 --- End of inner exception stack trace ---
4270 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
4271 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
4272*/;
4273 }
4275 private set
4276 {
4277 if (!true)
4278 {
4279 }
4280 }
4281 }
4282
4283 // Token: 0x170004AC RID: 1196
4284 // (get) Token: 0x06001DD7 RID: 7639 RVA: 0x000AAF68 File Offset: 0x000A9168
4285 public static Effect screenShader
4286 {
4287 get
4288 {
4289 /*
4290An exception occurred when decompiling this method (06001DD7)
4291
4292ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Graphics.Effect Terraria.Main::get_screenShader()
4293
4294 ---> System.Exception: Basic block has to end with unconditional control flow.
4295{
4296 IL_0000:
4297 brtrue(IL_0000, ldc.i4:bool(1))
4298}
4299
4300 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
4301 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
4302 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
4303 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
4304 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
4305 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
4306 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
4307 --- End of inner exception stack trace ---
4308 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
4309 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
4310*/;
4311 }
4312 }
4313
4314 // Token: 0x170004AD RID: 1197
4315 // (get) Token: 0x06001DD8 RID: 7640 RVA: 0x000AAF78 File Offset: 0x000A9178
4316 public static Effect pixelShader
4317 {
4318 get
4319 {
4320 /*
4321An exception occurred when decompiling this method (06001DD8)
4322
4323ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Graphics.Effect Terraria.Main::get_pixelShader()
4324
4325 ---> System.Exception: Basic block has to end with unconditional control flow.
4326{
4327 IL_0000:
4328 brtrue(IL_0000, ldc.i4:bool(1))
4329}
4330
4331 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
4332 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
4333 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
4334 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
4335 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
4336 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
4337 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
4338 --- End of inner exception stack trace ---
4339 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
4340 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
4341*/;
4342 }
4343 }
4344
4345 // Token: 0x170004AE RID: 1198
4346 // (get) Token: 0x06001DD9 RID: 7641 RVA: 0x000AAF88 File Offset: 0x000A9188
4348 {
4349 get
4350 {
4351 /*
4352An exception occurred when decompiling this method (06001DD9)
4353
4354ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Graphics.Effect Terraria.Main::get_vertexPixelShader()
4355
4356 ---> System.Exception: Basic block has to end with unconditional control flow.
4357{
4358 IL_0000:
4359 brtrue(IL_0000, ldc.i4:bool(1))
4360}
4361
4362 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
4363 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
4364 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
4365 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
4366 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
4367 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
4368 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
4369 --- End of inner exception stack trace ---
4370 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
4371 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
4372*/;
4373 }
4374 }
4375
4376 // Token: 0x170004AF RID: 1199
4377 // (get) Token: 0x06001DDA RID: 7642 RVA: 0x000AAF98 File Offset: 0x000A9198
4378 public static Effect tileShader
4379 {
4380 get
4381 {
4382 /*
4383An exception occurred when decompiling this method (06001DDA)
4384
4385ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Graphics.Effect Terraria.Main::get_tileShader()
4386
4387 ---> System.Exception: Basic block has to end with unconditional control flow.
4388{
4389 IL_0000:
4390 brtrue(IL_0000, ldc.i4:bool(1))
4391}
4392
4393 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
4394 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
4395 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
4396 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
4397 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
4398 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
4399 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
4400 --- End of inner exception stack trace ---
4401 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
4402 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
4403*/;
4404 }
4405 }
4406
4407 // Token: 0x06001DDB RID: 7643 RVA: 0x000AAFA8 File Offset: 0x000A91A8
4408 public static void SetCameraLerp(float lerp, int time)
4409 {
4410 if (!true)
4411 {
4412 }
4413 }
4414
4415 // Token: 0x06001DDC RID: 7644 RVA: 0x000AAFB8 File Offset: 0x000A91B8
4416 public static void SetCameraGamepadLerp(float lerp)
4417 {
4418 if (true)
4419 {
4420 return;
4421 }
4422 }
4423
4424 // Token: 0x170004B0 RID: 1200
4425 // (get) Token: 0x06001DDD RID: 7645 RVA: 0x000AAFCC File Offset: 0x000A91CC
4426 [Obsolete("Transform is deprecated. Please use GameViewMatrix & GUIViewMatrix")]
4427 public static Matrix Transform
4428 {
4429 get
4430 {
4431 if (!true)
4432 {
4433 }
4434 return 1;
4435 }
4436 }
4437
4438 // Token: 0x170004B1 RID: 1201
4439 // (get) Token: 0x06001DDE RID: 7646 RVA: 0x000AAFE0 File Offset: 0x000A91E0
4441 {
4442 get
4443 {
4444 if (!true)
4445 {
4446 }
4447 int mouseX = Main.mouseX;
4448 int mouseY = Main.mouseY;
4449 return 1;
4450 }
4451 }
4452
4453 // Token: 0x170004B2 RID: 1202
4454 // (get) Token: 0x06001DDF RID: 7647 RVA: 0x000AB000 File Offset: 0x000A9200
4456 {
4457 get
4458 {
4459 /*
4460An exception occurred when decompiling this method (06001DDF)
4461
4462ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::get_MouseWorld()
4463
4464 ---> System.Exception: Basic block has to end with unconditional control flow.
4465{
4466 IL_0014:
4467 stloc:int32(var_5_1B, callgetter:int32(Main::get_myPlayer))
4468 stloc:Vector2(var_6_22, callgetter:Vector2(Main::get_screenPosition))
4469 stloc:int32(var_7_29, callgetter:int32(Main::get_screenHeight))
4470 stloc:int32(var_8_30, callgetter:int32(Main::get_mouseY))
4471}
4472
4473 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
4474 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
4475 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
4476 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
4477 --- End of inner exception stack trace ---
4478 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
4479 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
4480*/;
4481 }
4482 }
4483
4484 // Token: 0x170004B3 RID: 1203
4485 // (get) Token: 0x06001DE0 RID: 7648 RVA: 0x000AB040 File Offset: 0x000A9240
4487 {
4488 get
4489 {
4490 /*
4491An exception occurred when decompiling this method (06001DE0)
4492
4493ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::get_MouseWorld2()
4494
4495 ---> System.Exception: Basic block has to end with unconditional control flow.
4496{
4497 IL_0008:
4498 stloc:int32(var_1_0D, callgetter:int32(Main::get_worldMouseX))
4499 stloc:int32(var_2_13, callgetter:int32(Main::get_worldMouseY))
4500 stloc:int32(var_5_1B, callgetter:int32(Main::get_myPlayer))
4501 stloc:Vector2(var_6_22, callgetter:Vector2(Main::get_screenPosition))
4502 stloc:int32(var_7_29, callgetter:int32(Main::get_screenHeight))
4503 stloc:int32(var_8_30, callgetter:int32(Main::get_mouseY))
4504}
4505
4506 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
4507 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
4508 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
4509 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
4510 --- End of inner exception stack trace ---
4511 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
4512 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
4513*/;
4514 }
4515 }
4516
4517 // Token: 0x06001DE1 RID: 7649 RVA: 0x000AB080 File Offset: 0x000A9280
4519 {
4520 /*
4521An exception occurred when decompiling this method (06001DE1)
4522
4523ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::ReverseGravitySupport(Microsoft.Xna.Framework.Vector2,System.Single)
4524
4525 ---> System.Exception: Basic block has to end with unconditional control flow.
4526{
4527 IL_000E:
4528 stloc:int32(var_2_13, callgetter:int32(Main::get_screenHeight))
4529}
4530
4531 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
4532 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
4533 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
4534 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
4535 --- End of inner exception stack trace ---
4536 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
4537 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
4538*/;
4539 }
4540
4541 // Token: 0x06001DE2 RID: 7650 RVA: 0x000AB0A0 File Offset: 0x000A92A0
4542 public static Point ReverseGravitySupport(Point pos, int height = 0)
4543 {
4544 /*
4545An exception occurred when decompiling this method (06001DE2)
4546
4547ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Point Terraria.Main::ReverseGravitySupport(Microsoft.Xna.Framework.Point,System.Int32)
4548
4549 ---> System.Exception: Basic block has to end with unconditional control flow.
4550{
4551 IL_000E:
4552 stloc:int32(var_2_13, callgetter:int32(Main::get_screenHeight))
4553}
4554
4555 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
4556 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
4557 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
4558 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
4559 --- End of inner exception stack trace ---
4560 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
4561 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
4562*/;
4563 }
4564
4565 // Token: 0x06001DE3 RID: 7651 RVA: 0x000AB0C0 File Offset: 0x000A92C0
4567 {
4568 /*
4569An exception occurred when decompiling this method (06001DE3)
4570
4571ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Rectangle Terraria.Main::ReverseGravitySupport(Microsoft.Xna.Framework.Rectangle)
4572
4573 ---> System.Exception: Basic block has to end with unconditional control flow.
4574{
4575 IL_000E:
4576 stloc:int32(var_2_13, callgetter:int32(Main::get_screenHeight))
4577}
4578
4579 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
4580 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
4581 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
4582 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
4583 --- End of inner exception stack trace ---
4584 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
4585 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
4586*/;
4587 }
4588
4589 // Token: 0x170004B4 RID: 1204
4590 // (get) Token: 0x06001DE4 RID: 7652 RVA: 0x000AB0E0 File Offset: 0x000A92E0
4592 {
4593 get
4594 {
4595 /*
4596An exception occurred when decompiling this method (06001DE4)
4597
4598ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.UI.INetDiagnosticsUI Terraria.Main::get_ActiveNetDiagnosticsUI()
4599
4600 ---> System.Exception: Basic block has to end with unconditional control flow.
4601{
4602 IL_0000:
4603 brtrue(IL_0000, ldc.i4:bool(1))
4604}
4605
4606 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
4607 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
4608 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
4609 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
4610 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
4611 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
4612 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
4613 --- End of inner exception stack trace ---
4614 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
4615 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
4616*/;
4617 }
4618 }
4619
4620 // Token: 0x170004B5 RID: 1205
4621 // (get) Token: 0x06001DE5 RID: 7653 RVA: 0x000021DB File Offset: 0x000003DB
4622 // (set) Token: 0x06001DE6 RID: 7654 RVA: 0x000AB0F0 File Offset: 0x000A92F0
4623 public int mouseNPCIndex
4624 {
4625 get
4626 {
4627 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
4628 }
4629 set
4630 {
4631 }
4632 }
4633
4634 // Token: 0x170004B6 RID: 1206
4635 // (get) Token: 0x06001DE7 RID: 7655 RVA: 0x000021DB File Offset: 0x000003DB
4636 // (set) Token: 0x06001DE8 RID: 7656 RVA: 0x000AB100 File Offset: 0x000A9300
4637 public int mouseNPCType
4638 {
4639 get
4640 {
4641 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
4642 }
4643 set
4644 {
4645 }
4646 }
4647
4648 // Token: 0x06001DE9 RID: 7657 RVA: 0x000AB110 File Offset: 0x000A9310
4649 public void SetMouseNPC(int index, int type)
4650 {
4652 this.mouseNPCType = type;
4653 }
4654
4655 // Token: 0x06001DEA RID: 7658 RVA: 0x000AB12C File Offset: 0x000A932C
4657 {
4658 long num = 0L;
4659 this.mouseNPCType = (int)num;
4660 }
4661
4662 // Token: 0x1400001F RID: 31
4663 // (add) Token: 0x06001DEB RID: 7659 RVA: 0x000AB144 File Offset: 0x000A9344
4664 // (remove) Token: 0x06001DEC RID: 7660 RVA: 0x000AB160 File Offset: 0x000A9360
4665 public static event Action OnEnginePreload
4666 {
4668 add
4669 {
4670 if (!true)
4671 {
4672 }
4674 if (@delegate != null)
4675 {
4676 }
4677 }
4679 remove
4680 {
4681 if (!true)
4682 {
4683 }
4685 if (@delegate != null)
4686 {
4687 }
4688 }
4689 }
4690
4691 // Token: 0x14000020 RID: 32
4692 // (add) Token: 0x06001DED RID: 7661 RVA: 0x000AB17C File Offset: 0x000A937C
4693 // (remove) Token: 0x06001DEE RID: 7662 RVA: 0x000AB1A0 File Offset: 0x000A93A0
4695 {
4697 add
4698 {
4699 int num = 1;
4700 if (num == 0)
4701 {
4702 }
4704 if (@delegate != null && @delegate == null)
4705 {
4706 return;
4707 }
4708 if (num == 0)
4709 {
4710 }
4711 }
4713 remove
4714 {
4715 int num = 1;
4716 if (num == 0)
4717 {
4718 }
4720 if (@delegate != null && @delegate == null)
4721 {
4722 return;
4723 }
4724 if (num == 0)
4725 {
4726 }
4727 }
4728 }
4729
4730 // Token: 0x14000021 RID: 33
4731 // (add) Token: 0x06001DEF RID: 7663 RVA: 0x000AB1C4 File Offset: 0x000A93C4
4732 // (remove) Token: 0x06001DF0 RID: 7664 RVA: 0x000AB1E0 File Offset: 0x000A93E0
4733 public static event Action OnEngineLoad
4734 {
4736 add
4737 {
4738 if (!true)
4739 {
4740 }
4742 if (@delegate != null)
4743 {
4744 }
4745 }
4747 remove
4748 {
4749 if (!true)
4750 {
4751 }
4753 if (@delegate != null)
4754 {
4755 }
4756 }
4757 }
4758
4759 // Token: 0x170004B7 RID: 1207
4760 // (get) Token: 0x06001DF1 RID: 7665 RVA: 0x000AB1FC File Offset: 0x000A93FC
4761 public static uint GameUpdateCount
4762 {
4763 get
4764 {
4765 /*
4766An exception occurred when decompiling this method (06001DF1)
4767
4768ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt32 Terraria.Main::get_GameUpdateCount()
4769
4770 ---> System.Exception: Basic block has to end with unconditional control flow.
4771{
4772 IL_0000:
4773 brtrue(IL_0000, ldc.i4:bool(1))
4774}
4775
4776 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
4777 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
4778 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
4779 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
4780 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
4781 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
4782 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
4783 --- End of inner exception stack trace ---
4784 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
4785 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
4786*/;
4787 }
4788 }
4789
4790 // Token: 0x14000022 RID: 34
4791 // (add) Token: 0x06001DF2 RID: 7666 RVA: 0x000AB20C File Offset: 0x000A940C
4792 // (remove) Token: 0x06001DF3 RID: 7667 RVA: 0x000AB228 File Offset: 0x000A9428
4794 {
4796 add
4797 {
4798 if (!true)
4799 {
4800 }
4802 if (@delegate != null)
4803 {
4804 }
4805 }
4807 remove
4808 {
4809 if (!true)
4810 {
4811 }
4813 if (@delegate != null)
4814 {
4815 }
4816 }
4817 }
4818
4819 // Token: 0x14000023 RID: 35
4820 // (add) Token: 0x06001DF4 RID: 7668 RVA: 0x000AB244 File Offset: 0x000A9444
4821 // (remove) Token: 0x06001DF5 RID: 7669 RVA: 0x000AB260 File Offset: 0x000A9460
4823 {
4825 add
4826 {
4827 if (!true)
4828 {
4829 }
4831 if (@delegate != null)
4832 {
4833 }
4834 }
4836 remove
4837 {
4838 if (!true)
4839 {
4840 }
4842 if (@delegate != null)
4843 {
4844 }
4845 }
4846 }
4847
4848 // Token: 0x14000024 RID: 36
4849 // (add) Token: 0x06001DF6 RID: 7670 RVA: 0x000AB27C File Offset: 0x000A947C
4850 // (remove) Token: 0x06001DF7 RID: 7671 RVA: 0x000AB2A0 File Offset: 0x000A94A0
4851 public static event Action<GameTime> OnPreDraw
4852 {
4854 add
4855 {
4856 int num = 1;
4857 if (num == 0)
4858 {
4859 }
4861 if (@delegate != null && @delegate == null)
4862 {
4863 return;
4864 }
4865 if (num == 0)
4866 {
4867 }
4868 }
4870 remove
4871 {
4872 int num = 1;
4873 if (num == 0)
4874 {
4875 }
4877 if (@delegate != null && @delegate == null)
4878 {
4879 return;
4880 }
4881 if (num == 0)
4882 {
4883 }
4884 }
4885 }
4886
4887 // Token: 0x14000025 RID: 37
4888 // (add) Token: 0x06001DF8 RID: 7672 RVA: 0x000AB2C4 File Offset: 0x000A94C4
4889 // (remove) Token: 0x06001DF9 RID: 7673 RVA: 0x000AB2E8 File Offset: 0x000A94E8
4890 public static event Action<GameTime> OnPostDraw
4891 {
4893 add
4894 {
4895 int num = 1;
4896 if (num == 0)
4897 {
4898 }
4900 if (@delegate != null && @delegate == null)
4901 {
4902 return;
4903 }
4904 if (num == 0)
4905 {
4906 }
4907 }
4909 remove
4910 {
4911 int num = 1;
4912 if (num == 0)
4913 {
4914 }
4916 if (@delegate != null && @delegate == null)
4917 {
4918 return;
4919 }
4920 if (num == 0)
4921 {
4922 }
4923 }
4924 }
4925
4926 // Token: 0x14000026 RID: 38
4927 // (add) Token: 0x06001DFA RID: 7674 RVA: 0x000AB30C File Offset: 0x000A950C
4928 // (remove) Token: 0x06001DFB RID: 7675 RVA: 0x000AB330 File Offset: 0x000A9530
4930 {
4932 add
4933 {
4934 int num = 1;
4935 if (num == 0)
4936 {
4937 }
4939 if (@delegate != null && @delegate == null)
4940 {
4941 return;
4942 }
4943 if (num == 0)
4944 {
4945 }
4946 }
4948 remove
4949 {
4950 int num = 1;
4951 if (num == 0)
4952 {
4953 }
4955 if (@delegate != null && @delegate == null)
4956 {
4957 return;
4958 }
4959 if (num == 0)
4960 {
4961 }
4962 }
4963 }
4964
4965 // Token: 0x14000027 RID: 39
4966 // (add) Token: 0x06001DFC RID: 7676 RVA: 0x000AB354 File Offset: 0x000A9554
4967 // (remove) Token: 0x06001DFD RID: 7677 RVA: 0x000AB370 File Offset: 0x000A9570
4969 {
4971 add
4972 {
4973 if (!true)
4974 {
4975 }
4977 if (@delegate != null)
4978 {
4979 }
4980 }
4982 remove
4983 {
4984 if (!true)
4985 {
4986 }
4988 if (@delegate != null)
4989 {
4990 }
4991 }
4992 }
4993
4994 // Token: 0x14000028 RID: 40
4995 // (add) Token: 0x06001DFE RID: 7678 RVA: 0x000AB38C File Offset: 0x000A958C
4996 // (remove) Token: 0x06001DFF RID: 7679 RVA: 0x000AB3A8 File Offset: 0x000A95A8
4998 {
5000 add
5001 {
5002 if (!true)
5003 {
5004 }
5006 if (@delegate != null)
5007 {
5008 }
5009 }
5011 remove
5012 {
5013 if (!true)
5014 {
5015 }
5017 if (@delegate != null)
5018 {
5019 }
5020 }
5021 }
5022
5023 // Token: 0x170004B8 RID: 1208
5024 // (get) Token: 0x06001E00 RID: 7680 RVA: 0x000021DB File Offset: 0x000003DB
5025 // (set) Token: 0x06001E01 RID: 7681 RVA: 0x000AB3C4 File Offset: 0x000A95C4
5026 private int firstTileX
5027 {
5028 get
5029 {
5030 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
5031 }
5032 set
5033 {
5034 }
5035 }
5036
5037 // Token: 0x170004B9 RID: 1209
5038 // (get) Token: 0x06001E02 RID: 7682 RVA: 0x000021DB File Offset: 0x000003DB
5039 // (set) Token: 0x06001E03 RID: 7683 RVA: 0x000AB3D4 File Offset: 0x000A95D4
5040 private int lastTileX
5041 {
5042 get
5043 {
5044 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
5045 }
5046 set
5047 {
5048 }
5049 }
5050
5051 // Token: 0x170004BA RID: 1210
5052 // (get) Token: 0x06001E04 RID: 7684 RVA: 0x000021DB File Offset: 0x000003DB
5053 // (set) Token: 0x06001E05 RID: 7685 RVA: 0x000AB3E4 File Offset: 0x000A95E4
5054 private int firstTileY
5055 {
5056 get
5057 {
5058 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
5059 }
5060 set
5061 {
5062 }
5063 }
5064
5065 // Token: 0x170004BB RID: 1211
5066 // (get) Token: 0x06001E06 RID: 7686 RVA: 0x000021DB File Offset: 0x000003DB
5067 // (set) Token: 0x06001E07 RID: 7687 RVA: 0x000AB3F4 File Offset: 0x000A95F4
5068 private int lastTileY
5069 {
5070 get
5071 {
5072 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
5073 }
5074 set
5075 {
5076 }
5077 }
5078
5079 // Token: 0x06001E08 RID: 7688
5080 private static extern int RemoveMenu(IntPtr hMenu, int nPosition, int wFlags);
5081
5082 // Token: 0x06001E09 RID: 7689
5083 private static extern IntPtr GetSystemMenu(IntPtr hWnd, bool bRevert);
5084
5085 // Token: 0x06001E0A RID: 7690
5086 private static extern int GetMenuItemCount(IntPtr hWnd);
5087
5088 // Token: 0x06001E0B RID: 7691
5089 public static extern IntPtr LoadLibrary(string dllToLoad);
5090
5091 // Token: 0x06001E0C RID: 7692 RVA: 0x000AB404 File Offset: 0x000A9604
5092 public static void FlushBatches()
5093 {
5094 if (!true)
5095 {
5096 }
5097 }
5098
5099 // Token: 0x170004BC RID: 1212
5100 // (get) Token: 0x06001E0D RID: 7693 RVA: 0x000AB414 File Offset: 0x000A9614
5102 {
5103 get
5104 {
5105 /*
5106An exception occurred when decompiling this method (06001E0D)
5107
5108ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Graphics.SamplerState Terraria.Main::get_DefaultSamplerState()
5109
5110 ---> System.Exception: Basic block has to end with unconditional control flow.
5111{
5112 IL_0000:
5113 brtrue(IL_0000, ldc.i4:bool(1))
5114}
5115
5116 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
5117 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
5118 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
5119 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
5120 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
5121 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
5122 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
5123 --- End of inner exception stack trace ---
5124 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
5125 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
5126*/;
5127 }
5128 }
5129
5130 // Token: 0x170004BD RID: 1213
5131 // (get) Token: 0x06001E0E RID: 7694 RVA: 0x000AB424 File Offset: 0x000A9624
5132 public static int UnderworldLayer
5133 {
5134 get
5135 {
5136 /*
5137An exception occurred when decompiling this method (06001E0E)
5138
5139ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.Main::get_UnderworldLayer()
5140
5141 ---> System.Exception: Basic block has to end with unconditional control flow.
5142{
5143 IL_0000:
5144 brtrue(IL_0000, ldc.i4:bool(1))
5145}
5146
5147 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
5148 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
5149 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
5150 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
5151 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
5152 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
5153 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
5154 --- End of inner exception stack trace ---
5155 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
5156 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
5157*/;
5158 }
5159 }
5160
5161 // Token: 0x06001E0F RID: 7695 RVA: 0x000AB434 File Offset: 0x000A9634
5162 public static MoonPhase GetMoonPhase()
5163 {
5164 /*
5165An exception occurred when decompiling this method (06001E0F)
5166
5167ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.Enums.MoonPhase Terraria.Main::GetMoonPhase()
5168
5169 ---> System.Exception: Basic block has to end with unconditional control flow.
5170{
5171 IL_0000:
5172 brtrue(IL_0000, ldc.i4:bool(1))
5173}
5174
5175 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
5176 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
5177 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
5178 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
5179 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
5180 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
5181 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
5182 --- End of inner exception stack trace ---
5183 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
5184 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
5185*/;
5186 }
5187
5188 // Token: 0x170004BE RID: 1214
5189 // (get) Token: 0x06001E10 RID: 7696 RVA: 0x000AB444 File Offset: 0x000A9644
5190 public static float WindForVisuals
5191 {
5192 get
5193 {
5194 /*
5195An exception occurred when decompiling this method (06001E10)
5196
5197ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single Terraria.Main::get_WindForVisuals()
5198
5199 ---> System.Exception: Basic block has to end with unconditional control flow.
5200{
5201 IL_0000:
5202 brtrue(IL_0000, ldc.i4:bool(1))
5203}
5204
5205 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
5206 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
5207 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
5208 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
5209 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
5210 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
5211 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
5212 --- End of inner exception stack trace ---
5213 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
5214 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
5215*/;
5216 }
5217 }
5218
5219 // Token: 0x06001E11 RID: 7697 RVA: 0x000AB454 File Offset: 0x000A9654
5221 {
5222 int num = 1;
5223 if (num == 0)
5224 {
5225 }
5226 if (num == 0)
5227 {
5228 }
5229 if (num == 0)
5230 {
5231 return;
5232 }
5233 }
5234
5235 // Token: 0x06001E12 RID: 7698 RVA: 0x000AB498 File Offset: 0x000A9698
5236 public static void SetupTileMerge()
5237 {
5238 }
5239
5240 // Token: 0x06001E13 RID: 7699 RVA: 0x000AB4C8 File Offset: 0x000A96C8
5242 {
5243 int num = 1;
5244 if (num == 0)
5245 {
5246 }
5247 if (num == 0)
5248 {
5249 }
5250 }
5251
5252 // Token: 0x06001E14 RID: 7700 RVA: 0x000AB4F0 File Offset: 0x000A96F0
5253 public static void InitializeItemAnimations()
5254 {
5255 int num = 1;
5256 if (num == 0)
5257 {
5258 }
5259 if (num == 0)
5260 {
5261 }
5262 }
5263
5264 // Token: 0x170004BF RID: 1215
5265 // (get) Token: 0x06001E15 RID: 7701 RVA: 0x000AB600 File Offset: 0x000A9800
5266 public static Player LocalPlayer
5267 {
5268 get
5269 {
5270 /*
5271An exception occurred when decompiling this method (06001E15)
5272
5273ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.Player Terraria.Main::get_LocalPlayer()
5274
5275 ---> System.Exception: Basic block has to end with unconditional control flow.
5276{
5277 IL_0003:
5278 stloc:int32(var_0_08, callgetter:int32(Main::get_myPlayer))
5279}
5280
5281 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
5282 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
5283 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
5284 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
5285 --- End of inner exception stack trace ---
5286 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
5287 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
5288*/;
5289 }
5290 }
5291
5292 // Token: 0x170004C0 RID: 1216
5293 // (get) Token: 0x06001E16 RID: 7702 RVA: 0x000AB618 File Offset: 0x000A9818
5295 {
5296 get
5297 {
5298 /*
5299An exception occurred when decompiling this method (06001E16)
5300
5301ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.GameContent.Creative.CreativeUnlocksTracker Terraria.Main::get_LocalPlayerCreativeTracker()
5302
5303 ---> System.Exception: Basic block has to end with unconditional control flow.
5304{
5305 IL_0003:
5306 stloc:int32(var_0_08, callgetter:int32(Main::get_myPlayer))
5307}
5308
5309 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
5310 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
5311 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
5312 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
5313 --- End of inner exception stack trace ---
5314 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
5315 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
5316*/;
5317 }
5318 }
5319
5320 // Token: 0x06001E17 RID: 7703 RVA: 0x000AB630 File Offset: 0x000A9830
5321 public static void SetGraphicsProfile(GraphicsProfile profile, bool forceSet)
5322 {
5323 if (!true)
5324 {
5325 }
5326 }
5327
5328 // Token: 0x06001E18 RID: 7704 RVA: 0x000AB640 File Offset: 0x000A9840
5329 private static void SetGraphicsProfileInternal()
5330 {
5331 }
5332
5333 // Token: 0x06001E19 RID: 7705 RVA: 0x000AB650 File Offset: 0x000A9850
5334 private static void TrySupporting8K()
5335 {
5336 }
5337
5338 // Token: 0x06001E1A RID: 7706 RVA: 0x000AB660 File Offset: 0x000A9860
5339 public static void AnglerQuestSwap()
5340 {
5341 if (!true)
5342 {
5343 }
5344 }
5345
5346 // Token: 0x170004C1 RID: 1217
5347 // (get) Token: 0x06001E1B RID: 7707 RVA: 0x000AB6A0 File Offset: 0x000A98A0
5348 public static string playerPathName
5349 {
5350 get
5351 {
5352 if (!true)
5353 {
5354 }
5356 }
5357 }
5358
5359 // Token: 0x170004C2 RID: 1218
5360 // (get) Token: 0x06001E1C RID: 7708 RVA: 0x000AB6BC File Offset: 0x000A98BC
5361 public static string worldPathName
5362 {
5363 get
5364 {
5365 /*
5366An exception occurred when decompiling this method (06001E1C)
5367
5368ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String Terraria.Main::get_worldPathName()
5369
5370 ---> System.Exception: Basic block has to end with unconditional control flow.
5371{
5372 IL_0000:
5373 brtrue(IL_0000, ldc.i4:bool(1))
5374}
5375
5376 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
5377 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
5378 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
5379 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
5380 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
5381 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
5382 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
5383 --- End of inner exception stack trace ---
5384 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
5385 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
5386*/;
5387 }
5388 }
5389
5390 // Token: 0x170004C3 RID: 1219
5391 // (get) Token: 0x06001E1D RID: 7709 RVA: 0x000021DB File Offset: 0x000003DB
5392 // (set) Token: 0x06001E1E RID: 7710 RVA: 0x000AB6CC File Offset: 0x000A98CC
5394 {
5395 get
5396 {
5397 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
5398 }
5399 set
5400 {
5401 }
5402 }
5403
5404 // Token: 0x170004C4 RID: 1220
5405 // (get) Token: 0x06001E1F RID: 7711 RVA: 0x000AB6DC File Offset: 0x000A98DC
5406 public static bool NetClientOnly
5407 {
5408 get
5409 {
5410 /*
5411An exception occurred when decompiling this method (06001E1F)
5412
5413ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_NetClientOnly()
5414
5415 ---> System.Exception: Basic block has to end with unconditional control flow.
5416{
5417 IL_0000:
5418 brtrue(IL_0000, ldc.i4:bool(1))
5419}
5420
5421 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
5422 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
5423 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
5424 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
5425 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
5426 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
5427 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
5428 --- End of inner exception stack trace ---
5429 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
5430 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
5431*/;
5432 }
5433 }
5434
5435 // Token: 0x170004C5 RID: 1221
5436 // (get) Token: 0x06001E20 RID: 7712 RVA: 0x000AB6EC File Offset: 0x000A98EC
5437 public static bool NetClient
5438 {
5439 get
5440 {
5441 /*
5442An exception occurred when decompiling this method (06001E20)
5443
5444ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_NetClient()
5445
5446 ---> System.Exception: Basic block has to end with unconditional control flow.
5447{
5448 IL_0000:
5449 brtrue(IL_0000, ldc.i4:bool(1))
5450}
5451
5452 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
5453 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
5454 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
5455 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
5456 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
5457 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
5458 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
5459 --- End of inner exception stack trace ---
5460 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
5461 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
5462*/;
5463 }
5464 }
5465
5466 // Token: 0x170004C6 RID: 1222
5467 // (get) Token: 0x06001E21 RID: 7713 RVA: 0x000AB6FC File Offset: 0x000A98FC
5468 public static bool LogicHost
5469 {
5470 get
5471 {
5472 if (!true)
5473 {
5474 }
5475 return Main.NetClientOnly;
5476 }
5477 }
5478
5479 // Token: 0x170004C7 RID: 1223
5480 // (get) Token: 0x06001E22 RID: 7714 RVA: 0x000AB714 File Offset: 0x000A9914
5481 public static bool NetHostOnly
5482 {
5483 get
5484 {
5485 /*
5486An exception occurred when decompiling this method (06001E22)
5487
5488ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_NetHostOnly()
5489
5490 ---> System.Exception: Basic block has to end with unconditional control flow.
5491{
5492 IL_0000:
5493 brtrue(IL_0000, ldc.i4:bool(1))
5494}
5495
5496 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
5497 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
5498 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
5499 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
5500 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
5501 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
5502 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
5503 --- End of inner exception stack trace ---
5504 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
5505 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
5506*/;
5507 }
5508 }
5509
5510 // Token: 0x170004C8 RID: 1224
5511 // (get) Token: 0x06001E23 RID: 7715 RVA: 0x000AB724 File Offset: 0x000A9924
5512 public static bool LogicClient
5513 {
5514 get
5515 {
5516 /*
5517An exception occurred when decompiling this method (06001E23)
5518
5519ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_LogicClient()
5520
5521 ---> System.Exception: Basic block has to end with unconditional control flow.
5522{
5523 IL_0000:
5524 brtrue(IL_0000, ldc.i4:bool(1))
5525}
5526
5527 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
5528 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
5529 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
5530 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
5531 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
5532 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
5533 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
5534 --- End of inner exception stack trace ---
5535 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
5536 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
5537*/;
5538 }
5539 }
5540
5541 // Token: 0x170004C9 RID: 1225
5542 // (get) Token: 0x06001E24 RID: 7716 RVA: 0x000AB734 File Offset: 0x000A9934
5543 public static bool NetHost
5544 {
5545 get
5546 {
5547 /*
5548An exception occurred when decompiling this method (06001E24)
5549
5550ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_NetHost()
5551
5552 ---> System.Exception: Basic block has to end with unconditional control flow.
5553{
5554 IL_0000:
5555 brtrue(IL_0000, ldc.i4:bool(1))
5556}
5557
5558 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
5559 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
5560 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
5561 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
5562 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
5563 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
5564 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
5565 --- End of inner exception stack trace ---
5566 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
5567 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
5568*/;
5569 }
5570 }
5571
5572 // Token: 0x170004CA RID: 1226
5573 // (get) Token: 0x06001E25 RID: 7717 RVA: 0x000AB744 File Offset: 0x000A9944
5574 public static bool NetClientHost
5575 {
5576 get
5577 {
5578 /*
5579An exception occurred when decompiling this method (06001E25)
5580
5581ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_NetClientHost()
5582
5583 ---> System.Exception: Basic block has to end with unconditional control flow.
5584{
5585 IL_0000:
5586 brtrue(IL_0000, ldc.i4:bool(1))
5587}
5588
5589 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
5590 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
5591 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
5592 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
5593 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
5594 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
5595 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
5596 --- End of inner exception stack trace ---
5597 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
5598 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
5599*/;
5600 }
5601 }
5602
5603 // Token: 0x170004CB RID: 1227
5604 // (get) Token: 0x06001E26 RID: 7718 RVA: 0x000AB754 File Offset: 0x000A9954
5605 // (set) Token: 0x06001E27 RID: 7719 RVA: 0x000AB764 File Offset: 0x000A9964
5606 public static bool SmartCursorIsUsed
5607 {
5608 get
5609 {
5610 bool flag;
5611 return flag;
5612 }
5613 set
5614 {
5615 }
5616 }
5617
5618 // Token: 0x170004CC RID: 1228
5619 // (get) Token: 0x06001E28 RID: 7720 RVA: 0x000AB774 File Offset: 0x000A9974
5620 // (set) Token: 0x06001E29 RID: 7721 RVA: 0x000AB784 File Offset: 0x000A9984
5621 public static bool SmartCursorWanted
5622 {
5623 get
5624 {
5625 bool flag;
5626 return flag;
5627 }
5628 set
5629 {
5630 }
5631 }
5632
5633 // Token: 0x170004CD RID: 1229
5634 // (get) Token: 0x06001E2A RID: 7722 RVA: 0x000AB794 File Offset: 0x000A9994
5635 public static bool HasSmartInteractTarget
5636 {
5637 get
5638 {
5639 if (!true)
5640 {
5641 }
5643 return true;
5644 }
5645 }
5646
5647 // Token: 0x06001E2B RID: 7723 RVA: 0x000AB7C8 File Offset: 0x000A99C8
5649 {
5650 if (!true)
5651 {
5652 }
5653 }
5654
5655 // Token: 0x06001E2C RID: 7724 RVA: 0x000AB7D8 File Offset: 0x000A99D8
5657 {
5658 if (!true)
5659 {
5660 }
5661 }
5662
5663 // Token: 0x06001E2D RID: 7725 RVA: 0x000AB7E8 File Offset: 0x000A99E8
5664 public static void UpdateWorldPreparationState()
5665 {
5666 if (!true)
5667 {
5668 }
5669 bool logicHost = Main.LogicHost;
5670 }
5671
5672 // Token: 0x06001E2E RID: 7726 RVA: 0x000AB834 File Offset: 0x000A9A34
5673 public static bool InSmartCursorHighlightArea(int x, int y, [Out] bool actuallySelected)
5674 {
5675 if (!true)
5676 {
5677 }
5679 y.m_value = 1;
5680 if (true)
5681 {
5682 }
5683 if (!true)
5684 {
5685 }
5691 }
5692
5693 // Token: 0x06001E2F RID: 7727 RVA: 0x000021DB File Offset: 0x000003DB
5694 public static byte[] Decompress(byte[] inputData, int outputSize)
5695 {
5696 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
5697 }
5698
5699 // Token: 0x06001E30 RID: 7728 RVA: 0x000AB884 File Offset: 0x000A9A84
5700 public static void LoadWorlds()
5701 {
5702 int num = 1;
5704 if (num == 0)
5705 {
5706 }
5709 string[] files = FileUtilities.GetFiles(Main.WorldPath, "*.wld");
5710 long num2 = 0L;
5711 if (WorldFile.GetAllMetadata(files, num2 != 0L) != null)
5712 {
5713 int stringLength = files._stringLength;
5714 return;
5715 }
5716 int stringLength2 = files._stringLength;
5717 }
5718
5719 // Token: 0x06001E31 RID: 7729 RVA: 0x000ABA70 File Offset: 0x000A9C70
5721 {
5722 int num;
5723 if (data1 != null && data1.Name != null)
5724 {
5725 return num;
5726 }
5727 return num;
5728 }
5729
5730 // Token: 0x06001E32 RID: 7730 RVA: 0x000021DB File Offset: 0x000003DB
5731 public static void LoadPlayers()
5732 {
5733 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
5734 }
5735
5736 // Token: 0x06001E33 RID: 7731 RVA: 0x000ABA8C File Offset: 0x000A9C8C
5738 {
5739 string name = data1.Name;
5740 int num;
5741 return num;
5742 }
5743
5744 // Token: 0x06001E34 RID: 7732 RVA: 0x000ABAA4 File Offset: 0x000A9CA4
5745 public void OpenRecent()
5746 {
5747 int num = 1;
5748 if (num == 0)
5749 {
5750 }
5751 string savePath = Main.SavePath;
5752 if (num == 0)
5753 {
5754 }
5755 string text2;
5756 string text = savePath + text2 + "dedServers.dat";
5757 if (num == 0)
5758 {
5759 }
5760 long num2 = 0L;
5761 bool flag = FileUtilities.Exists(text, num2 != 0L);
5762 if (num == 0)
5763 {
5764 }
5765 string savePath2 = Main.SavePath;
5766 if (num == 0)
5767 {
5768 }
5769 string text4;
5770 string text3 = savePath2 + text4 + "dedServers.dat";
5771 if (num == 0)
5772 {
5773 }
5774 long num3 = 0L;
5775 byte[] array = FileUtilities.ReadAllBytes(text3, num3 != 0L);
5776 }
5777
5778 // Token: 0x06001E35 RID: 7733 RVA: 0x000ABBC4 File Offset: 0x000A9DC4
5779 public static void SaveRecent()
5780 {
5781 if (!true)
5782 {
5783 }
5785 string text2;
5786 string text = Main.SavePath + text2 + "dedServers.dat";
5787 string text4;
5788 string text3 = Main.SavePath + text4 + "dedServers.dat";
5789 }
5790
5791 // Token: 0x06001E36 RID: 7734 RVA: 0x000ABC8C File Offset: 0x000A9E8C
5792 public static bool SaveSettings()
5793 {
5794 int num = 1;
5795 if (num == 0)
5796 {
5797 }
5799 if (num == 0)
5800 {
5801 }
5803 Preferences configuration = Main.Configuration;
5804 bool mapEnabled = Main.mapEnabled;
5809 bool autoSave = Main.autoSave;
5823 if (!true)
5824 {
5825 }
5828 if ("CameraMovementMode" != null)
5829 {
5830 }
5840 string text;
5841 Main.Configuration.Put("PlayerResourcesSet", text);
5842 string text2;
5843 Main.Configuration.Put("MinimapFrame", text2);
5855 configuration29.Put("TouchControlsProfile", id);
5869 int qaStyle = Main.qaStyle;
5920 bool thickMouse = Main.ThickMouse;
5926 int num2 = 1;
5927 if (num2 == 0)
5928 {
5929 }
5930 if (num2 == 0)
5931 {
5932 }
5933 if (num2 == 0)
5934 {
5935 }
5936 int width = Screen.width;
5937 int width2 = Screen.width;
5938 int height = Screen.height;
5939 int height2 = Screen.height;
5950 if (!true)
5951 {
5952 }
5954 if (!true)
5955 {
5956 }
5958 if (!true)
5959 {
5960 }
5962 if (!true)
5963 {
5964 }
5966 if (!true)
5967 {
5968 }
5970 if (!true)
5971 {
5972 }
5974 if (!true)
5975 {
5976 }
5978 bool enabled = ScreenPostProcessor.Enabled;
6000 int num3 = 45683;
6001 if ("AutoSaveFrequency" == null)
6002 {
6003 }
6005 if (num3 == 0)
6006 {
6007 }
6014 int num4 = 1;
6015 return configuration105.Save(num4 != 0);
6016 }
6017
6018 // Token: 0x06001E37 RID: 7735 RVA: 0x000AC1CC File Offset: 0x000AA3CC
6019 protected void CheckBunny()
6020 {
6021 if (!true)
6022 {
6023 }
6024 }
6025
6026 // Token: 0x06001E38 RID: 7736 RVA: 0x000AC1DC File Offset: 0x000AA3DC
6027 public void ResetSettings()
6028 {
6029 if (!true)
6030 {
6031 }
6032 string text2;
6033 string text = Main.SavePath + text2 + "config.json";
6034 long num = 0L;
6035 bool flag = FileUtilities.Exists(text, num != 0L);
6036 string text4;
6037 string text3 = Main.SavePath + text4 + "config.json";
6038 long num2 = 0L;
6041 bool flag2 = Main.SaveSettings();
6042 }
6043
6044 // Token: 0x06001E39 RID: 7737 RVA: 0x000AC238 File Offset: 0x000AA438
6045 private static void TryPickingDefaultUIScale(float displayHeight)
6046 {
6047 if (!true)
6048 {
6049 }
6050 Preferences configuration = Main.Configuration;
6051 bool flag = Main.Configuration.Save(true);
6052 }
6053
6054 // Token: 0x170004CE RID: 1230
6055 // (get) Token: 0x06001E3B RID: 7739 RVA: 0x000AC278 File Offset: 0x000AA478
6056 // (set) Token: 0x06001E3A RID: 7738 RVA: 0x000AC25C File Offset: 0x000AA45C
6057 public static bool Setting_Target60FPS
6058 {
6059 get
6060 {
6061 /*
6062An exception occurred when decompiling this method (06001E3B)
6063
6064ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_Setting_Target60FPS()
6065
6066 ---> System.Exception: Basic block has to end with unconditional control flow.
6067{
6068 IL_0000:
6069 brtrue(IL_0000, ldc.i4:bool(1))
6070}
6071
6072 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
6073 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
6074 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
6075 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
6076 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
6077 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
6078 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
6079 --- End of inner exception stack trace ---
6080 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
6081 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
6082*/;
6083 }
6084 set
6085 {
6086 if (!true)
6087 {
6088 }
6089 }
6090 }
6091
6092 // Token: 0x06001E3C RID: 7740 RVA: 0x000AC288 File Offset: 0x000AA488
6093 public void LoadSettings(bool allowLoad = true)
6094 {
6095 }
6096
6097 // Token: 0x06001E3D RID: 7741 RVA: 0x000ACA10 File Offset: 0x000AAC10
6098 protected void OpenLegacySettings()
6099 {
6100 int num = 1;
6101 if (num == 0)
6102 {
6103 }
6104 string savePath = Main.SavePath;
6105 if (num == 0)
6106 {
6107 }
6108 string text2;
6109 string text = savePath + text2 + "config.dat";
6110 if (num == 0)
6111 {
6112 }
6113 long num2 = 0L;
6114 bool flag = FileUtilities.Exists(text, num2 != 0L);
6115 if (num == 0)
6116 {
6117 }
6118 string savePath2 = Main.SavePath;
6119 if (num == 0)
6120 {
6121 }
6122 string text4;
6123 string text3 = savePath2 + text4 + "config.dat";
6124 if (num == 0)
6125 {
6126 }
6127 long num3 = 0L;
6128 byte[] array = FileUtilities.ReadAllBytes(text3, num3 != 0L);
6129 long num4 = 0L;
6131 Main.SetDisplayMode(0, 0, num4 != 0L);
6132 if (!false)
6133 {
6134 }
6135 Main.autoSave = false;
6136 if (!false)
6137 {
6138 }
6140 if (!false)
6141 {
6142 }
6143 Main.showItemText = false;
6144 if (!false)
6145 {
6146 }
6147 Main.qaStyle = 1073741824;
6148 if (1073741824 == 0)
6149 {
6150 }
6151 Main.BackgroundEnabled = false;
6152 if (!false)
6153 {
6154 }
6155 if (!false)
6156 {
6157 }
6158 if (!false)
6159 {
6160 }
6161 Main.mapEnabled = false;
6162 if (!false)
6163 {
6164 }
6166 if (!false)
6167 {
6168 }
6170 if (!false)
6171 {
6172 }
6173 Main.placementPreview = false;
6174 if (!false)
6175 {
6176 }
6177 Main.placementPreview = false;
6178 if (!false)
6179 {
6180 }
6181 Main.SetFullScreen(false);
6182 long num5 = 0L;
6183 if (false)
6184 {
6185 return;
6186 }
6187 if (num5 == 0L)
6188 {
6189 return;
6190 }
6191 throw new OutOfMemoryException();
6192 }
6193
6194 // Token: 0x06001E3E RID: 7742 RVA: 0x000ACB8C File Offset: 0x000AAD8C
6195 public static void UpdateTrialMode()
6196 {
6197 if (!true)
6198 {
6199 }
6200 if (!true || !true)
6201 {
6202 }
6203 }
6204
6205 // Token: 0x06001E3F RID: 7743 RVA: 0x000ACBA4 File Offset: 0x000AADA4
6206 public static bool IsTrialMode()
6207 {
6208 if (!true)
6209 {
6210 }
6211 return true;
6212 }
6213
6214 // Token: 0x06001E40 RID: 7744 RVA: 0x000021DB File Offset: 0x000003DB
6215 public static void ErasePlayer(int i)
6216 {
6217 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
6218 }
6219
6220 // Token: 0x06001E41 RID: 7745 RVA: 0x000ACBB8 File Offset: 0x000AADB8
6221 public static void EraseWorld(int i)
6222 {
6223 int num = 1;
6224 if (num == 0)
6225 {
6226 }
6227 if (num != 0)
6228 {
6229 return;
6230 }
6231 long num2 = 0L;
6232 string text;
6234 if (".bak" == null)
6235 {
6236 }
6237 Main.LoadWorlds();
6238 }
6239
6240 // Token: 0x06001E42 RID: 7746 RVA: 0x000ACBF0 File Offset: 0x000AADF0
6241 public static string GetPlayerPathFromName(string playerName, bool cloudSave)
6242 {
6243 if (!true)
6244 {
6245 }
6247 string text2;
6248 string text = text2.Replace("*", "_").Replace("?", "_").Replace("/", "_")
6249 .Replace("\\", "_")
6250 .Replace(">", "_")
6251 .Replace("<", "_")
6252 .Replace(":", "_")
6253 .Replace("|", "_");
6254 int stringLength = text._stringLength;
6255 long num = 0L;
6256 char c = text[(int)num];
6257 string text4;
6258 string text3 = "" + text4;
6259 if (text._stringLength != 0)
6260 {
6261 }
6262 string playerPath = Main.PlayerPath;
6263 string text6;
6264 string text5 = playerPath + text6 + text3 + ".plr";
6265 string text7 = text3 + "_";
6266 string text9;
6267 string text8 = playerPath + text9 + text7 + ".plr";
6268 string text10;
6269 string text11;
6270 if ((playerPath == null || playerPath != null) && (text10 == null || text10 != null) && (text7 == null || text7 != null) && (text11 == null || text11 != null) && (".plr" == null || ".plr" != null))
6271 {
6272 long num2 = 0L;
6273 string text12;
6274 bool flag = FileUtilities.Exists(text12, num2 != 0L);
6275 string text14;
6276 string text13 = text7 + text14;
6277 string text15;
6278 return playerPath + text15 + text13 + ".plr";
6279 }
6280 throw new ArrayTypeMismatchException();
6281 }
6282
6283 // Token: 0x06001E43 RID: 7747 RVA: 0x000ACD48 File Offset: 0x000AAF48
6284 public static string GetWorldNameFromPath(string filename)
6285 {
6286 /*
6287An exception occurred when decompiling this method (06001E43)
6288
6289ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String Terraria.Main::GetWorldNameFromPath(System.String)
6290
6291 ---> System.Exception: Basic block has to end with unconditional control flow.
6292{
6293 IL_0003:
6294 brtrue(IL_0000, logicnot:bool(ldc.i4:bool(1)))
6295}
6296
6297 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
6298 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
6299 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
6300 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
6301 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
6302 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
6303 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
6304 --- End of inner exception stack trace ---
6305 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
6306 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
6307*/;
6308 }
6309
6310 // Token: 0x06001E44 RID: 7748 RVA: 0x000ACD5C File Offset: 0x000AAF5C
6311 public static string GetPlayerNameFromPath(string filename)
6312 {
6313 do
6314 {
6315 if (!true)
6316 {
6317 }
6318 }
6319 while (Main.ActivePlayerFileData == null);
6320 if (!true)
6321 {
6322 }
6324 }
6325
6326 // Token: 0x06001E45 RID: 7749 RVA: 0x000ACD80 File Offset: 0x000AAF80
6327 public static string GetWorldPathFromName(string worldName, bool cloudSave)
6328 {
6329 if (!true)
6330 {
6331 }
6333 string text;
6334 return ("" + text).Replace(".", "_").Replace("*", "_").Replace("?", "_")
6335 .Replace("/", "_")
6336 .Replace("\\", "_")
6337 .Replace(">", "_")
6338 .Replace("<", "_")
6339 .Replace(":", "_")
6340 .Replace("|", "_");
6341 }
6342
6343 // Token: 0x06001E46 RID: 7750 RVA: 0x000ACECC File Offset: 0x000AB0CC
6345 {
6346 if (!true)
6347 {
6348 }
6349 int num = Convert.ToInt32(rollBacksToKeep);
6350 }
6351
6352 // Token: 0x06001E47 RID: 7751 RVA: 0x000ACEE4 File Offset: 0x000AB0E4
6353 public void autoCreate(string worldSize)
6354 {
6355 int num = 1;
6356 bool flag = worldSize == "0";
6357 if (num == 0)
6358 {
6359 }
6360 }
6361
6362 // Token: 0x06001E48 RID: 7752 RVA: 0x000ACF40 File Offset: 0x000AB140
6363 public void NewMOTD(string newMOTD)
6364 {
6365 if (!true)
6366 {
6367 }
6368 }
6369
6370 // Token: 0x06001E49 RID: 7753 RVA: 0x000ACF50 File Offset: 0x000AB150
6371 public static string ConvertToSafeArgument(string arg)
6372 {
6373 if (!true)
6374 {
6375 }
6376 string text;
6377 return text;
6378 }
6379
6380 // Token: 0x06001E4A RID: 7754 RVA: 0x000ACF64 File Offset: 0x000AB164
6381 public static string ConvertFromSafeArgument(string arg)
6382 {
6383 if (!true)
6384 {
6385 }
6386 string text;
6387 return text;
6388 }
6389
6390 // Token: 0x06001E4B RID: 7755 RVA: 0x000ACF78 File Offset: 0x000AB178
6391 public void LoadDedConfig(string configPath)
6392 {
6393 if (!true)
6394 {
6395 }
6396 long num = 0L;
6397 bool flag = FileUtilities.Exists(configPath, num != 0L);
6398 string text;
6399 bool flag2 = text.ToLower() == "world=";
6400 string text2;
6401 bool flag3 = text2.ToLower() == "port=";
6402 if ("port=" == null)
6403 {
6404 }
6405 string text3;
6406 int num2 = Convert.ToInt32(text3);
6407 if ("port=" == null)
6408 {
6409 }
6410 string text4;
6411 bool flag4 = text4.ToLower() == "worldrollbackstokeep=";
6412 if ("worldrollbackstokeep=" == null)
6413 {
6414 }
6415 string text5;
6416 int num3 = Convert.ToInt32(text5);
6417 if ("worldrollbackstokeep=" == null)
6418 {
6419 }
6420 string text6;
6421 bool flag5 = text6.ToLower() == "maxplayers=";
6422 if ("maxplayers=" == null)
6423 {
6424 }
6425 string text7;
6426 int num4 = Convert.ToInt32(text7);
6427 string text8;
6428 bool flag6 = text8.ToLower() == "priority=";
6429 string text9;
6430 int num5 = Convert.ToInt32(text9);
6431 string text10;
6432 bool flag7 = text10.ToLower() == "password=";
6433 if ("password=" == null)
6434 {
6435 }
6436 string text12;
6438 if ("password=" == null)
6439 {
6440 }
6441 string text13;
6442 bool flag8 = text13.ToLower() == "motd=";
6443 if ("motd=" == null)
6444 {
6445 }
6446 string text14;
6447 bool flag9 = text14.ToLower() == "lang=";
6448 string text15;
6449 int num6 = Convert.ToInt32(text15);
6450 string text16;
6451 bool flag10 = text16.ToLower() == "language=";
6452 string text17;
6453 bool flag11 = text17.ToLower() == "seed=";
6454 if ("seed=" == null)
6455 {
6456 }
6457 string text18;
6458 bool flag12 = text18.ToLower() == "banlist=";
6459 string text19;
6460 bool flag13 = text19.ToLower() == "secure=";
6461 string text20;
6462 bool flag14 = text20 == "1";
6463 if ("secure=" == null)
6464 {
6465 }
6466 string text21;
6467 bool flag15 = text21.ToLower() == "upnp=";
6468 string text22;
6469 bool flag16 = text22 != "1";
6470 if ("upnp=" == null)
6471 {
6472 }
6473 string text23;
6474 bool flag17 = text23.ToLower() == "slowliquids=";
6475 string text24;
6476 bool flag18 = text24 == "1";
6477 if ("upnp=" == null)
6478 {
6479 }
6480 string text25;
6481 bool flag19 = text25.ToLower() == "npcstream=";
6482 if ("npcstream=" == null)
6483 {
6484 }
6485 string text26;
6486 int num7 = Convert.ToInt32(text26);
6487 if ("npcstream=" == null)
6488 {
6489 }
6490 }
6491
6492 // Token: 0x06001E4C RID: 7756 RVA: 0x000AD3D4 File Offset: 0x000AB5D4
6493 public void SetNetPlayers(int mPlayers)
6494 {
6495 if (!true)
6496 {
6497 }
6498 }
6499
6500 // Token: 0x06001E4D RID: 7757 RVA: 0x000AD3E4 File Offset: 0x000AB5E4
6501 public void SetWorld(string world, bool cloud)
6502 {
6503 if (!true)
6504 {
6505 }
6506 }
6507
6508 // Token: 0x06001E4E RID: 7758 RVA: 0x000AD3F4 File Offset: 0x000AB5F4
6509 public void SetWorldName(string world)
6510 {
6511 if (!true)
6512 {
6513 }
6514 }
6515
6516 // Token: 0x06001E4F RID: 7759 RVA: 0x000AD404 File Offset: 0x000AB604
6518 {
6519 if (!true)
6520 {
6521 }
6522 }
6523
6524 // Token: 0x06001E50 RID: 7760 RVA: 0x000AD414 File Offset: 0x000AB614
6525 public void AutoPass()
6526 {
6527 if (!true)
6528 {
6529 }
6530 }
6531
6532 // Token: 0x06001E51 RID: 7761 RVA: 0x000AD424 File Offset: 0x000AB624
6533 public void AutoJoin(string IP)
6534 {
6535 if (!true)
6536 {
6537 }
6538 if (!true)
6539 {
6540 }
6541 bool flag = Netplay.SetRemoteIP(IP);
6542 }
6543
6544 // Token: 0x06001E52 RID: 7762 RVA: 0x000AD440 File Offset: 0x000AB640
6545 public void AutoHost()
6546 {
6547 if (!true)
6548 {
6549 }
6551 Main.menuMode = 1;
6552 }
6553
6554 // Token: 0x06001E53 RID: 7763 RVA: 0x000AD45C File Offset: 0x000AB65C
6555 public void loadLib(string path)
6556 {
6557 if (!true)
6558 {
6559 }
6560 IntPtr intPtr = Main.LoadLibrary(path);
6561 }
6562
6563 // Token: 0x06001E54 RID: 7764 RVA: 0x000AD474 File Offset: 0x000AB674
6564 public void NeverSleep()
6565 {
6566 }
6567
6568 // Token: 0x06001E55 RID: 7765 RVA: 0x000AD484 File Offset: 0x000AB684
6569 public void YouCanSleepNow()
6570 {
6571 }
6572
6573 // Token: 0x06001E56 RID: 7766 RVA: 0x000AD494 File Offset: 0x000AB694
6574 public static void RunServerCallBack(object threadContext)
6575 {
6576 int num = 1;
6577 if (num == 0)
6578 {
6579 }
6580 if (num == 0)
6581 {
6582 }
6583 if (256 == 0)
6584 {
6585 }
6587 }
6588
6589 // Token: 0x06001E57 RID: 7767 RVA: 0x000AD4E4 File Offset: 0x000AB6E4
6590 public static void RunDedServ(string worldName, string password)
6591 {
6592 if (!true)
6593 {
6594 }
6595 if (!true)
6596 {
6597 }
6598 if (!true)
6599 {
6600 }
6601 long num = 0L;
6602 if (WorldFile.GetAllMetadata(worldName, num != 0L) == null)
6603 {
6604 long num2 = 0L;
6606 if (!true)
6607 {
6608 }
6609 }
6610 if (!true)
6611 {
6612 }
6613 }
6614
6615 // Token: 0x06001E58 RID: 7768 RVA: 0x000AD518 File Offset: 0x000AB718
6616 public void DedServ()
6617 {
6618 int num = 1;
6619 long num2 = 0L;
6620 if (num == 0)
6621 {
6622 }
6624 Debug.Log(Language.GetTextValue("CLI.Server", num2));
6625 Debug.Log("");
6626 }
6627
6628 // Token: 0x06001E59 RID: 7769 RVA: 0x000AD6B0 File Offset: 0x000AB8B0
6630 {
6631 if (!true)
6632 {
6633 }
6634 if (true)
6635 {
6636 return;
6637 }
6638 }
6639
6640 // Token: 0x06001E5A RID: 7770 RVA: 0x000AD6C4 File Offset: 0x000AB8C4
6641 public static void startDedInput()
6642 {
6643 }
6644
6645 // Token: 0x06001E5B RID: 7771 RVA: 0x000AD6D4 File Offset: 0x000AB8D4
6646 public static void startDedInputCallBack()
6647 {
6648 Console.Write(": ");
6649 string text = Main.ReadLineInput().ToLower();
6650 string textValue = Language.GetTextValue("CLI.Help_Command");
6651 bool flag = text == textValue;
6652 Console.WriteLine(Language.GetTextValue("CLI.AvailableCommands"));
6653 Console.WriteLine("");
6654 }
6655
6656 // Token: 0x06001E5C RID: 7772 RVA: 0x000ADF44 File Offset: 0x000AC144
6657 private static string ReadLineInput()
6658 {
6659 if (!true)
6660 {
6661 }
6662 string text = Console.ReadLine();
6663 while (text == null)
6664 {
6665 }
6666 return text;
6667 }
6668
6669 // Token: 0x06001E5D RID: 7773 RVA: 0x000ADF60 File Offset: 0x000AC160
6670 public static bool IsFastForwardingTime()
6671 {
6672 if (!true)
6673 {
6674 }
6675 return true;
6676 }
6677
6678 // Token: 0x06001E5E RID: 7774 RVA: 0x000ADF74 File Offset: 0x000AC174
6679 public static void Sundialing()
6680 {
6681 if (!true)
6682 {
6683 }
6684 int myPlayer = Main.myPlayer;
6685 }
6686
6687 // Token: 0x06001E5F RID: 7775 RVA: 0x000ADF8C File Offset: 0x000AC18C
6688 public static void Moondialing()
6689 {
6690 if (!true)
6691 {
6692 }
6693 int myPlayer = Main.myPlayer;
6694 }
6695
6696 // Token: 0x06001E60 RID: 7776 RVA: 0x000ADFA4 File Offset: 0x000AC1A4
6697 public static void UpdateTimeRate()
6698 {
6699 int num = 1;
6700 if (num == 0)
6701 {
6702 }
6703 bool flag = Main.IsFastForwardingTime();
6704 if (num == 0)
6705 {
6706 }
6707 }
6708
6709 // Token: 0x06001E61 RID: 7777 RVA: 0x000AE000 File Offset: 0x000AC200
6710 public Main()
6711 {
6712 if (!true)
6713 {
6714 }
6715 int num = 16256;
6716 int num2 = 210;
6717 this.chestLootScale = (float)num;
6718 this.chestStackScale = (float)num;
6719 this.chestDepositScale = (float)num;
6720 this.chestRenameScale = (float)num;
6721 this.chestCancelScale = (float)num;
6723 this.logoScaleSpeed = (float)num;
6724 int num3 = 1;
6726 base..ctor();
6727 int hashCode = Guid.NewGuid().GetHashCode();
6728 if (!true)
6729 {
6730 }
6731 }
6732
6733 // Token: 0x06001E62 RID: 7778 RVA: 0x000AE08C File Offset: 0x000AC28C
6734 protected void SetTitle()
6735 {
6736 }
6737
6738 // Token: 0x06001E63 RID: 7779 RVA: 0x000AE09C File Offset: 0x000AC29C
6739 private static void SetTileValue()
6740 {
6741 if (!true)
6742 {
6743 }
6744 int num = 500;
6745 int num2 = 500;
6746 num.m_value = num2;
6747 int num3 = 600;
6748 int num4 = 610;
6750 }
6751
6752 // Token: 0x06001E64 RID: 7780 RVA: 0x000AE130 File Offset: 0x000AC330
6753 private static void ResetGameCounter()
6754 {
6755 if (!true)
6756 {
6757 }
6758 }
6759
6760 // Token: 0x06001E65 RID: 7781 RVA: 0x000AE140 File Offset: 0x000AC340
6761 protected override void Initialize()
6762 {
6763 int num = 1;
6764 if (num == 0)
6765 {
6766 }
6767 if (num == 0)
6768 {
6769 }
6770 if (("" == null || "" != null) && ("" == null || "" != null))
6771 {
6772 return;
6773 }
6774 throw new ArrayTypeMismatchException();
6775 }
6776
6777 // Token: 0x06001E66 RID: 7782 RVA: 0x000AE1C8 File Offset: 0x000AC3C8
6779 {
6780 int num = 1;
6784 this.Initialize_Entities();
6785 if (num == 0)
6786 {
6787 }
6789 if (num == 0)
6790 {
6791 }
6796 if (num == 0)
6797 {
6798 }
6799 Chest.Initialize();
6800 if (num == 0)
6801 {
6802 }
6805 if (num == 0)
6806 {
6807 }
6809 if (num == 0)
6810 {
6811 }
6813 if (num == 0)
6814 {
6815 }
6817 if (num == 0)
6818 {
6819 }
6822 if (num == 0)
6823 {
6824 }
6827 }
6828
6829 // Token: 0x06001E67 RID: 7783 RVA: 0x000AE424 File Offset: 0x000AC624
6830 private void Initialize_Entities()
6831 {
6832 if (!true)
6833 {
6834 }
6835 float[] array = this.menuItemScale;
6836 }
6837
6838 // Token: 0x06001E68 RID: 7784 RVA: 0x000AE484 File Offset: 0x000AC684
6839 private static void Initialize_Items()
6840 {
6841 }
6842
6843 // Token: 0x06001E69 RID: 7785 RVA: 0x000AE4B4 File Offset: 0x000AC6B4
6844 private static void Initialize_TileAndNPCData2()
6845 {
6846 int num = 1;
6847 if (num == 0)
6848 {
6849 }
6850 int num2 = 60;
6851 if (num == 0)
6852 {
6853 }
6854 if (num2 != 0)
6855 {
6857 return;
6858 }
6859 int num3 = 1;
6860 long num4 = 16843009L;
6861 int num5 = 257;
6862 long num6 = 16843009L;
6863 825.m_value = (int)num4;
6864 int num7 = 500;
6865 num7.m_value = (int)num4;
6866 num7.m_value = (int)num6;
6867 num7.m_value = (int)num4;
6868 num7.m_value = (int)num4;
6869 if (num5 == 0)
6870 {
6871 }
6872 if (num5 != 0)
6873 {
6874 if (num5 == 0)
6875 {
6876 }
6878 }
6879 }
6880
6881 // Token: 0x06001E6A RID: 7786 RVA: 0x000AE5B8 File Offset: 0x000AC7B8
6882 private static void AddEchoFurnitureTile(int tileId)
6883 {
6884 if (!true)
6885 {
6886 }
6887 }
6888
6889 // Token: 0x06001E6B RID: 7787 RVA: 0x000AE5CC File Offset: 0x000AC7CC
6890 private static void Initialize_TileAndNPCData1()
6891 {
6892 int num = 1;
6893 int num2 = 65535;
6894 if (num == 0)
6895 {
6896 }
6897 num.m_value = num2;
6898 if (num == 0)
6899 {
6900 }
6901 }
6902
6903 // Token: 0x06001E6C RID: 7788 RVA: 0x000AEA30 File Offset: 0x000ACC30
6926
6927 // Token: 0x06001E6D RID: 7789 RVA: 0x000AEAC0 File Offset: 0x000ACCC0
6928 private static void CacheSupportedDisplaySizes()
6929 {
6930 int num = 1;
6931 if (num == 0)
6932 {
6933 }
6934 if (num == 0)
6935 {
6936 }
6938 }
6939
6940 // Token: 0x06001E6E RID: 7790 RVA: 0x000AEB20 File Offset: 0x000ACD20
6941 public static void LoadTestLog(string logname)
6942 {
6943 }
6944
6945 // Token: 0x06001E6F RID: 7791 RVA: 0x000AEB30 File Offset: 0x000ACD30
6947 {
6948 }
6949
6950 // Token: 0x06001E70 RID: 7792 RVA: 0x000AEB40 File Offset: 0x000ACD40
6951 public static void ProcessAsyncLoad()
6952 {
6953 if (!true)
6954 {
6955 }
6956 }
6957
6958 // Token: 0x06001E71 RID: 7793 RVA: 0x000AEB54 File Offset: 0x000ACD54
6986
6987 // Token: 0x06001E72 RID: 7794 RVA: 0x000AEC0C File Offset: 0x000ACE0C
6989 {
6990 }
6991
6992 // Token: 0x06001E73 RID: 7795 RVA: 0x000AEC1C File Offset: 0x000ACE1C
6994 {
6995 }
6996
6997 // Token: 0x06001E74 RID: 7796 RVA: 0x000AEC2C File Offset: 0x000ACE2C
7002
7003 // Token: 0x06001E75 RID: 7797 RVA: 0x000AEC44 File Offset: 0x000ACE44
7021
7022 // Token: 0x06001E76 RID: 7798 RVA: 0x000AEC94 File Offset: 0x000ACE94
7024 {
7025 }
7026
7027 // Token: 0x06001E77 RID: 7799 RVA: 0x000AECA4 File Offset: 0x000ACEA4
7028 protected override void UnloadContent()
7029 {
7030 }
7031
7032 // Token: 0x06001E78 RID: 7800 RVA: 0x000AECB4 File Offset: 0x000ACEB4
7034 {
7035 if (!true)
7036 {
7037 }
7039 if (!true)
7040 {
7041 }
7042 if (!true)
7043 {
7044 }
7045 if (!true)
7046 {
7047 }
7048 if (!true)
7049 {
7050 }
7051 if (!true)
7052 {
7053 }
7054 if (!true)
7055 {
7056 }
7057 }
7058
7059 // Token: 0x06001E79 RID: 7801 RVA: 0x000AECDC File Offset: 0x000ACEDC
7061 {
7062 if (!true)
7063 {
7064 }
7065 if ("Misc.FrostMoonScore" == null)
7066 {
7067 }
7068 if ("Misc.FrostMoonScore" == null)
7069 {
7070 }
7071 }
7072
7073 // Token: 0x06001E7A RID: 7802 RVA: 0x000AED00 File Offset: 0x000ACF00
7074 public static void stopMoonEvent()
7075 {
7076 if (!true)
7077 {
7078 }
7079 if (!true)
7080 {
7081 }
7082 bool logicHost = Main.LogicHost;
7083 bool logicHost2 = Main.LogicHost;
7084 }
7085
7086 // Token: 0x06001E7B RID: 7803 RVA: 0x000AED20 File Offset: 0x000ACF20
7087 public static void startPumpkinMoon()
7088 {
7089 int num = 1;
7090 if (num == 0)
7091 {
7092 }
7093 bool logicHost = Main.LogicHost;
7094 if (num == 0)
7095 {
7096 }
7097 long num2 = 1L;
7098 if (305 == 0)
7099 {
7100 }
7101 if (num2 == 0L)
7102 {
7103 }
7104 if (num2 != 0L || num2 == 0L)
7105 {
7106 }
7107 if (num2 == 0L)
7108 {
7109 }
7110 bool netHost = Main.NetHost;
7111 }
7112
7113 // Token: 0x06001E7C RID: 7804 RVA: 0x000AED70 File Offset: 0x000ACF70
7114 public static void startSnowMoon()
7115 {
7116 int num = 1;
7117 if (num == 0)
7118 {
7119 }
7120 bool logicHost = Main.LogicHost;
7121 if (num == 0)
7122 {
7123 }
7124 long num2 = 1L;
7125 if (338 == 0)
7126 {
7127 }
7128 if (num2 == 0L)
7129 {
7130 }
7131 if (num2 != 0L || num2 == 0L)
7132 {
7133 }
7134 if (num2 == 0L)
7135 {
7136 }
7137 bool netHost = Main.NetHost;
7138 }
7139
7140 // Token: 0x06001E7D RID: 7805 RVA: 0x000AEDC4 File Offset: 0x000ACFC4
7141 public void UpdateAudio()
7142 {
7143 bool musicLoaded = this._musicLoaded;
7144 if (!musicLoaded)
7145 {
7146 return;
7147 }
7150 if (this._active)
7151 {
7152 return;
7153 }
7154 }
7155
7156 // Token: 0x170004CF RID: 1231
7157 // (get) Token: 0x06001E7E RID: 7806 RVA: 0x000AF8A0 File Offset: 0x000ADAA0
7158 public static bool IsItAHappyWindyDay
7159 {
7160 get
7161 {
7162 /*
7163An exception occurred when decompiling this method (06001E7E)
7164
7165ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_IsItAHappyWindyDay()
7166
7167 ---> System.Exception: Basic block has to end with unconditional control flow.
7168{
7169 IL_0000:
7170 brtrue(IL_0000, ldc.i4:bool(1))
7171}
7172
7173 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
7174 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
7175 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
7176 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
7177 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
7178 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
7179 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
7180 --- End of inner exception stack trace ---
7181 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
7182 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
7183*/;
7184 }
7185 }
7186
7187 // Token: 0x170004D0 RID: 1232
7188 // (get) Token: 0x06001E7F RID: 7807 RVA: 0x000AF8B0 File Offset: 0x000ADAB0
7189 public static bool IsItStorming
7190 {
7191 get
7192 {
7193 /*
7194An exception occurred when decompiling this method (06001E7F)
7195
7196ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_IsItStorming()
7197
7198 ---> System.Exception: Basic block has to end with unconditional control flow.
7199{
7200 IL_0000:
7201 brtrue(IL_0000, ldc.i4:bool(1))
7202}
7203
7204 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
7205 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
7206 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
7207 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
7208 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
7209 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
7210 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
7211 --- End of inner exception stack trace ---
7212 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
7213 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
7214*/;
7215 }
7216 }
7217
7218 // Token: 0x170004D1 RID: 1233
7219 // (get) Token: 0x06001E80 RID: 7808 RVA: 0x000AF8C0 File Offset: 0x000ADAC0
7220 public static bool WindyEnoughForKiteDrops
7221 {
7222 get
7223 {
7224 /*
7225An exception occurred when decompiling this method (06001E80)
7226
7227ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_WindyEnoughForKiteDrops()
7228
7229 ---> System.Exception: Basic block has to end with unconditional control flow.
7230{
7231 IL_0000:
7232 brtrue(IL_0000, ldc.i4:bool(1))
7233}
7234
7235 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
7236 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
7237 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
7238 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
7239 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
7240 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
7241 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
7242 --- End of inner exception stack trace ---
7243 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
7244 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
7245*/;
7246 }
7247 }
7248
7249 // Token: 0x06001E81 RID: 7809 RVA: 0x000AF8D0 File Offset: 0x000ADAD0
7251 {
7252 int num = 1;
7253 if (num == 0)
7254 {
7255 }
7256 if (num != 0)
7257 {
7261 return;
7262 }
7263 if (num == 0)
7264 {
7265 }
7270 if (num == 0)
7271 {
7272 }
7273 if (num != 0)
7274 {
7275 if (num == 0)
7276 {
7277 }
7278 return;
7279 }
7280 }
7281
7282 // Token: 0x06001E82 RID: 7810 RVA: 0x000AFDEC File Offset: 0x000ADFEC
7284 {
7285 if (!true)
7286 {
7287 }
7288 float townNPCs = Main.LocalPlayer.townNPCs;
7289 int <ShadowCandleCount>k__BackingField = Main.SceneMetrics.<ShadowCandleCount>k__BackingField;
7290 if (<ShadowCandleCount>k__BackingField == 0)
7291 {
7292 }
7293 Item[] inventory = Main.LocalPlayer.inventory;
7295 if (<ShadowCandleCount>k__BackingField == 0)
7296 {
7297 }
7298 if (<ShadowCandleCount>k__BackingField == 0)
7299 {
7300 }
7301 this.lastMusicPlayed = <ShadowCandleCount>k__BackingField;
7302 int num = this.lastMusicPlayed;
7303 if (num == 0)
7304 {
7305 }
7306 if (num == 0)
7307 {
7308 }
7309 if (num != 0)
7310 {
7314 return;
7315 }
7316 if (num == 0)
7317 {
7318 }
7323 if (num == 0)
7324 {
7325 }
7326 if (num != 0)
7327 {
7328 if (num == 0)
7329 {
7330 }
7331 return;
7332 }
7333 }
7334
7335 // Token: 0x06001E83 RID: 7811 RVA: 0x000B0628 File Offset: 0x000AE828
7336 private void UpdateWindyDayState()
7337 {
7338 if (true)
7339 {
7340 return;
7341 }
7342 if (!true)
7343 {
7344 }
7345 if (!true)
7346 {
7347 }
7348 }
7349
7350 // Token: 0x06001E84 RID: 7812 RVA: 0x000B0648 File Offset: 0x000AE848
7351 public static void snowing()
7352 {
7353 int num = 1;
7354 if (num == 0)
7355 {
7356 }
7357 if (num == 0)
7358 {
7359 if (num == 0)
7360 {
7361 }
7364 if (num == 0)
7365 {
7366 if (num == 0)
7367 {
7368 }
7369 if (Main.SceneMetrics.<SnowTileCount>k__BackingField == 0)
7370 {
7371 }
7372 int myPlayer = Main.myPlayer;
7373 if (Main.myPlayer == 0)
7374 {
7375 }
7377 int <SnowTileCount>k__BackingField = sceneMetrics.<SnowTileCount>k__BackingField;
7378 int <HoneyBlockCount>k__BackingField = sceneMetrics.<HoneyBlockCount>k__BackingField;
7380 int num2 = 32768;
7381 bool flag = NPC.IsADeerclopsNearScreen();
7382 float gfxQuality = Main.gfxQuality;
7383 int myPlayer2 = Main.myPlayer;
7384 int myPlayer3 = Main.myPlayer;
7385 int num3 = 32768;
7386 if (32640 == 0)
7387 {
7388 }
7389 int num4;
7390 if (num4 == 0)
7391 {
7392 if (num3 == 0)
7393 {
7394 }
7395 return;
7396 }
7397 if (num3 == 0)
7398 {
7399 }
7400 int num5;
7401 if (num5 != 0)
7402 {
7403 return;
7404 }
7405 if (num4 == 0)
7406 {
7407 }
7408 if (num4 == 0)
7409 {
7410 }
7411 if (num3 == 0)
7412 {
7413 }
7414 long num6 = 0L;
7415 int num7;
7416 int num8;
7417 bool flag2 = WorldGen.InWorld(num7, num8, (int)num6);
7418 Tile tile;
7419 bool flag3 = tile.nactive();
7420 Tile tile2;
7421 ushort wall = tile2.wall;
7422 if (num2 == 0)
7423 {
7424 }
7425 float num10;
7426 int num9 = Math.Sign(num10);
7427 if (num3 == 0)
7428 {
7429 }
7430 return;
7431 }
7432 }
7433 }
7434
7435 // Token: 0x06001E85 RID: 7813 RVA: 0x000B07A8 File Offset: 0x000AE9A8
7436 public static void checkXMas()
7437 {
7438 if (!true)
7439 {
7440 }
7441 int day = DateTime.Now.Day;
7442 }
7443
7444 // Token: 0x06001E86 RID: 7814 RVA: 0x000B07C8 File Offset: 0x000AE9C8
7445 public static void checkHalloween()
7446 {
7447 if (!true)
7448 {
7449 }
7450 int day = DateTime.Now.Day;
7451 int num;
7452 if (num == 0)
7453 {
7454 }
7455 }
7456
7457 // Token: 0x06001E87 RID: 7815 RVA: 0x000B07F8 File Offset: 0x000AE9F8
7458 public void updateCloudLayer()
7459 {
7460 if (!true)
7461 {
7462 }
7463 }
7464
7465 // Token: 0x06001E88 RID: 7816 RVA: 0x000B08B4 File Offset: 0x000AEAB4
7467 {
7468 }
7469
7470 // Token: 0x06001E89 RID: 7817 RVA: 0x000B0C5C File Offset: 0x000AEE5C
7471 public static void Ambience()
7472 {
7473 if (!true)
7474 {
7475 }
7477 }
7478
7479 // Token: 0x06001E8A RID: 7818 RVA: 0x000B0D00 File Offset: 0x000AEF00
7480 public static void AnimateTiles_CritterCages()
7481 {
7482 }
7483
7484 // Token: 0x06001E8B RID: 7819 RVA: 0x000B213C File Offset: 0x000B033C
7485 private static void UpdateOwlCageFrames()
7486 {
7487 if (!true)
7488 {
7489 }
7490 }
7491
7492 // Token: 0x06001E8C RID: 7820 RVA: 0x000B2154 File Offset: 0x000B0354
7493 private static void UpdateDragonflyJarFrames()
7494 {
7495 int num = 1;
7496 if (num == 0)
7497 {
7498 }
7499 if (num == 0)
7500 {
7501 }
7502 }
7503
7504 // Token: 0x06001E8D RID: 7821 RVA: 0x000B2174 File Offset: 0x000B0374
7505 private static void UpdateOwlCageFrame(int[] frames, int[] frameCounters, int style)
7506 {
7507 int num = 1;
7508 int num2 = 26215;
7509 if (num2 != 0)
7510 {
7512 return;
7513 }
7514 if (num == 0)
7515 {
7516 }
7517 int num3;
7518 while (num3 == 0)
7519 {
7520 }
7521 }
7522
7523 // Token: 0x06001E8E RID: 7822 RVA: 0x000B21AC File Offset: 0x000B03AC
7524 private static void UpdateDragonflyJarFrame(int[,] frames, int[,] frameCounters, int style, int variation)
7525 {
7526 int num;
7527 if (num == 0)
7528 {
7529 return;
7530 }
7531 }
7532
7533 // Token: 0x06001E8F RID: 7823 RVA: 0x000B21E0 File Offset: 0x000B03E0
7534 public static void DoUpdate_AnimateItemIcons()
7535 {
7536 if (!true)
7537 {
7538 }
7539 }
7540
7541 // Token: 0x06001E90 RID: 7824 RVA: 0x000B21F8 File Offset: 0x000B03F8
7543 {
7544 if (!true)
7545 {
7546 }
7547 }
7548
7549 // Token: 0x06001E91 RID: 7825 RVA: 0x000B2208 File Offset: 0x000B0408
7550 private static void ConsumeAllMainThreadActions()
7551 {
7552 if (!true)
7553 {
7554 }
7555 }
7556
7557 // Token: 0x06001E92 RID: 7826 RVA: 0x000B221C File Offset: 0x000B041C
7558 protected override void Update(GameTime gameTime)
7559 {
7560 int num = 1;
7561 if (num == 0)
7562 {
7563 }
7564 if (num == 0)
7565 {
7566 }
7567 if (num != 0)
7568 {
7569 if (num == 0)
7570 {
7571 }
7572 if (num == 0 || num == 0)
7573 {
7574 }
7575 }
7576 }
7577
7578 // Token: 0x06001E93 RID: 7827 RVA: 0x000B227C File Offset: 0x000B047C
7580 {
7581 if (!true)
7582 {
7583 }
7584 bool inFancyUI = Main.inFancyUI;
7585 if (!true)
7586 {
7587 }
7589 if (!true)
7590 {
7591 }
7593 }
7594
7595 // Token: 0x06001E94 RID: 7828 RVA: 0x000B22C0 File Offset: 0x000B04C0
7596 public static void NotifyOfEvent(GameNotificationType type)
7597 {
7598 }
7599
7600 // Token: 0x06001E95 RID: 7829 RVA: 0x000B22D0 File Offset: 0x000B04D0
7602 {
7603 int num = 1;
7604 if (num == 0)
7605 {
7606 }
7607 if (num == 0)
7608 {
7609 }
7610 this.UpdateAudio();
7611 if (gameTime.totalGameTime == null)
7612 {
7613 }
7615 }
7616
7617 // Token: 0x06001E96 RID: 7830 RVA: 0x000B28D4 File Offset: 0x000B0AD4
7618 internal static void UpdateCreativeGameModeOverride()
7619 {
7620 if (!true)
7621 {
7622 }
7623 bool gameMenu = Main.gameMenu;
7624 if (!true)
7625 {
7626 }
7627 if (true)
7628 {
7629 float <StrengthMultiplierToGiveNPCs>k__BackingField = CreativePowerManager.Instance.GetPower<CreativePowers.DifficultySliderPower>().<StrengthMultiplierToGiveNPCs>k__BackingField;
7630 }
7631 }
7632
7633 // Token: 0x06001E97 RID: 7831 RVA: 0x000B2904 File Offset: 0x000B0B04
7634 private static void TryPlayingCreditsRoll()
7635 {
7636 if (!true)
7637 {
7638 }
7639 bool gameMenu = Main.gameMenu;
7640 if (!true)
7641 {
7642 }
7643 bool flag = Main.CanPlayCreditsRoll();
7644 if (!true)
7645 {
7646 }
7647 }
7648
7649 // Token: 0x06001E98 RID: 7832 RVA: 0x000B2928 File Offset: 0x000B0B28
7650 private static bool CanPauseGame()
7651 {
7652 /*
7653An exception occurred when decompiling this method (06001E98)
7654
7655ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::CanPauseGame()
7656
7657 ---> System.Exception: Basic block has to end with unconditional control flow.
7658{
7659 IL_0024:
7660 stloc:AutoPauseMode(var_3_2B, callgetter:AutoPauseMode(Main::get_autoPause))
7661 stloc:bool(var_4_31, callgetter:bool(Main::get_playerInventory))
7662 stloc:int32(var_5_3D, ldfld:int32(Player::sign, callgetter:Player(Main::get_LocalPlayer)))
7663 brtrue(IL_0000, ldc.i4:bool(0))
7664}
7665
7666 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
7667 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
7668 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
7669 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
7670 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
7671 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
7672 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
7673 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
7674 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
7675 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
7676 --- End of inner exception stack trace ---
7677 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
7678 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
7679*/;
7680 }
7681
7682 // Token: 0x06001E99 RID: 7833 RVA: 0x000B2978 File Offset: 0x000B0B78
7683 private static void DoUpdate_WhilePaused()
7684 {
7685 int num = 1;
7686 if (num == 0)
7687 {
7688 }
7689 if (num == 0)
7690 {
7691 if (num == 0)
7692 {
7693 }
7694 bool editSign = Main.editSign;
7695 if (num == 0)
7696 {
7697 }
7698 bool editChest = Main.editChest;
7699 if (num == 0)
7700 {
7701 }
7702 bool blockInput = Main.blockInput;
7703 if (num == 0)
7704 {
7705 }
7706 int myPlayer = Main.myPlayer;
7707 int myPlayer2 = Main.myPlayer;
7708 int myPlayer3 = Main.myPlayer;
7709 int myPlayer4 = Main.myPlayer;
7710 int myPlayer5 = Main.myPlayer;
7711 return;
7712 }
7714 int myPlayer6 = Main.myPlayer;
7721 Main.focusRecipe = 0;
7722 int myPlayer7 = Main.myPlayer;
7723 int myPlayer8 = Main.myPlayer;
7724 int myPlayer9 = Main.myPlayer;
7725 int myPlayer10 = Main.myPlayer;
7726 int myPlayer11 = Main.myPlayer;
7727 int myPlayer12 = Main.myPlayer;
7728 int myPlayer13 = Main.myPlayer;
7729 int myPlayer14 = Main.myPlayer;
7730 int myPlayer15 = Main.myPlayer;
7731 int myPlayer16 = Main.myPlayer;
7732 int myPlayer17 = Main.myPlayer;
7733 int myPlayer18 = Main.myPlayer;
7734 int myPlayer19 = Main.myPlayer;
7735 int myPlayer20 = Main.myPlayer;
7736 int myPlayer21 = Main.myPlayer;
7737 int myPlayer22 = Main.myPlayer;
7738 int myPlayer23 = Main.myPlayer;
7739 int myPlayer24 = Main.myPlayer;
7740 int myPlayer25 = Main.myPlayer;
7741 int myPlayer26 = Main.myPlayer;
7742 int myPlayer27 = Main.myPlayer;
7743 bool editSign2 = Main.editSign;
7744 int num2;
7745 if (num2 != 0)
7746 {
7747 int myPlayer28 = Main.myPlayer;
7748 if (num2 == 0)
7749 {
7750 }
7752 return;
7753 }
7754 bool editChest2 = Main.editChest;
7756 int myPlayer29 = Main.myPlayer;
7757 Main.editChest = false;
7758 }
7759
7760 // Token: 0x06001E9A RID: 7834 RVA: 0x000B2B38 File Offset: 0x000B0D38
7761 private static void UpdateUIStates(GameTime gameTime)
7762 {
7763 if (!true)
7764 {
7765 }
7767 }
7768
7769 // Token: 0x06001E9B RID: 7835 RVA: 0x000B2B54 File Offset: 0x000B0D54
7770 private void DoDebugFunctions()
7771 {
7772 }
7773
7774 // Token: 0x06001E9C RID: 7836 RVA: 0x000B2B64 File Offset: 0x000B0D64
7776 {
7777 if (!true)
7778 {
7779 }
7782 }
7783
7784 // Token: 0x06001E9D RID: 7837 RVA: 0x000B2B8C File Offset: 0x000B0D8C
7786 {
7787 }
7788
7789 // Token: 0x06001E9E RID: 7838 RVA: 0x000B2B9C File Offset: 0x000B0D9C
7790 private static void TrySyncingMyPlayer()
7791 {
7792 int num = 1;
7793 if (num == 0)
7794 {
7795 }
7796 if (num == 0)
7797 {
7798 }
7799 int myPlayer = Main.myPlayer;
7800 if (num == 0)
7801 {
7802 }
7803 int myPlayer2 = Main.myPlayer;
7804 int myPlayer3 = Main.myPlayer;
7805 }
7806
7807 // Token: 0x06001E9F RID: 7839 RVA: 0x000B2E8C File Offset: 0x000B108C
7809 {
7810 long entityId = my.entityId;
7811 int num = 1;
7813 if (entityId == 0L)
7814 {
7815 }
7816 int myPlayer = Main.myPlayer;
7817 }
7818
7819 // Token: 0x06001EA0 RID: 7840 RVA: 0x000B2EB8 File Offset: 0x000B10B8
7821 {
7822 /*
7823An exception occurred when decompiling this method (06001EA0)
7824
7825ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::ShouldUpdateEntities()
7826
7827 ---> System.Exception: Basic block has to end with unconditional control flow.
7828{
7829 IL_0000:
7830 brtrue(IL_0000, ldc.i4:bool(1))
7831}
7832
7833 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
7834 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
7835 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
7836 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
7837 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
7838 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
7839 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
7840 --- End of inner exception stack trace ---
7841 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
7842 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
7843*/;
7844 }
7845
7846 // Token: 0x06001EA1 RID: 7841 RVA: 0x000B2EC8 File Offset: 0x000B10C8
7848 {
7849 int num = 1;
7850 if (num == 0)
7851 {
7852 }
7853 if (num == 0)
7854 {
7855 }
7856 }
7857
7858 // Token: 0x06001EA2 RID: 7842 RVA: 0x000B32B4 File Offset: 0x000B14B4
7859 private static void CheckBossIndexes()
7860 {
7861 if (!true)
7862 {
7863 }
7864 if (!true)
7865 {
7866 }
7867 if (!true)
7868 {
7869 }
7870 }
7871
7872 // Token: 0x06001EA3 RID: 7843 RVA: 0x000B32CC File Offset: 0x000B14CC
7873 public static bool IsNPCActiveAndOneOfTypes(int npcIndex, short npcType)
7874 {
7875 if (!true)
7876 {
7877 return;
7878 }
7879 }
7880
7881 // Token: 0x06001EA4 RID: 7844 RVA: 0x000B32E0 File Offset: 0x000B14E0
7882 private static void UpdateOldNPCShop()
7883 {
7884 if (!true)
7885 {
7886 }
7887 int npcShop = Main.npcShop;
7889 }
7890
7891 // Token: 0x06001EA5 RID: 7845 RVA: 0x000B3314 File Offset: 0x000B1514
7892 private static void DoUpdate_AnimateCursorColors()
7893 {
7894 if (!true)
7895 {
7896 }
7897 Main.CursorColor();
7898 if (!true)
7899 {
7900 }
7901 }
7902
7903 // Token: 0x06001EA6 RID: 7846 RVA: 0x000B332C File Offset: 0x000B152C
7904 private static void DoUpdate_AnimateTileGlows()
7905 {
7906 if (!true)
7907 {
7908 }
7909 if (!true)
7910 {
7911 }
7912 if (!true)
7913 {
7914 }
7915 if (!true)
7916 {
7917 }
7918 }
7919
7920 // Token: 0x06001EA7 RID: 7847 RVA: 0x000B3348 File Offset: 0x000B1548
7921 private static void DoUpdate_Enter_ToggleChat()
7922 {
7923 }
7924
7925 // Token: 0x06001EA8 RID: 7848 RVA: 0x000B3358 File Offset: 0x000B1558
7926 public static void OpenPlayerChat()
7927 {
7928 if (!true)
7929 {
7930 }
7931 }
7932
7933 // Token: 0x06001EA9 RID: 7849 RVA: 0x000B3370 File Offset: 0x000B1570
7934 public static void ClosePlayerChat()
7935 {
7936 if (!true)
7937 {
7938 }
7939 int myPlayer = Main.myPlayer;
7940 int myPlayer2 = Main.myPlayer;
7941 }
7942
7943 // Token: 0x06001EAA RID: 7850 RVA: 0x000B338C File Offset: 0x000B158C
7944 private static void DoUpdate_HandleChat()
7945 {
7946 }
7947
7948 // Token: 0x06001EAB RID: 7851 RVA: 0x000B339C File Offset: 0x000B159C
7950 {
7951 int num = 1;
7952 if (num == 0)
7953 {
7954 }
7959 if (num == 0)
7960 {
7961 }
7962 if (num == 0)
7963 {
7964 }
7966 }
7967
7968 // Token: 0x06001EAC RID: 7852 RVA: 0x000B33DC File Offset: 0x000B15DC
7970 {
7971 int num = 1;
7972 if (num == 0)
7973 {
7974 }
7975 if (num == 0)
7976 {
7977 }
7978 if (num == 0)
7979 {
7980 }
7981 if (num == 0)
7982 {
7983 }
7984 if (num != 0)
7985 {
7986 if (num == 0)
7987 {
7988 }
7990 }
7991 if (num == 0)
7992 {
7993 }
7994 }
7995
7996 // Token: 0x06001EAD RID: 7853 RVA: 0x000B3410 File Offset: 0x000B1610
7997 private static void DoUpdate_F11_ToggleUI()
7998 {
7999 }
8000
8001 // Token: 0x06001EAE RID: 7854 RVA: 0x000B3420 File Offset: 0x000B1620
8003 {
8004 }
8005
8006 // Token: 0x06001EAF RID: 7855 RVA: 0x000B3430 File Offset: 0x000B1630
8008 {
8009 }
8010
8011 // Token: 0x06001EB0 RID: 7856 RVA: 0x000B3440 File Offset: 0x000B1640
8012 private static void DoUpdate_F9_ToggleLighting()
8013 {
8014 }
8015
8016 // Token: 0x06001EB1 RID: 7857 RVA: 0x000B3450 File Offset: 0x000B1650
8017 private static void DoUpdate_F10_ToggleFPS()
8018 {
8019 int num = 1;
8020 if (num == 0)
8021 {
8022 }
8023 if (num == 0)
8024 {
8025 }
8026 if (num == 0)
8027 {
8028 if (num == 0)
8029 {
8030 }
8031 bool editSign = Main.editSign;
8032 if (num == 0)
8033 {
8034 }
8035 bool editChest = Main.editChest;
8036 }
8037 if (num == 0)
8038 {
8039 }
8040 }
8041
8042 // Token: 0x06001EB2 RID: 7858 RVA: 0x000B34A4 File Offset: 0x000B16A4
8043 private static void AnimateTiles()
8044 {
8045 int num = 1;
8046 if (num == 0)
8047 {
8048 }
8049 if (num == 0)
8050 {
8051 }
8052 if (num == 0)
8053 {
8054 }
8055 if (num == 0)
8056 {
8057 }
8058 if (num == 0)
8059 {
8060 }
8061 if (num == 0)
8062 {
8063 }
8064 if (num == 0)
8065 {
8066 }
8067 if (num == 0)
8068 {
8069 }
8070 if (num == 0)
8071 {
8072 }
8073 if (num == 0)
8074 {
8075 }
8076 if (num == 0)
8077 {
8078 }
8079 if (num == 0)
8080 {
8081 }
8082 if (num == 0)
8083 {
8084 }
8085 if (num == 0)
8086 {
8087 }
8088 if (num == 0)
8089 {
8090 }
8091 if (num == 0)
8092 {
8093 }
8094 if (num == 0)
8095 {
8096 }
8097 if (num == 0)
8098 {
8099 }
8100 if (num == 0)
8101 {
8102 }
8103 if (num == 0)
8104 {
8105 }
8106 if (num == 0)
8107 {
8108 }
8109 if (num == 0)
8110 {
8111 }
8112 if (num == 0)
8113 {
8114 }
8115 if (num == 0)
8116 {
8117 }
8118 if (num == 0)
8119 {
8120 }
8121 if (num == 0)
8122 {
8123 }
8124 if (num == 0)
8125 {
8126 }
8127 if (num == 0)
8128 {
8129 }
8130 if (num == 0)
8131 {
8132 }
8133 if (num == 0)
8134 {
8135 }
8136 if (num == 0)
8137 {
8138 }
8139 if (num == 0)
8140 {
8141 }
8142 if (num == 0)
8143 {
8144 }
8145 if (num == 0)
8146 {
8147 }
8148 if (num == 0)
8149 {
8150 }
8151 if (num == 0)
8152 {
8153 }
8154 if (num == 0)
8155 {
8156 }
8157 if (num == 0)
8158 {
8159 }
8160 if (num == 0)
8161 {
8162 }
8163 if (num == 0)
8164 {
8165 }
8166 if (num == 0)
8167 {
8168 }
8169 if (num == 0)
8170 {
8171 }
8172 if (num == 0)
8173 {
8174 }
8175 if (num == 0)
8176 {
8177 }
8178 if (num == 0)
8179 {
8180 }
8181 if (num == 0)
8182 {
8183 }
8184 }
8185
8186 // Token: 0x06001EB3 RID: 7859 RVA: 0x000B3650 File Offset: 0x000B1850
8187 private static void AnimateTiles_WeatherVane()
8188 {
8189 if (!true)
8190 {
8191 }
8192 if (!true)
8193 {
8194 }
8195 int num = 1;
8196 if (num == 0)
8197 {
8198 }
8199 int num2 = 32640;
8200 if (num == 0)
8201 {
8202 return;
8203 }
8204 if (num != 0)
8205 {
8206 if (!true)
8207 {
8208 }
8209 if (num2 == 0)
8210 {
8211 }
8212 return;
8213 }
8214 if (num2 == 0)
8215 {
8216 }
8217 }
8218
8219 // Token: 0x06001EB4 RID: 7860 RVA: 0x000B368C File Offset: 0x000B188C
8220 private static void DoUpdate_AnimateWalls()
8221 {
8222 if (!true)
8223 {
8224 }
8225 }
8226
8227 // Token: 0x06001EB5 RID: 7861 RVA: 0x000B36AC File Offset: 0x000B18AC
8229 {
8230 if (!true)
8231 {
8232 }
8233 if (!true)
8234 {
8235 }
8236 if (!true)
8237 {
8238 }
8239 if (16512 == 0)
8240 {
8241 }
8242 if (!true)
8243 {
8244 }
8245 if (16256 == 0)
8246 {
8247 }
8250 }
8251
8252 // Token: 0x06001EB6 RID: 7862 RVA: 0x000B36DC File Offset: 0x000B18DC
8254 {
8255 if (!true)
8256 {
8257 }
8258 byte gFadeDir = Main.gFadeDir;
8260 float gFader = Main.gFader;
8261 byte gFade = Main.gFade;
8262 }
8263
8264 // Token: 0x06001EB7 RID: 7863 RVA: 0x000B3728 File Offset: 0x000B1928
8266 {
8267 int discoStyle = this.DiscoStyle;
8268 if (discoStyle == 0)
8269 {
8270 if (discoStyle == 0)
8271 {
8272 }
8273 int discoStyle2 = this.DiscoStyle;
8274 return;
8275 }
8276 int num;
8277 if (num == 0)
8278 {
8279 }
8280 int discoStyle3 = this.DiscoStyle;
8281 }
8282
8283 // Token: 0x06001EB8 RID: 7864 RVA: 0x000B37F8 File Offset: 0x000B19F8
8284 private static void DoUpdate_AnimateBackgrounds()
8285 {
8286 if (!true)
8287 {
8288 }
8289 }
8290
8291 // Token: 0x06001EB9 RID: 7865 RVA: 0x000B380C File Offset: 0x000B1A0C
8293 {
8294 int num = 1;
8295 if (num == 0)
8296 {
8297 }
8300 if (num == 0)
8301 {
8302 }
8304 int[] bgFrame = Main.bgFrame;
8305 int[] bgFrame2 = Main.bgFrame;
8306 if (num == 0)
8307 {
8308 }
8309 int[] bgFrame3 = Main.bgFrame;
8310 if (num == 0)
8311 {
8312 }
8313 int[] bgFrame4 = Main.bgFrame;
8314 if (num != 0)
8315 {
8316 if (num == 0)
8317 {
8318 }
8319 int[] bgFrame5 = Main.bgFrame;
8320 return;
8321 }
8322 }
8323
8324 // Token: 0x06001EBA RID: 7866 RVA: 0x000B3918 File Offset: 0x000B1B18
8325 private static void DoUpdate_AutoSave()
8326 {
8327 if (!true)
8328 {
8329 }
8330 bool gameMenu = Main.gameMenu;
8331 bool is_running = Main.saveTime.is_running;
8332 if (!is_running)
8333 {
8334 if (!is_running)
8335 {
8336 }
8338 }
8339 if (!is_running)
8340 {
8341 }
8345 }
8346
8347 // Token: 0x06001EBB RID: 7867 RVA: 0x000B3A10 File Offset: 0x000B1C10
8348 private static void UpdateSettingUnlocks()
8349 {
8350 if (!true)
8351 {
8352 }
8353 bool netHost = Main.NetHost;
8354 if (!true)
8355 {
8356 }
8357 }
8358
8359 // Token: 0x06001EBC RID: 7868 RVA: 0x000B3A48 File Offset: 0x000B1C48
8360 public static void InputTextSign()
8361 {
8364 string npcChatText = Main.npcChatText;
8365 string text;
8367 if (true)
8368 {
8369 if (npcChatText != null)
8370 {
8372 return;
8373 }
8374 }
8375 else
8376 {
8377 while (npcChatText != null)
8378 {
8379 }
8380 }
8382 }
8383
8384 // Token: 0x06001EBD RID: 7869 RVA: 0x000B3A88 File Offset: 0x000B1C88
8385 public static void InputTextChest()
8386 {
8389 string npcChatText = Main.npcChatText;
8391 string npcChatText2 = Main.npcChatText;
8392 string text;
8394 int myPlayer = Main.myPlayer;
8395 }
8396
8397 // Token: 0x06001EBE RID: 7870 RVA: 0x000B3AD8 File Offset: 0x000B1CD8
8398 public static void InputTextSignCancel()
8399 {
8400 if (!true)
8401 {
8402 }
8403 Main.editSign = false;
8404 string text;
8407 int myPlayer = Main.myPlayer;
8408 int myPlayer2 = Main.myPlayer;
8409 }
8410
8411 // Token: 0x06001EBF RID: 7871 RVA: 0x000B3B10 File Offset: 0x000B1D10
8412 private static void UpdateMenu()
8413 {
8414 int num = 1;
8415 if (num == 0)
8416 {
8417 }
8418 if (num != 0)
8419 {
8420 if (num == 0)
8421 {
8422 }
8424 if (num == 0)
8425 {
8426 }
8427 if (num == 0)
8428 {
8429 }
8430 if (num != 0)
8431 {
8432 if (num == 0)
8433 {
8434 }
8435 int num2;
8436 string text = num2.ToString();
8437 int num3 = 2;
8438 if ("" == null)
8439 {
8440 }
8441 int num4;
8442 if (num4 == 0)
8443 {
8444 int num5;
8445 string text2 = num5.ToString();
8446 string text3 = "" + text2;
8447 }
8448 if (num3 != 0)
8449 {
8450 return;
8451 }
8452 }
8453 }
8455 Main.playerInventory = false;
8456 }
8457
8458 // Token: 0x06001EC0 RID: 7872 RVA: 0x000B3C64 File Offset: 0x000B1E64
8459 public static void clrInput()
8460 {
8461 if (!true)
8462 {
8463 }
8464 }
8465
8466 // Token: 0x170004D2 RID: 1234
8467 // (get) Token: 0x06001EC1 RID: 7873 RVA: 0x000B3C74 File Offset: 0x000B1E74
8468 public static bool HasKeyboard
8469 {
8470 get
8471 {
8472 /*
8473An exception occurred when decompiling this method (06001EC1)
8474
8475ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_HasKeyboard()
8476
8477 ---> System.Exception: Basic block has to end with unconditional control flow.
8478{
8479 IL_0000:
8480 brtrue(IL_0000, ldc.i4:bool(1))
8481}
8482
8483 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
8484 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
8485 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
8486 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
8487 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
8488 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
8489 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
8490 --- End of inner exception stack trace ---
8491 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
8492 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
8493*/;
8494 }
8495 }
8496
8497 // Token: 0x170004D3 RID: 1235
8498 // (get) Token: 0x06001EC2 RID: 7874 RVA: 0x000B3C84 File Offset: 0x000B1E84
8499 public static bool KeyboardIsActive
8500 {
8501 get
8502 {
8503 if (!true)
8504 {
8505 }
8506 if (true)
8507 {
8508 return;
8509 }
8510 }
8511 }
8512
8513 // Token: 0x06001EC3 RID: 7875 RVA: 0x000B3C98 File Offset: 0x000B1E98
8514 public static void OpenKeyboard(string initial, int maxCharacters = -1, bool password = false, bool multiline = false, bool filterText = true)
8515 {
8516 if (!true)
8517 {
8518 }
8520 }
8521
8522 // Token: 0x06001EC4 RID: 7876 RVA: 0x000B3CB4 File Offset: 0x000B1EB4
8523 public static void CloseKeyboard()
8524 {
8525 if (!true)
8526 {
8527 }
8528 if (true)
8529 {
8530 }
8531 }
8532
8533 // Token: 0x06001EC5 RID: 7877
8534 public static extern short GetKeyState(int keyCode);
8535
8536 // Token: 0x06001EC6 RID: 7878 RVA: 0x000B3CC8 File Offset: 0x000B1EC8
8537 public static string GetInputText(string oldString, Rectangle region, int maxCharacters = -1, bool password = false, bool retainText = false, bool multiline = false, bool filterText = true)
8538 {
8539 int num = 1;
8540 string text;
8541 if (num != 0)
8542 {
8543 if (num == 0)
8544 {
8545 return text;
8546 }
8549 global::Cursor cursor;
8550 if (cursor != null)
8551 {
8552 }
8554 }
8555 int num2;
8556 while (num2 != 0)
8557 {
8558 }
8559 return text;
8560 }
8561
8562 // Token: 0x06001EC7 RID: 7879 RVA: 0x000B3D60 File Offset: 0x000B1F60
8563 public void MouseTextHackZoom(string text, [Optional] string buffTooltip)
8564 {
8565 }
8566
8567 // Token: 0x06001EC8 RID: 7880 RVA: 0x000B3D70 File Offset: 0x000B1F70
8568 public void MouseTextHackZoom(string text, int itemRarity, byte diff = 0, [Optional] string buffTooltip)
8569 {
8570 }
8571
8572 // Token: 0x06001EC9 RID: 7881 RVA: 0x000B3D80 File Offset: 0x000B1F80
8573 public void MouseTextNoOverride(string cursorText, int rare = 0, byte diff = 0, int hackedMouseX = -1, int hackedMouseY = -1, int hackedScreenWidth = -1, int hackedScreenHeight = -1, int pushWidthX = 0)
8574 {
8575 }
8576
8577 // Token: 0x06001ECA RID: 7882 RVA: 0x000B3D90 File Offset: 0x000B1F90
8578 public void MouseText(string cursorText, int rare = 0, byte diff = 0, int hackedMouseX = -1, int hackedMouseY = -1, int hackedScreenWidth = -1, int hackedScreenHeight = -1, int pushWidthX = 0)
8579 {
8580 }
8581
8582 // Token: 0x06001ECB RID: 7883 RVA: 0x000B3DA0 File Offset: 0x000B1FA0
8583 public void MouseText(string cursorText, string buffTooltip, int rare = 0, byte diff = 0, int hackedMouseX = -1, int hackedMouseY = -1, int hackedScreenWidth = -1, int hackedScreenHeight = -1, int pushWidthX = 0, bool noOverride = false)
8584 {
8585 }
8586
8587 // Token: 0x06001ECC RID: 7884 RVA: 0x000B3DB0 File Offset: 0x000B1FB0
8589 {
8590 if (info.cursorText == null)
8591 {
8592 return;
8593 }
8594 byte diff = info.diff;
8595 int rare = info.rare;
8596 int x = info.X;
8597 int y = info.Y;
8598 int hackedScreenWidth = info.hackedScreenWidth;
8599 string buffTooltip = info.buffTooltip;
8600 if (diff != 0)
8601 {
8603 return;
8604 }
8605 int mouseX = Main.mouseX;
8606 if (diff != 0)
8607 {
8609 return;
8610 }
8611 int mouseY = Main.mouseY;
8612 int num = 10;
8613 bool thickMouse = Main.ThickMouse;
8614 if (num == 0)
8615 {
8616 }
8617 }
8618
8619 // Token: 0x06001ECD RID: 7885 RVA: 0x000B3F34 File Offset: 0x000B2134
8638
8639 // Token: 0x06001ECE RID: 7886 RVA: 0x000B457C File Offset: 0x000B277C
8640 public static void MouseText_DrawItemTooltip_GetLinesInfo(Item item, int yoyoLogo, int researchLine, int materialsLine, float oldKB, int numLines, string[] toolTipLine, bool[] preFixLine, bool[] badPreFixLine, int setBonusLine)
8641 {
8642 string hoverName = item.HoverName;
8643 if (hoverName == null || hoverName != null)
8644 {
8645 bool favorited = item.favorited;
8646 if (favorited)
8647 {
8648 numLines.m_value = (favorited ? 1 : 0);
8649 if (!favorited)
8650 {
8651 }
8652 if ((hoverName != null && hoverName == null) || (hoverName != null && hoverName == null))
8653 {
8654 goto IL_0B7C;
8655 }
8656 int num = Main.LocalPlayer.chest;
8657 string textValue = Language.GetTextValue("UI.ItemCannotBePlacedInsideItself");
8658 if (textValue != null && textValue == null)
8659 {
8660 goto IL_0B7C;
8661 }
8662 }
8663 bool social = item.social;
8664 if (social)
8665 {
8666 if (!social)
8667 {
8668 }
8669 if (preFixLine == null || preFixLine != null)
8670 {
8671 if (preFixLine != null)
8672 {
8673 if (preFixLine != null)
8674 {
8675 return;
8676 }
8677 }
8678 else
8679 {
8680 if (item.expert)
8681 {
8682 string textValue2 = Language.GetTextValue("GameUI.Expert");
8683 if (textValue2 != null && textValue2 == null)
8684 {
8685 goto IL_0B7C;
8686 }
8687 }
8688 int rare = item.rare;
8689 string textValue3 = Language.GetTextValue("GameUI.Master");
8690 if (textValue3 == null || textValue3 != null)
8691 {
8692 if (item.tooltipContext == 0)
8693 {
8694 }
8695 byte difficulty = Main.LocalPlayer.difficulty;
8696 if (difficulty == 0)
8697 {
8698 }
8699 int type = item.type;
8700 if (difficulty == 0)
8701 {
8702 }
8704 int type2 = item.type;
8705 int sacrificeCount = itemSacrifices.GetSacrificeCount(type2);
8706 string text;
8707 if (text == null || text != null)
8708 {
8709 bool flag = string.IsNullOrWhiteSpace(item.BestiaryNotes);
8710 long num2 = 0L;
8711 if (text == null || text != null)
8712 {
8713 int tooltipContext = item.tooltipContext;
8714 if (" " == null)
8715 {
8716 return;
8717 }
8718 if (" " != null)
8719 {
8720 return;
8721 }
8722 }
8723 }
8724 }
8725 }
8726 }
8727 }
8728 else
8729 {
8730 int damage = item.damage;
8731 if (!item.notAmmo || item.useStyle != 0)
8732 {
8733 int type3 = item.type;
8734 if (type3 == 0)
8735 {
8736 }
8737 int myPlayer = Main.myPlayer;
8738 int damage2 = item.damage;
8739 if (type3 == 0)
8740 {
8741 }
8742 bool melee = item.melee;
8743 if (melee)
8744 {
8745 if (!melee)
8746 {
8747 }
8748 float meleeDamage = Main.LocalPlayer.meleeDamage;
8749 return;
8750 }
8751 bool ranged = item.ranged;
8752 if (ranged)
8753 {
8754 if (!ranged)
8755 {
8756 }
8758 float rangedDamage = localPlayer.rangedDamage;
8759 int useAmmo = item.useAmmo;
8760 if (localPlayer == null)
8761 {
8762 }
8763 int useAmmo2 = item.useAmmo;
8764 long num2;
8765 if (num2 == 0L)
8766 {
8767 }
8768 if (localPlayer.oldVelocity.Y == null)
8769 {
8770 }
8771 float bowEffectiveDamage = Main.LocalPlayer.bowEffectiveDamage;
8772 bool archery = Main.LocalPlayer.archery;
8773 int useAmmo3 = item.useAmmo;
8774 if (!archery)
8775 {
8776 }
8777 int useAmmo4 = item.useAmmo;
8778 if (num2 == 0L)
8779 {
8780 }
8781 if (!archery)
8782 {
8783 }
8784 float gunEffectiveDamage = Main.LocalPlayer.gunEffectiveDamage;
8785 int useAmmo5 = item.useAmmo;
8786 if (!archery)
8787 {
8788 }
8789 int useAmmo6 = item.useAmmo;
8790 if (num2 == 0L)
8791 {
8792 }
8793 int useAmmo7 = item.useAmmo;
8794 if (num2 == 0L)
8795 {
8796 }
8797 int useAmmo8 = item.useAmmo;
8798 if (num2 == 0L)
8799 {
8800 }
8801 int useAmmo9 = item.useAmmo;
8802 if (num2 == 0L)
8803 {
8804 }
8805 int useAmmo10 = item.useAmmo;
8806 if (num2 == 0L)
8807 {
8808 }
8809 int useAmmo11 = item.useAmmo;
8810 if (num2 == 0L)
8811 {
8812 }
8813 int useAmmo12 = item.useAmmo;
8814 if (num2 == 0L)
8815 {
8816 }
8817 int useAmmo13 = item.useAmmo;
8818 if (num2 == 0L)
8819 {
8820 }
8821 int useAmmo14 = item.useAmmo;
8822 if (num2 == 0L)
8823 {
8824 }
8825 int useAmmo15 = item.useAmmo;
8826 if (num2 == 0L)
8827 {
8828 }
8829 float specialistEffectiveDamage = Main.LocalPlayer.specialistEffectiveDamage;
8830 int type4 = item.type;
8831 return;
8832 }
8833 bool magic = item.magic;
8834 if (magic)
8835 {
8836 if (!magic)
8837 {
8838 }
8839 float magicDamage = Main.LocalPlayer.magicDamage;
8840 return;
8841 }
8842 bool summon = item.summon;
8843 if (summon)
8844 {
8845 if (!summon)
8846 {
8847 }
8848 float minionDamage = Main.LocalPlayer.minionDamage;
8849 return;
8850 }
8851 string text2;
8852 if (text2 == null || text2 != null)
8853 {
8854 return;
8855 }
8856 }
8857 else
8858 {
8859 int fishingPole = item.fishingPole;
8860 string text3;
8861 if (text3 == null || text3 != null)
8862 {
8863 int num3;
8865 string textValue4 = Language.GetTextValue("GameUI.BaitRequired");
8866 if (textValue4 == null || textValue4 != null)
8867 {
8868 int bait = item.bait;
8869 string text4;
8870 if (text4 == null || text4 != null)
8871 {
8872 int headSlot = item.headSlot;
8873 int bodySlot = item.bodySlot;
8874 int legSlot = item.legSlot;
8875 bool accessory = item.accessory;
8876 if (!accessory)
8877 {
8878 if (!accessory)
8879 {
8880 }
8881 int mountType = item.mountType;
8882 }
8883 int type5 = item.type;
8884 if (type5 == 0)
8885 {
8886 }
8887 int npcShop = Main.npcShop;
8888 if (type5 == 0)
8889 {
8890 }
8891 return;
8892 }
8893 }
8894 }
8895 }
8896 }
8897 }
8898 IL_0B7C:
8899 throw new ArrayTypeMismatchException();
8900 }
8901
8902 // Token: 0x06001ECF RID: 7887 RVA: 0x000B510C File Offset: 0x000B330C
8903 private void MouseText_DrawBuffTooltip(string cursorText, string buffString, int X, int Y)
8904 {
8905 if (!true)
8906 {
8907 }
8908 if (!true)
8909 {
8910 }
8912 if (17279 == 0)
8913 {
8914 }
8915 if (17279 == 0)
8916 {
8917 }
8918 }
8919
8920 // Token: 0x06001ED0 RID: 7888 RVA: 0x000B5218 File Offset: 0x000B3418
8921 protected void DrawFPS()
8922 {
8923 int num = 1;
8924 if (num == 0)
8925 {
8926 }
8928 if (num == 0)
8929 {
8930 }
8931 long num2 = 0L;
8932 StringBuilder stringBuilder;
8933 stringBuilder.AppendInt((int)num2);
8934 int num3 = 40;
8935 StringBuilder stringBuilder2 = stringBuilder.Append((char)num3);
8936 float gfxQuality = Main.gfxQuality;
8937 bool gameMenu = Main.gameMenu;
8939 }
8940
8941 // Token: 0x06001ED1 RID: 7889 RVA: 0x000B527C File Offset: 0x000B347C
8942 public static void shine(Microsoft.Xna.Framework.Graphics.Color newColor, int type)
8943 {
8944 byte r = newColor.R;
8945 byte g = newColor.G;
8946 byte b = newColor.B;
8947 }
8948
8949 // Token: 0x06001ED2 RID: 7890 RVA: 0x000B5328 File Offset: 0x000B3528
8950 public static void shine([Out] Microsoft.Xna.Framework.Vector3 newColor, int type, int frameX)
8951 {
8952 }
8953
8954 // Token: 0x06001ED3 RID: 7891 RVA: 0x000B5388 File Offset: 0x000B3588
8959
8960 // Token: 0x06001ED4 RID: 7892 RVA: 0x000B53A4 File Offset: 0x000B35A4
8962 {
8964 long num = 0L;
8967 }
8968
8969 // Token: 0x06001ED5 RID: 7893 RVA: 0x000B53D0 File Offset: 0x000B35D0
8971 {
8972 if (!true)
8973 {
8974 }
8975 }
8976
8977 // Token: 0x06001ED6 RID: 7894 RVA: 0x000B53E8 File Offset: 0x000B35E8
8978 public static bool IsTileSpelunkable(Tile t)
8979 {
8980 ushort num;
8981 short num2;
8982 short num3;
8983 return Main.IsTileSpelunkable(num, num2, num3);
8984 }
8985
8986 // Token: 0x06001ED7 RID: 7895 RVA: 0x000B5400 File Offset: 0x000B3600
8987 public static bool IsTileSpelunkable(ushort typeCache, short tileFrameX, short tileFrameY)
8988 {
8989 int num = 1;
8990 if (num == 0)
8991 {
8992 }
8993 if (num == 0)
8994 {
8995 return;
8996 }
8997 }
8998
8999 // Token: 0x06001ED8 RID: 7896 RVA: 0x000B5418 File Offset: 0x000B3618
9000 public static bool IsTileBiomeSightable(ushort type, short tileFrameX, short tileFrameY, Microsoft.Xna.Framework.Graphics.Color sightColor)
9001 {
9002 int num = 1;
9003 if (num == 0)
9004 {
9005 }
9006 if (num == 0)
9007 {
9008 if (num == 0)
9009 {
9010 }
9011 if (num == 0)
9012 {
9013 goto IL_0027;
9014 }
9015 }
9016 tileFrameY.m_value = (short)num;
9017 IL_0027:
9018 if (num == 0)
9019 {
9020 }
9021 if (num == 0)
9022 {
9023 if (num == 0)
9024 {
9025 }
9026 if (num != 0)
9027 {
9028 }
9029 }
9030 if (num == 0)
9031 {
9032 }
9033 if (num != 0)
9034 {
9035 return;
9036 }
9037 }
9038
9039 // Token: 0x06001ED9 RID: 7897 RVA: 0x000B5484 File Offset: 0x000B3684
9044
9045 // Token: 0x06001EDA RID: 7898 RVA: 0x000B54A4 File Offset: 0x000B36A4
9046 protected void DrawGoreBehind()
9047 {
9048 int num = 1;
9049 if (num == 0)
9050 {
9051 }
9052 if (num != 0)
9053 {
9054 if (num == 0)
9055 {
9056 }
9057 int myPlayer = Main.myPlayer;
9058 if (num == 0)
9059 {
9060 }
9061 long num2 = 0L;
9062 int num3 = 63488;
9064 if (num3 == 0)
9065 {
9066 }
9069 return;
9070 }
9071 }
9072
9073 // Token: 0x06001EDB RID: 7899 RVA: 0x000B5528 File Offset: 0x000B3728
9074 protected void DrawGore()
9075 {
9076 int num = 1;
9077 if (num == 0)
9078 {
9079 }
9080 if (num == 0)
9081 {
9082 }
9083 if (num != 0)
9084 {
9085 if (num == 0)
9086 {
9087 }
9088 int myPlayer = Main.myPlayer;
9089 if (num == 0)
9090 {
9091 }
9094 return;
9095 }
9096 }
9097
9098 // Token: 0x06001EDC RID: 7900 RVA: 0x000B5598 File Offset: 0x000B3798
9099 public void DrawHealthBar(float X, float Y, int Health, int MaxHealth, float alpha, float scale = 1f, bool noFlip = false, bool inUISpace = false)
9100 {
9101 if (!true)
9102 {
9103 }
9104 int num = 32768;
9105 int myPlayer = Main.myPlayer;
9106 if (num == 0)
9107 {
9108 }
9110 }
9111
9112 // Token: 0x06001EDD RID: 7901 RVA: 0x000B55F4 File Offset: 0x000B37F4
9113 public static float NPCAddHeight(NPC theNPC)
9114 {
9115 }
9116
9117 // Token: 0x06001EDE RID: 7902 RVA: 0x000B5604 File Offset: 0x000B3804
9118 protected void DrawProjectiles()
9119 {
9120 int num = 1;
9121 if (num == 0)
9122 {
9123 }
9125 if (num == 0)
9126 {
9127 }
9129 Matrix transform = Main.Transform;
9130 int num2 = 1;
9131 long num3 = 0L;
9132 if (num2 == 0)
9133 {
9134 }
9135 this.DrawProj((int)num3);
9136 }
9137
9138 // Token: 0x06001EDF RID: 7903 RVA: 0x000B5660 File Offset: 0x000B3860
9140 {
9141 /*
9142An exception occurred when decompiling this method (06001EDF)
9143
9144ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.Main::GetProjectileDesiredShader(Terraria.Projectile)
9145
9146 ---> System.Exception: Basic block has to end with unconditional control flow.
9147{
9148 Block_3:
9149 brtrue(IL_0000, ldloc:int32[exp:bool](var_0_01))
9150}
9151
9152 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
9153 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
9154 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
9155 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
9156 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
9157 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
9158 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
9159 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
9160 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
9161 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
9162 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
9163 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
9164 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
9165 --- End of inner exception stack trace ---
9166 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
9167 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
9168*/;
9169 }
9170
9171 // Token: 0x06001EE0 RID: 7904 RVA: 0x000021DB File Offset: 0x000003DB
9173 {
9174 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
9175 }
9176
9177 // Token: 0x06001EE1 RID: 7905 RVA: 0x000021DB File Offset: 0x000003DB
9178 protected void DrawPlayers_BehindNPCs()
9179 {
9180 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
9181 }
9182
9183 // Token: 0x06001EE2 RID: 7906 RVA: 0x000021DB File Offset: 0x000003DB
9185 {
9186 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
9187 }
9188
9189 // Token: 0x06001EE3 RID: 7907 RVA: 0x000B5690 File Offset: 0x000B3890
9190 protected void DrawElderEye(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 worldPosition, float opacity, float scale, int frameNumber, Microsoft.Xna.Framework.Graphics.Color passedColor)
9191 {
9192 if (!true)
9193 {
9194 }
9195 if (17032 == 0)
9196 {
9197 }
9198 if (17032 == 0)
9199 {
9200 }
9202 if (17032 == 0)
9203 {
9204 }
9205 if (17032 == 0)
9206 {
9207 }
9208 }
9209
9210 // Token: 0x06001EE4 RID: 7908 RVA: 0x000B56C4 File Offset: 0x000B38C4
9211 protected void DrawNPCs(bool behindTiles = false)
9212 {
9213 int num = 1;
9214 if (num == 0)
9215 {
9216 }
9221 int num2 = 32640;
9222 int num3 = 790;
9227 if (num == 0)
9228 {
9229 }
9230 if (num3 == 0)
9231 {
9232 }
9233 if (num3 == 0)
9234 {
9235 }
9236 if (num2 == 0)
9237 {
9238 }
9240 if (num3 != 0)
9241 {
9242 if (num3 == 0)
9243 {
9244 }
9245 if (num3 == 0)
9246 {
9247 }
9248 if (num2 == 0)
9249 {
9250 }
9251 long num4 = 0L;
9252 int num5 = 32768;
9254 if (num5 == 0)
9255 {
9256 }
9259 }
9260 }
9261
9262 // Token: 0x06001EE5 RID: 7909 RVA: 0x000B5904 File Offset: 0x000B3B04
9263 protected void DrawNPCCheckAlt(NPC n)
9264 {
9265 int num = 1;
9266 if (num == 0)
9267 {
9268 }
9269 int type = n.type;
9270 if (num == 0)
9271 {
9272 }
9273 }
9274
9275 // Token: 0x06001EE6 RID: 7910 RVA: 0x000B5928 File Offset: 0x000B3B28
9276 protected void DrawNPC(int iNPCIndex, bool behindTiles, LightMap lightMap, Rectangle lightRegion)
9277 {
9278 if (!true)
9279 {
9280 }
9282 }
9283
9284 // Token: 0x06001EE7 RID: 7911 RVA: 0x000B5940 File Offset: 0x000B3B40
9286 {
9287 if (!true)
9288 {
9289 }
9290 float[] localAI = rCurrentNPC.localAI;
9293 float rotation = rCurrentNPC.rotation;
9295 float y = rCurrentNPC.velocity.Y;
9296 float rotation2 = rCurrentNPC.rotation;
9297 }
9298
9299 // Token: 0x06001EE8 RID: 7912 RVA: 0x000021DB File Offset: 0x000003DB
9301 {
9302 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
9303 }
9304
9305 // Token: 0x06001EE9 RID: 7913 RVA: 0x000B5994 File Offset: 0x000B3B94
9307 {
9308 int num = 1;
9309 if (num == 0)
9310 {
9311 }
9313 float x = screenPos.X;
9314 float y = screenPos.Y;
9315 if (num == 0)
9316 {
9317 }
9318 int y2 = rCurrentNPC.frame.Y;
9319 if (num == 0)
9320 {
9321 }
9324 int spriteDirection = rCurrentNPC.spriteDirection;
9325 float[] localAI = rCurrentNPC.localAI;
9326 if (16912 == 0)
9327 {
9328 }
9329 }
9330
9331 // Token: 0x06001EEA RID: 7914 RVA: 0x000B5AE0 File Offset: 0x000B3CE0
9333 {
9334 int num = 1;
9335 if (num == 0)
9336 {
9337 }
9338 float x = rCurrentNPC.position.X;
9339 int width = rCurrentNPC.width;
9340 if (num == 0)
9341 {
9342 }
9343 float scale = rCurrentNPC.scale;
9344 float y = rCurrentNPC.position.Y;
9345 float y2 = screenPos.Y;
9346 int height = rCurrentNPC.height;
9347 float scale2 = rCurrentNPC.scale;
9348 }
9349
9350 // Token: 0x06001EEB RID: 7915 RVA: 0x000021DB File Offset: 0x000003DB
9352 {
9353 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
9354 }
9355
9356 // Token: 0x06001EEC RID: 7916 RVA: 0x000B5B74 File Offset: 0x000B3D74
9358 {
9359 if (!true)
9360 {
9361 }
9363 float x = screenPos.X;
9364 float y = screenPos.Y;
9365 int whoAmI = rCurrentNPC.whoAmI;
9366 float rotation = rCurrentNPC.rotation;
9367 int y2 = rCurrentNPC.frame.Y;
9370 float scale = rCurrentNPC.scale;
9371 Microsoft.Xna.Framework.Vector2[] oldPos = rCurrentNPC.oldPos;
9373 float x2 = rCurrentNPC.position.X;
9374 float y3 = rCurrentNPC.position.Y;
9376 float x3 = rCurrentNPC.position.X;
9377 float y4 = rCurrentNPC.position.Y;
9378 int whoAmI2 = rCurrentNPC.whoAmI;
9380 float num;
9382 int y5 = rCurrentNPC.frame.Y;
9384 float num2;
9388 }
9389
9390 // Token: 0x06001EED RID: 7917 RVA: 0x000B5CC8 File Offset: 0x000B3EC8
9392 {
9393 if (!true)
9394 {
9395 }
9397 float x = screenPos.X;
9398 float y = screenPos.Y;
9399 bool flag = rCurrentNPC.AI_120_HallowBoss_IsInPhase2();
9400 float[] ai = rCurrentNPC.ai;
9401 float[] localAI = rCurrentNPC.localAI;
9402 if (32640 == 0)
9403 {
9404 }
9405 int num = 11;
9410 float[] ai2 = rCurrentNPC.ai;
9411 if (num == 0)
9412 {
9413 }
9414 float[] ai3 = rCurrentNPC.ai;
9415 float[] ai4 = rCurrentNPC.ai;
9416 float[] ai5 = rCurrentNPC.ai;
9417 float[] ai6 = rCurrentNPC.ai;
9418 float[] ai7 = rCurrentNPC.ai;
9419 if (16948 == 0)
9420 {
9421 }
9422 }
9423
9424 // Token: 0x06001EEE RID: 7918 RVA: 0x000B613C File Offset: 0x000B433C
9426 {
9427 int num = 7;
9429 float[] ai = rCurrentNPC.ai;
9430 }
9431
9432 // Token: 0x06001EEF RID: 7919 RVA: 0x000B61D4 File Offset: 0x000B43D4
9434 {
9435 float[] ai = rCurrentNPC.ai;
9436 int num = 32640;
9437 float scale = rCurrentNPC.scale;
9438 if (num == 0)
9439 {
9440 }
9441 float[] ai2 = rCurrentNPC.ai;
9442 float scale2 = rCurrentNPC.scale;
9443 }
9444
9445 // Token: 0x06001EF0 RID: 7920 RVA: 0x000B6288 File Offset: 0x000B4488
9447 {
9448 int num = 1;
9449 if (num == 0)
9450 {
9451 }
9452 if (num == 0)
9453 {
9454 }
9455 }
9456
9457 // Token: 0x06001EF1 RID: 7921 RVA: 0x000021DB File Offset: 0x000003DB
9459 {
9460 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
9461 }
9462
9463 // Token: 0x06001EF2 RID: 7922 RVA: 0x000B62B0 File Offset: 0x000B44B0
9465 {
9466 int num = 1;
9467 if (num == 0)
9468 {
9469 }
9470 if (num == 0)
9471 {
9472 if (num == 0)
9473 {
9474 }
9475 if (num == 0)
9476 {
9477 }
9478 }
9479 if (num == 0)
9480 {
9481 }
9483 Matrix transform = Main.Transform;
9484 EffectTechnique <CurrentTechnique>k__BackingField = Main.pixelShader.<CurrentTechnique>k__BackingField;
9485 int num2 = 60;
9487 Microsoft.Xna.Framework.Vector2 center = proj.Center;
9489 if (<CurrentTechnique>k__BackingField == null)
9490 {
9491 }
9492 int type = proj.type;
9493 if (<CurrentTechnique>k__BackingField == null)
9494 {
9495 }
9496 int frame = proj.frame;
9499 float scale = proj.scale;
9500 int frame2 = proj.frame;
9501 int frame3 = proj.frame;
9503 float num3;
9505 float rotation = proj.rotation;
9508 float rotation2 = proj.rotation;
9509 float rotation3 = proj.rotation;
9510 float rotation4 = proj.rotation;
9511 float rotation5 = proj.rotation;
9512 float rotation6 = proj.rotation;
9513 }
9514
9515 // Token: 0x06001EF3 RID: 7923 RVA: 0x000B63BC File Offset: 0x000B45BC
9517 {
9518 Microsoft.Xna.Framework.Vector2 center = proj.Center;
9522 float scale = proj.scale;
9524 Point point;
9525 float num = Lighting.GetColor(point).ToVector3().Length();
9527 float num2;
9529 float rotation = proj.rotation;
9531 float num3;
9533 float rotation2 = proj.rotation;
9535 float rotation3 = proj.rotation;
9538 float rotation4 = proj.rotation;
9541 float rotation5 = proj.rotation;
9542 float rotation6 = proj.rotation;
9543 float num4;
9544 Microsoft.Xna.Framework.Vector2 vector2 = num4.ToRotationVector2();
9545 float opacity = proj.Opacity;
9548 if (!true)
9549 {
9550 }
9551 }
9552
9553 // Token: 0x06001EF4 RID: 7924 RVA: 0x000B6538 File Offset: 0x000B4738
9555 {
9556 int num = 1;
9557 Microsoft.Xna.Framework.Vector2 center = proj.Center;
9558 if (num == 0)
9559 {
9560 }
9562 if (num == 0)
9563 {
9564 }
9565 if (num == 0)
9566 {
9567 }
9570 float scale = proj.scale;
9571 if (num == 0)
9572 {
9573 }
9575 Point point;
9576 float num2 = Lighting.GetColor(point).ToVector3().Length();
9578 float num3;
9580 float rotation = proj.rotation;
9582 float num4;
9584 float rotation2 = proj.rotation;
9586 float rotation3 = proj.rotation;
9589 float rotation4 = proj.rotation;
9592 float rotation5 = proj.rotation;
9595 float rotation6 = proj.rotation;
9598 float rotation7 = proj.rotation;
9599 float rotation8 = proj.rotation;
9600 Microsoft.Xna.Framework.Vector2 vector2 = num4.ToRotationVector2();
9601 float opacity = proj.Opacity;
9602 int num5 = 1;
9603 float num7;
9604 float num8;
9605 float num6 = Utils.Remap(num4, num7, num4, num7, num8, num5 != 0);
9606 if (!true)
9607 {
9608 }
9609 float rotation9 = proj.rotation;
9610 int num9 = 1;
9611 float num10 = Utils.Remap(num6, num4, num8, num6, num8, num9 != 0);
9612 float num11;
9613 Microsoft.Xna.Framework.Vector2 vector3 = num11.ToRotationVector2();
9614 float opacity2 = proj.Opacity;
9617 int num12 = 1;
9618 float num13 = Utils.Remap(num6, num4, num11, num4, num11, num12 != 0);
9619 }
9620
9621 // Token: 0x06001EF5 RID: 7925 RVA: 0x000B6788 File Offset: 0x000B4988
9623 {
9624 int num = 1;
9625 Microsoft.Xna.Framework.Vector2 center = proj.Center;
9626 if (num == 0)
9627 {
9628 }
9630 if (num == 0)
9631 {
9632 }
9633 if (num == 0)
9634 {
9635 }
9638 float scale = proj.scale;
9639 if (num == 0)
9640 {
9641 }
9643 Point point;
9644 float num2 = Lighting.GetColor(point).ToVector3().Length();
9646 float num3;
9648 float rotation = proj.rotation;
9650 float num4;
9652 float rotation2 = proj.rotation;
9654 float rotation3 = proj.rotation;
9657 float rotation4 = proj.rotation;
9660 float rotation5 = proj.rotation;
9663 float rotation6 = proj.rotation;
9666 float rotation7 = proj.rotation;
9667 float rotation8 = proj.rotation;
9668 Microsoft.Xna.Framework.Vector2 vector2 = num4.ToRotationVector2();
9669 float opacity = proj.Opacity;
9670 int num5 = 1;
9671 float num7;
9672 float num8;
9673 float num6 = Utils.Remap(num4, num7, num4, num7, num8, num5 != 0);
9674 if (!true)
9675 {
9676 }
9677 float rotation9 = proj.rotation;
9678 int num9 = 1;
9679 float num10 = Utils.Remap(num6, num4, num8, num6, num8, num9 != 0);
9680 float num11;
9681 Microsoft.Xna.Framework.Vector2 vector3 = num11.ToRotationVector2();
9682 float opacity2 = proj.Opacity;
9685 int num12 = 1;
9686 float num13 = Utils.Remap(num6, num4, num11, num4, num11, num12 != 0);
9687 }
9688
9689 // Token: 0x06001EF6 RID: 7926 RVA: 0x000B69D0 File Offset: 0x000B4BD0
9691 {
9692 int num = 1;
9693 Microsoft.Xna.Framework.Vector2 center = proj.Center;
9694 if (num == 0)
9695 {
9696 }
9698 if (num == 0)
9699 {
9700 }
9701 if (num == 0)
9702 {
9703 }
9706 float scale = proj.scale;
9707 if (num == 0)
9708 {
9709 }
9711 Point point;
9712 float num2 = Lighting.GetColor(point).ToVector3().Length();
9714 float num3;
9716 float rotation = proj.rotation;
9718 float num4;
9720 float rotation2 = proj.rotation;
9723 float rotation3 = proj.rotation;
9725 float rotation4 = proj.rotation;
9728 float rotation5 = proj.rotation;
9730 float num5;
9732 float rotation6 = proj.rotation;
9734 float num6;
9736 float rotation7 = proj.rotation;
9737 float rotation8 = proj.rotation;
9738 int num7 = 1;
9739 float num9;
9740 float num10;
9741 float num11;
9742 float num8 = Utils.Remap(num9, num10, num11, num11, num10, num7 != 0);
9743 float num12;
9744 Microsoft.Xna.Framework.Vector2 vector2 = num12.ToRotationVector2();
9745 float opacity = proj.Opacity;
9746 int num13 = 1;
9747 float num14 = Utils.Remap(num12, num10, num12, num10, num10, num13 != 0);
9748 if (true)
9749 {
9750 return;
9751 }
9752 float rotation9 = proj.rotation;
9753 int num15 = 1;
9754 float num16 = Utils.Remap(num14, num12, num10, num14, num10, num15 != 0);
9755 float num17;
9756 Microsoft.Xna.Framework.Vector2 vector3 = num17.ToRotationVector2();
9757 float opacity2 = proj.Opacity;
9760 int num18 = 1;
9761 float num19 = Utils.Remap(num14, num12, num17, num12, num17, num18 != 0);
9762 }
9763
9764 // Token: 0x06001EF7 RID: 7927 RVA: 0x000B6C68 File Offset: 0x000B4E68
9766 {
9767 int num = 1;
9768 if (num == 0)
9769 {
9770 }
9773 if (num == 0)
9774 {
9775 }
9776 Point point;
9777 float num2 = Lighting.GetColor(point).ToVector3().Length();
9778 float num4;
9779 float num3 = MathHelper.Min(num4, num4);
9780 int num5 = 1;
9781 if (num5 == 0)
9782 {
9783 }
9784 int value = num5.m_value;
9791 float num7;
9792 float num6 = MathHelper.Lerp(num3, num4, num7);
9793 float num9;
9794 float num8 = MathHelper.Lerp(num3, num4, num9);
9795 float num10 = MathHelper.Lerp(num3, num3, num9);
9796 float num11 = MathHelper.Lerp(num3, num3, num9);
9798 float num12;
9799 Microsoft.Xna.Framework.Vector2 vector2 = num12.ToRotationVector2();
9800 int num13 = 17056;
9801 int num14 = 1;
9802 float num16;
9803 float num15 = Utils.Remap(num16, num3, num12, num3, num9, num14 != 0);
9804 float num17 = MathHelper.Lerp(num9, num3, num15);
9805 float num18 = MathHelper.Min(num17, num17);
9806 if (num13 == 0)
9807 {
9808 }
9810 float num19;
9813 if (!true)
9814 {
9815 }
9816 }
9817
9818 // Token: 0x06001EF8 RID: 7928 RVA: 0x000B6E8C File Offset: 0x000B508C
9820 {
9821 int num = 1;
9822 Microsoft.Xna.Framework.Vector2 center = proj.Center;
9823 if (num == 0)
9824 {
9825 }
9827 if (num == 0)
9828 {
9829 }
9830 if (num == 0)
9831 {
9832 }
9835 float scale = proj.scale;
9836 if (num == 0)
9837 {
9838 }
9840 Point point;
9841 float num2 = Lighting.GetColor(point).ToVector3().Length();
9843 float num3;
9845 float rotation = proj.rotation;
9847 float num4;
9849 float rotation2 = proj.rotation;
9851 float rotation3 = proj.rotation;
9854 float rotation4 = proj.rotation;
9857 float rotation5 = proj.rotation;
9860 float rotation6 = proj.rotation;
9863 float rotation7 = proj.rotation;
9864 float rotation8 = proj.rotation;
9865 int num5 = 1;
9866 float num7;
9867 float num8;
9868 float num6 = Utils.Remap(num3, num7, num8, num8, num8, num5 != 0);
9869 Microsoft.Xna.Framework.Vector2 vector2 = num7.ToRotationVector2();
9870 float opacity = proj.Opacity;
9871 int num9 = 1;
9872 float num10 = Utils.Remap(num3, num7, num7, num7, num8, num9 != 0);
9873 if (!true)
9874 {
9875 }
9876 float rotation9 = proj.rotation;
9877 int num11 = 1;
9878 float num12 = Utils.Remap(num10, num10, num7, num10, num8, num11 != 0);
9879 float num13;
9880 Microsoft.Xna.Framework.Vector2 vector3 = num13.ToRotationVector2();
9881 float opacity2 = proj.Opacity;
9884 int num14 = 1;
9885 float num15 = Utils.Remap(num10, num10, num13, num10, num13, num14 != 0);
9886 }
9887
9888 // Token: 0x06001EF9 RID: 7929 RVA: 0x000B70E8 File Offset: 0x000B52E8
9890 {
9891 int num = 1;
9892 Microsoft.Xna.Framework.Vector2 center = proj.Center;
9893 if (num == 0)
9894 {
9895 }
9897 if (num == 0)
9898 {
9899 }
9900 if (num == 0)
9901 {
9902 }
9905 float scale = proj.scale;
9906 if (num == 0)
9907 {
9908 }
9909 float opacity = proj.Opacity;
9911 Point point;
9912 float num2 = Lighting.GetColor(point).ToVector3().Length();
9914 float num3;
9916 float rotation = proj.rotation;
9919 float rotation2 = proj.rotation;
9923 float rotation3 = proj.rotation;
9925 float rotation4 = proj.rotation;
9927 float rotation5 = proj.rotation;
9930 float rotation6 = proj.rotation;
9933 float rotation7 = proj.rotation;
9936 float rotation8 = proj.rotation;
9939 float rotation9 = proj.rotation;
9941 float num4;
9943 float rotation10 = proj.rotation;
9944 float rotation11 = proj.rotation;
9945 Microsoft.Xna.Framework.Vector2 vector2 = num2.ToRotationVector2();
9946 float opacity2 = proj.Opacity;
9948 int num5 = 1;
9949 float num6 = Utils.Remap(num2, 0f, num2, 0f, num2, num5 != 0);
9950 float rotation12 = proj.rotation;
9951 Microsoft.Xna.Framework.Vector2 vector3 = opacity2.ToRotationVector2();
9952 int num7 = 1;
9953 float num8 = Utils.Remap(opacity2, num2, num6, num6, num6, num7 != 0);
9954 float opacity3 = proj.Opacity;
9955 int num9 = 1;
9956 float num10 = Utils.Remap(num6, num2, num6, num6, num6, num9 != 0);
9957 if (!true)
9958 {
9959 }
9960 float opacity4 = proj.Opacity;
9961 int num11 = 1;
9962 float num12 = Utils.Remap(num2, num2, num2, num2, num2, num11 != 0);
9963 if (!true)
9964 {
9965 }
9966 float rotation13 = proj.rotation;
9967 Microsoft.Xna.Framework.Vector2 vector4 = num2.ToRotationVector2();
9968 float opacity5 = proj.Opacity;
9971 int num13 = 1;
9972 float num14 = Utils.Remap(opacity5, num12, num2, num12, num2, num13 != 0);
9973 float opacity6 = proj.Opacity;
9976 int num15 = 1;
9977 float num16 = Utils.Remap(num14, num2, num12, num14, num12, num15 != 0);
9978 }
9979
9980 // Token: 0x06001EFA RID: 7930 RVA: 0x000B748C File Offset: 0x000B568C
9981 public void DrawProj(int i)
9982 {
9983 if (!true)
9984 {
9985 }
9991 bool flag = rectangle.Intersects(rectangle);
9992 }
9993
9994 // Token: 0x06001EFB RID: 7931 RVA: 0x000B74D4 File Offset: 0x000B56D4
9996 {
9997 if (!true)
9998 {
9999 }
10000 }
10001
10002 // Token: 0x06001EFC RID: 7932 RVA: 0x000B7534 File Offset: 0x000B5734
10004 {
10005 int num = 1;
10007 if (num == 0)
10008 {
10009 }
10010 if (num == 0)
10011 {
10012 }
10013 Microsoft.Xna.Framework.Vector2[] oldPos = proj.oldPos;
10014 float[] oldRot = proj.oldRot;
10015 int num2 = 1;
10016 if (num2 == 0)
10017 {
10018 }
10019 int value = num2.m_value;
10020 if (num2 == 0)
10021 {
10022 }
10024 float num3 = vector.Length();
10026 }
10027
10028 // Token: 0x06001EFD RID: 7933 RVA: 0x000B75B4 File Offset: 0x000B57B4
10029 public void DrawProjDirect(Projectile proj, int i = -1)
10030 {
10031 int num = 1;
10033 int type = proj.type;
10034 if (num == 0)
10035 {
10036 }
10037 int myPlayer = Main.myPlayer;
10038 }
10039
10040 // Token: 0x06001EFE RID: 7934 RVA: 0x000BC790 File Offset: 0x000BA990
10042 {
10043 if (!true)
10044 {
10045 }
10046 if (17008 == 0)
10047 {
10048 }
10049 }
10050
10051 // Token: 0x06001EFF RID: 7935 RVA: 0x000BC9B4 File Offset: 0x000BABB4
10053 {
10054 int num = 1;
10055 float x = proj.velocity.X;
10056 float y = proj.velocity.Y;
10057 if (num == 0)
10058 {
10059 }
10060 if (num == 0)
10061 {
10062 }
10063 if (proj.getRect() == null)
10064 {
10065 }
10066 if (!true)
10067 {
10068 }
10069 if (!true)
10070 {
10071 }
10072 int direction = proj.direction;
10073 if (3 == 0)
10074 {
10075 }
10076 }
10077
10078 // Token: 0x06001F00 RID: 7936 RVA: 0x000BCB88 File Offset: 0x000BAD88
10090
10091 // Token: 0x06001F01 RID: 7937 RVA: 0x000BCBDC File Offset: 0x000BADDC
10093 {
10094 int num = 1;
10095 if (num == 0)
10096 {
10097 }
10098 if (num == 0)
10099 {
10100 }
10101 int num2 = 1;
10102 if (num2 == 0)
10103 {
10104 }
10105 if (num2 == 0)
10106 {
10107 }
10108 }
10109
10110 // Token: 0x06001F02 RID: 7938 RVA: 0x000BCCBC File Offset: 0x000BAEBC
10112 {
10113 int num = 1;
10114 int width = proj.width;
10115 int height = proj.height;
10116 float x = proj.position.X;
10117 float y = proj.position.Y;
10118 long num2 = 0L;
10119 if (num == 0)
10120 {
10121 }
10122 int alpha = proj.alpha;
10123 if (alpha == 0)
10124 {
10125 int width2 = proj.width;
10126 float x2 = proj.position.X;
10127 if (alpha != 0)
10128 {
10129 return;
10130 }
10131 if (width2 == 0)
10132 {
10133 }
10134 if (alpha == 0)
10135 {
10136 }
10137 }
10138 if (proj.type == 0)
10139 {
10140 }
10141 if (proj.type == 0)
10142 {
10143 }
10144 int num3 = 63488;
10145 int num4 = 32768;
10147 int type = proj.type;
10148 if (num4 == 0)
10149 {
10150 }
10151 if (num3 == 0)
10152 {
10153 }
10154 if (43691 == 0)
10155 {
10156 }
10161 }
10162
10163 // Token: 0x06001F03 RID: 7939 RVA: 0x000BCE3C File Offset: 0x000BB03C
10169
10170 // Token: 0x06001F04 RID: 7940 RVA: 0x000BCE5C File Offset: 0x000BB05C
10172 {
10173 int num = 1;
10174 if (num == 0)
10175 {
10176 }
10177 if (num == 0)
10178 {
10179 }
10180 }
10181
10182 // Token: 0x06001F05 RID: 7941 RVA: 0x000BD06C File Offset: 0x000BB26C
10184 {
10185 if (!true)
10186 {
10187 }
10188 if (!true)
10189 {
10190 if (!true)
10191 {
10192 }
10194 float num;
10196 float num2;
10197 Microsoft.Xna.Framework.Vector2 vector = num2.ToRotationVector2();
10201 }
10202 }
10203
10204 // Token: 0x06001F06 RID: 7942 RVA: 0x000BD0D8 File Offset: 0x000BB2D8
10206 {
10207 if (!true)
10208 {
10209 }
10210 int num = 32640;
10211 int type = proj.type;
10212 int num2 = 32768;
10213 Microsoft.Xna.Framework.Vector2 center = proj.Center;
10214 float rotation = proj.rotation;
10215 if (num == 0)
10216 {
10217 }
10218 float num3;
10219 Microsoft.Xna.Framework.Vector2 vector = num3.ToRotationVector2();
10220 if (num == 0)
10221 {
10222 }
10223 if (num == 0)
10224 {
10225 }
10226 if (num2 == 0)
10227 {
10228 }
10230 if (num2 == 0)
10231 {
10232 }
10233 Point point;
10235 if (num2 == 0)
10236 {
10237 }
10238 if (num2 == 0)
10239 {
10240 }
10241 float num5;
10242 float num6;
10243 float num7;
10244 float num4 = MathHelper.Lerp(num5, num6, num7);
10245 float rotation2 = proj.rotation;
10246 float num8;
10247 Microsoft.Xna.Framework.Vector2 vector2 = num8.ToRotationVector2();
10249 float rotation3 = proj.rotation;
10250 if (16968 == 0)
10251 {
10252 }
10253 int num9 = 1;
10254 float num10;
10255 float lerpValue = Utils.GetLerpValue(num10, num8, num10, num9 != 0);
10256 int num11 = 1;
10258 int num12 = 1;
10260 int num13 = 1;
10262 float num14 = MathHelper.Lerp(num6, num8, num10);
10263 float num15;
10264 Microsoft.Xna.Framework.Vector2 vector3 = num15.ToRotationVector2();
10265 float num17;
10266 float num16 = MathHelper.Lerp(num15, num17, num10);
10267 Microsoft.Xna.Framework.Vector2 vector4 = num10.ToRotationVector2();
10269 }
10270
10271 // Token: 0x06001F07 RID: 7943 RVA: 0x000BD254 File Offset: 0x000BB454
10273 {
10274 int num = 1;
10275 Microsoft.Xna.Framework.Vector2 center = proj.Center;
10276 if (num == 0)
10277 {
10278 }
10280 if (num == 0)
10281 {
10282 }
10283 Microsoft.Xna.Framework.Graphics.Color color = proj.AI_171_GetColor();
10286 if (17008 == 0)
10287 {
10288 }
10289 int num2 = 1;
10290 float num3;
10291 float num4;
10292 float lerpValue = Utils.GetLerpValue(num3, num4, num3, num2 != 0);
10293 float rotation = proj.rotation;
10296 float rotation2 = proj.rotation;
10299 int num5 = 1;
10300 float num6;
10301 float lerpValue2 = Utils.GetLerpValue(num6, num4, num6, num5 != 0);
10303 int num7 = 1;
10304 float num8;
10305 float lerpValue3 = Utils.GetLerpValue(num8, num4, num8, num7 != 0);
10307 long num10 = 0L;
10308 float num11;
10310 int num12 = 1;
10311 float num13;
10313 float rotation3 = proj.rotation;
10314 Microsoft.Xna.Framework.Vector2 vector3 = num13.ToRotationVector2();
10315 if (49904 == 0)
10316 {
10317 }
10319 float rotation4 = proj.rotation;
10320 float rotation5 = proj.rotation;
10321 float rotation6 = proj.rotation;
10322 Microsoft.Xna.Framework.Vector2 vector4 = num13.ToRotationVector2();
10324 float rotation7 = proj.rotation;
10325 float rotation8 = proj.rotation;
10326 float rotation9 = proj.rotation;
10327 }
10328
10329 // Token: 0x06001F08 RID: 7944 RVA: 0x000BD3F0 File Offset: 0x000BB5F0
10331 {
10332 int num = 1;
10333 Microsoft.Xna.Framework.Vector2 center = proj.Center;
10334 if (num == 0)
10335 {
10336 }
10338 if (num == 0)
10339 {
10340 }
10343 float opacity = proj.Opacity;
10344 float opacity2 = proj.Opacity;
10345 float rotation = proj.rotation;
10346 float num2;
10347 Microsoft.Xna.Framework.Vector2 vector2 = num2.ToRotationVector2();
10352 float rotation2 = proj.rotation;
10353 float rotation3 = proj.rotation;
10354 Microsoft.Xna.Framework.Vector2 vector3 = num2.ToRotationVector2();
10356 float rotation4 = proj.rotation;
10357 float rotation5 = proj.rotation;
10358 }
10359
10360 // Token: 0x06001F09 RID: 7945 RVA: 0x000BD4B4 File Offset: 0x000BB6B4
10362 {
10363 int num = 1;
10364 if (num == 0)
10365 {
10366 }
10368 Microsoft.Xna.Framework.Vector2 center = proj.Center;
10370 if (num == 0)
10371 {
10372 }
10375 float opacity = proj.Opacity;
10376 float scale = proj.scale;
10377 float rotation = proj.rotation;
10378 float opacity2 = proj.Opacity;
10379 int num2 = 1;
10380 float num3;
10382 int num4 = 1;
10383 float num5;
10385 int num6 = 16948;
10386 int num7 = 1;
10387 float num8;
10390 if (49904 == 0)
10391 {
10392 }
10397 if (num6 == 0)
10398 {
10399 }
10401 if (num6 == 0)
10402 {
10403 }
10405 }
10406
10407 // Token: 0x06001F0A RID: 7946 RVA: 0x000BD5B8 File Offset: 0x000BB7B8
10409 {
10410 int num = 1;
10411 Microsoft.Xna.Framework.Vector2 center = proj.Center;
10412 if (num == 0)
10413 {
10414 }
10416 if (num == 0)
10417 {
10418 }
10419 if (num == 0)
10420 {
10421 }
10424 float opacity = proj.Opacity;
10425 float opacity2 = proj.Opacity;
10426 long num2 = 0L;
10427 float x = proj.velocity.X;
10428 float y = proj.velocity.Y;
10431 float rotation = proj.rotation;
10432 float rotation2 = proj.rotation;
10433 Microsoft.Xna.Framework.Vector2 vector2 = ((float)num2).ToRotationVector2();
10434 float rotation3 = proj.rotation;
10435 float rotation4 = proj.rotation;
10436 }
10437
10438 // Token: 0x06001F0B RID: 7947 RVA: 0x000BD668 File Offset: 0x000BB868
10440 {
10441 int num = 1;
10442 if (num == 0)
10443 {
10444 }
10445 if (num == 0)
10446 {
10447 }
10448 if (num == 0)
10449 {
10450 }
10451 Microsoft.Xna.Framework.Vector2 center = proj.Center;
10453 int timeLeft = proj.timeLeft;
10454 int timeLeft2 = proj.timeLeft;
10455 int timeLeft3 = proj.timeLeft;
10456 int timeLeft4 = proj.timeLeft;
10457 if (17302 == 0)
10458 {
10459 }
10460 }
10461
10462 // Token: 0x06001F0C RID: 7948 RVA: 0x000BD6F8 File Offset: 0x000BB8F8
10464 {
10465 int num = 1;
10466 if (num == 0)
10467 {
10468 }
10469 if (num == 0)
10470 {
10471 }
10472 if (num == 0)
10473 {
10474 }
10475 int type = proj.type;
10476 }
10477
10478 // Token: 0x06001F0D RID: 7949 RVA: 0x000BD744 File Offset: 0x000BB944
10480 {
10481 /*
10482An exception occurred when decompiling this method (06001F0D)
10483
10484ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::DrawWhip_BoneWhip(Terraria.Projectile,System.Collections.Generic.List`1<Microsoft.Xna.Framework.Vector2>)
10485
10486 ---> System.Exception: Basic block has to end with unconditional control flow.
10487{
10488 IL_0023:
10489 stloc:Color(var_12_33, call:Color(Lighting::GetColor, ldloc:Point(var_11)))
10490 stloc:Vector2(var_13_3A, callgetter:Vector2(Main::get_screenPosition))
10491 stloc:int32(var_18_48, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<valuetype Microsoft.Xna.Framework.Vector2>[exp:List`1](controlPoints)))
10492}
10493
10494 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
10495 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
10496 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
10497 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
10498 --- End of inner exception stack trace ---
10499 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
10500 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
10501*/;
10502 }
10503
10504 // Token: 0x06001F0E RID: 7950 RVA: 0x000BD79C File Offset: 0x000BB99C
10506 {
10507 /*
10508An exception occurred when decompiling this method (06001F0E)
10509
10510ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::DrawWhip_CoolWhip(Terraria.Projectile,System.Collections.Generic.List`1<Microsoft.Xna.Framework.Vector2>)
10511
10512 ---> System.Exception: Basic block has to end with unconditional control flow.
10513{
10514 IL_0043:
10515 stloc:int32(var_21_4C, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<valuetype Microsoft.Xna.Framework.Vector2>[exp:List`1](controlPoints)))
10516}
10517
10518 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
10519 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
10520 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
10521 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
10522 --- End of inner exception stack trace ---
10523 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
10524 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
10525*/;
10526 }
10527
10528 // Token: 0x06001F0F RID: 7951 RVA: 0x000BD7F8 File Offset: 0x000BB9F8
10530 {
10531 /*
10532An exception occurred when decompiling this method (06001F0F)
10533
10534ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::DrawWhip_FireWhip(Terraria.Projectile,System.Collections.Generic.List`1<Microsoft.Xna.Framework.Vector2>)
10535
10536 ---> System.Exception: Basic block has to end with unconditional control flow.
10537{
10538 IL_0043:
10539 stloc:int32(var_21_4C, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<valuetype Microsoft.Xna.Framework.Vector2>[exp:List`1](controlPoints)))
10540}
10541
10542 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
10543 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
10544 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
10545 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
10546 --- End of inner exception stack trace ---
10547 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
10548 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
10549*/;
10550 }
10551
10552 // Token: 0x06001F10 RID: 7952 RVA: 0x000BD854 File Offset: 0x000BBA54
10554 {
10555 /*
10556An exception occurred when decompiling this method (06001F10)
10557
10558ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::DrawWhip_RainbowWhip(Terraria.Projectile,System.Collections.Generic.List`1<Microsoft.Xna.Framework.Vector2>)
10559
10560 ---> System.Exception: Basic block has to end with unconditional control flow.
10561{
10562 IL_007A:
10563 stloc:int32(var_37_83, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<valuetype Microsoft.Xna.Framework.Vector2>[exp:List`1](controlPoints)))
10564}
10565
10566 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
10567 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
10568 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
10569 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
10570 --- End of inner exception stack trace ---
10571 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
10572 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
10573*/;
10574 }
10575
10576 // Token: 0x06001F11 RID: 7953 RVA: 0x000BD8E8 File Offset: 0x000BBAE8
10578 {
10579 /*
10580An exception occurred when decompiling this method (06001F11)
10581
10582ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::DrawWhip_ThornWhip(Terraria.Projectile,System.Collections.Generic.List`1<Microsoft.Xna.Framework.Vector2>)
10583
10584 ---> System.Exception: Basic block has to end with unconditional control flow.
10585{
10586 IL_0023:
10587 stloc:Color(var_12_33, call:Color(Lighting::GetColor, ldloc:Point(var_11)))
10588 stloc:Vector2(var_13_3A, callgetter:Vector2(Main::get_screenPosition))
10589 stloc:int32(var_18_48, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<valuetype Microsoft.Xna.Framework.Vector2>[exp:List`1](controlPoints)))
10590}
10591
10592 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
10593 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
10594 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
10595 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
10596 --- End of inner exception stack trace ---
10597 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
10598 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
10599*/;
10600 }
10601
10602 // Token: 0x06001F12 RID: 7954 RVA: 0x000BD940 File Offset: 0x000BBB40
10604 {
10605 /*
10606An exception occurred when decompiling this method (06001F12)
10607
10608ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::DrawWhip_WhipSword(Terraria.Projectile,System.Collections.Generic.List`1<Microsoft.Xna.Framework.Vector2>)
10609
10610 ---> System.Exception: Basic block has to end with unconditional control flow.
10611{
10612 IL_0043:
10613 stloc:int32(var_20_4C, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<valuetype Microsoft.Xna.Framework.Vector2>[exp:List`1](controlPoints)))
10614}
10615
10616 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
10617 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
10618 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
10619 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
10620 --- End of inner exception stack trace ---
10621 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
10622 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
10623*/;
10624 }
10625
10626 // Token: 0x06001F13 RID: 7955 RVA: 0x000BD99C File Offset: 0x000BBB9C
10628 {
10629 /*
10630An exception occurred when decompiling this method (06001F13)
10631
10632ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::DrawWhip_WhipMace(Terraria.Projectile,System.Collections.Generic.List`1<Microsoft.Xna.Framework.Vector2>)
10633
10634 ---> System.Exception: Basic block has to end with unconditional control flow.
10635{
10636 IL_0050:
10637 stloc:int32(var_28_59, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<valuetype Microsoft.Xna.Framework.Vector2>[exp:List`1](controlPoints)))
10638}
10639
10640 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
10641 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
10642 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
10643 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
10644 --- End of inner exception stack trace ---
10645 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
10646 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
10647*/;
10648 }
10649
10650 // Token: 0x06001F14 RID: 7956 RVA: 0x000BDA04 File Offset: 0x000BBC04
10652 {
10653 /*
10654An exception occurred when decompiling this method (06001F14)
10655
10656ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::DrawWhip_WhipScythe(Terraria.Projectile,System.Collections.Generic.List`1<Microsoft.Xna.Framework.Vector2>)
10657
10658 ---> System.Exception: Basic block has to end with unconditional control flow.
10659{
10660 IL_0050:
10661 stloc:int32(var_28_59, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<valuetype Microsoft.Xna.Framework.Vector2>[exp:List`1](controlPoints)))
10662}
10663
10664 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
10665 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
10666 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
10667 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
10668 --- End of inner exception stack trace ---
10669 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
10670 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
10671*/;
10672 }
10673
10674 // Token: 0x06001F15 RID: 7957 RVA: 0x000BDA6C File Offset: 0x000BBC6C
10676 {
10677 /*
10678An exception occurred when decompiling this method (06001F15)
10679
10680ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::DrawWhip_WhipBland(Terraria.Projectile,System.Collections.Generic.List`1<Microsoft.Xna.Framework.Vector2>)
10681
10682 ---> System.Exception: Basic block has to end with unconditional control flow.
10683{
10684 IL_004A:
10685 stloc:Vector2(var_23_4F, callgetter:Vector2(Main::get_screenPosition))
10686 stloc:int32(var_28_5D, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<valuetype Microsoft.Xna.Framework.Vector2>[exp:List`1](controlPoints)))
10687}
10688
10689 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
10690 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
10691 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
10692 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
10693 --- End of inner exception stack trace ---
10694 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
10695 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
10696*/;
10697 }
10698
10699 // Token: 0x06001F16 RID: 7958 RVA: 0x000BDAD8 File Offset: 0x000BBCD8
10701 {
10702 int num = 1;
10703 if (num == 0)
10704 {
10705 }
10706 int spriteDirection = proj.spriteDirection;
10707 int frame = proj.frame;
10708 if (spriteDirection == 0)
10709 {
10710 }
10713 if (num == 0)
10714 {
10715 }
10716 Microsoft.Xna.Framework.Vector2 center = proj.Center;
10719 Point point;
10721 bool isAPreviewDummy = proj.isAPreviewDummy;
10722 if (spriteDirection == 0)
10723 {
10724 }
10725 float scale = proj.scale;
10726 float rotation = proj.rotation;
10727 int frame2 = proj.frame;
10728 float scale2 = proj.scale;
10729 float rotation2 = proj.rotation;
10730 }
10731
10732 // Token: 0x06001F17 RID: 7959 RVA: 0x000BDB74 File Offset: 0x000BBD74
10734 {
10735 int num = 1;
10736 if (num == 0)
10737 {
10738 }
10739 if (num != 0)
10740 {
10741 return;
10742 }
10743 int type = proj.type;
10744 }
10745
10746 // Token: 0x06001F18 RID: 7960 RVA: 0x000BDC84 File Offset: 0x000BBE84
10748 {
10749 if (!true)
10750 {
10751 }
10752 }
10753
10754 // Token: 0x06001F19 RID: 7961 RVA: 0x000BDF0C File Offset: 0x000BC10C
10756 {
10757 int num;
10758 do
10759 {
10760 if (!true)
10761 {
10762 }
10763 int direction = proj.direction;
10764 int width = proj.width;
10765 if (direction == 0)
10766 {
10767 }
10768 num = 1;
10769 if (num == 0)
10770 {
10771 }
10772 }
10773 while (num == 0);
10774 if (proj.direction == 0)
10775 {
10776 return;
10777 }
10778 }
10779
10780 // Token: 0x06001F1A RID: 7962 RVA: 0x000BDF5C File Offset: 0x000BC15C
10782 {
10783 int alpha = proj.alpha;
10784 if (proj.velocity == null)
10785 {
10786 }
10787 int type = proj.type;
10788 Microsoft.Xna.Framework.Vector2[] oldPos = proj.oldPos;
10789 float x = proj.position.X;
10790 float y = proj.position.Y;
10792 float num = vector.Length();
10793 if (oldPos == null)
10794 {
10795 }
10796 if (!true)
10797 {
10798 }
10799 }
10800
10801 // Token: 0x06001F1B RID: 7963 RVA: 0x000BE19C File Offset: 0x000BC39C
10803 {
10804 int num = 1;
10805 if (num == 0)
10806 {
10807 }
10808 if (num == 0)
10809 {
10810 if (num == 0)
10811 {
10812 }
10813 bool gameMenu = Main.gameMenu;
10814 if (num == 0)
10815 {
10816 }
10818 if (num == 0)
10819 {
10820 }
10822 if (num == 0)
10823 {
10824 }
10827 if (num == 0)
10828 {
10829 }
10831 if (num == 0)
10832 {
10833 }
10834 if (num == 0)
10835 {
10836 }
10839 if (num == 0)
10840 {
10841 }
10844 if (rectangle == null)
10845 {
10846 }
10847 int num2 = 1;
10848 if (num2 == 0)
10849 {
10850 }
10852 bool lastMouseInterface = localPlayer.lastMouseInterface;
10853 if (num2 == 0)
10854 {
10855 }
10856 int num3 = 1;
10857 int num4 = 2;
10859 int num5 = 4131;
10862 if (num5 == 0)
10863 {
10864 }
10866 localPlayer.GamepadEnableGrappleCooldown();
10867 if (num5 == 0)
10868 {
10869 }
10870 bool mouseRight = Main.mouseRight;
10871 if (num5 == 0)
10872 {
10873 }
10876 {
10877 Main.mouseRightRelease = false;
10878 int num6 = localPlayer.chest;
10879 int num7 = 257;
10882 if (num6 == 0)
10883 {
10884 }
10885 int disableVoidBag = localPlayer.disableVoidBag;
10886 localPlayer.chest = disableVoidBag;
10887 if (disableVoidBag == 0)
10888 {
10889 }
10890 int num8 = 1;
10891 long num9 = 0L;
10892 Point point;
10893 localPlayer.chestX = point;
10894 localPlayer.SetTalkNPC(num8, num9 != 0L);
10895 if (disableVoidBag == 0)
10896 {
10897 }
10899 Main.playerInventory = true;
10900 if (disableVoidBag == 0)
10901 {
10902 }
10903 Recipe.FindRecipes(false);
10904 }
10907 return;
10908 }
10909 }
10910
10911 // Token: 0x06001F1C RID: 7964 RVA: 0x000BE328 File Offset: 0x000BC528
10913 {
10914 int num = 1;
10915 if (num == 0)
10916 {
10917 }
10918 if (num == 0)
10919 {
10920 if (num == 0)
10921 {
10922 }
10923 bool gameMenu = Main.gameMenu;
10924 if (num == 0)
10925 {
10926 }
10928 if (num == 0)
10929 {
10930 }
10932 if (num == 0)
10933 {
10934 }
10937 if (num == 0)
10938 {
10939 }
10941 if (num == 0)
10942 {
10943 }
10944 if (num == 0)
10945 {
10946 }
10949 if (num == 0)
10950 {
10951 }
10953 if (num == 0)
10954 {
10955 }
10956 int num2 = 1;
10957 if (num2 == 0)
10958 {
10959 }
10961 bool lastMouseInterface = localPlayer.lastMouseInterface;
10962 if (num2 == 0)
10963 {
10964 }
10965 int num3 = 1;
10966 int num4 = 2;
10968 int num5 = 3213;
10972 if (num5 == 0)
10973 {
10974 }
10976 localPlayer.GamepadEnableGrappleCooldown();
10977 if (num5 == 0)
10978 {
10979 }
10980 bool mouseRight = Main.mouseRight;
10981 if (num5 == 0)
10982 {
10983 }
10986 {
10987 Main.mouseRightRelease = false;
10988 int num6 = localPlayer.chest;
10989 int num7 = 257;
10992 if (num6 == 0)
10993 {
10994 }
10996 if (num6 == 0)
10997 {
10998 }
10999 int num8 = 1;
11000 long num9 = 0L;
11001 Point point;
11002 localPlayer.chestX = point;
11003 localPlayer.SetTalkNPC(num8, num9 != 0L);
11004 if (num6 == 0)
11005 {
11006 }
11008 int num10 = 1;
11010 int num11 = 1;
11012 Recipe.FindRecipes(false);
11013 }
11016 return;
11017 }
11018 }
11019
11020 // Token: 0x06001F1D RID: 7965 RVA: 0x000BE4C0 File Offset: 0x000BC6C0
11021 public static void PlayInteractiveProjectileOpenCloseSound(int projType, bool open)
11022 {
11023 if (!true)
11024 {
11025 }
11026 }
11027
11028 // Token: 0x06001F1E RID: 7966 RVA: 0x000BE4D8 File Offset: 0x000BC6D8
11029 public static void PrintTimedMessage(string message, params object[] arguments)
11030 {
11031 if (!true)
11032 {
11033 }
11034 string text = string.Format(message, arguments);
11035 if (32768 == 0)
11036 {
11037 }
11038 string text2;
11039 Console.WriteLine(text2);
11040 }
11041
11042 // Token: 0x06001F1F RID: 7967 RVA: 0x000BE500 File Offset: 0x000BC700
11044 {
11045 int num = 1;
11046 if (num == 0)
11047 {
11048 }
11049 if (num != 0)
11050 {
11051 if (num == 0)
11052 {
11053 }
11054 bool gameMenu = Main.gameMenu;
11055 }
11056 float x = proj.position.X;
11057 float y = proj.position.Y;
11058 if (num == 0)
11059 {
11060 }
11062 if (num == 0)
11063 {
11064 }
11065 int mouseX = Main.mouseX;
11066 if (num == 0)
11067 {
11068 }
11069 int mouseX2 = Main.mouseX;
11070 int width = proj.width;
11071 if (num == 0)
11072 {
11073 }
11074 int mouseY = Main.mouseY;
11075 if (num == 0)
11076 {
11077 }
11078 int mouseY2 = Main.mouseY;
11079 int height = proj.height;
11080 if (num == 0)
11081 {
11082 }
11083 int myPlayer = Main.myPlayer;
11084 int myPlayer2 = Main.myPlayer;
11085 Microsoft.Xna.Framework.Vector2 center = proj.Center;
11087 int myPlayer3 = Main.myPlayer;
11088 int myPlayer4 = Main.myPlayer;
11089 }
11090
11091 // Token: 0x06001F20 RID: 7968 RVA: 0x000BE67C File Offset: 0x000BC87C
11093 {
11094 if (!true)
11095 {
11096 }
11098 }
11099
11100 // Token: 0x06001F21 RID: 7969 RVA: 0x000BE694 File Offset: 0x000BC894
11102 {
11103 if (true)
11104 {
11105 return;
11106 }
11107 if (!true)
11108 {
11109 }
11110 if (intendedShader != 0)
11111 {
11112 if (!true)
11113 {
11114 }
11116 Matrix transform = Main.Transform;
11117 return;
11118 }
11119 if (!true)
11120 {
11121 }
11124 if (!true)
11125 {
11126 }
11127 }
11128
11129 // Token: 0x06001F22 RID: 7970 RVA: 0x000BE6D0 File Offset: 0x000BC8D0
11131 {
11132 if (!true)
11133 {
11134 }
11135 }
11136
11137 // Token: 0x06001F23 RID: 7971 RVA: 0x000BE6E0 File Offset: 0x000BC8E0
11139 {
11140 uint num;
11141 if (num != 0U)
11142 {
11143 if (!true)
11144 {
11145 }
11146 if (32768 == 0)
11147 {
11148 }
11149 return;
11150 }
11151 }
11152
11153 // Token: 0x06001F24 RID: 7972 RVA: 0x000BE6FC File Offset: 0x000BC8FC
11154 public static void EntitySpriteDraw(DrawData data)
11155 {
11156 if (!true)
11157 {
11158 }
11159 }
11160
11161 // Token: 0x06001F25 RID: 7973 RVA: 0x000BE710 File Offset: 0x000BC910
11163 {
11165 return color;
11166 }
11167
11168 // Token: 0x06001F26 RID: 7974 RVA: 0x000021DB File Offset: 0x000003DB
11169 protected void CacheNPCDraws()
11170 {
11171 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
11172 }
11173
11174 // Token: 0x06001F27 RID: 7975 RVA: 0x000021DB File Offset: 0x000003DB
11175 protected void CacheProjDraws()
11176 {
11177 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
11178 }
11179
11180 // Token: 0x06001F28 RID: 7976 RVA: 0x000BE720 File Offset: 0x000BC920
11181 protected void DrawCachedNPCs(List<int> npcCache, bool behindTiles)
11182 {
11183 if (!true)
11184 {
11185 }
11186 int size = npcCache._size;
11187 int size2 = npcCache._size;
11188 }
11189
11190 // Token: 0x06001F29 RID: 7977 RVA: 0x000BE748 File Offset: 0x000BC948
11192 {
11193 if (!true)
11194 {
11195 }
11197 Matrix transform = Main.Transform;
11198 int size = projCache._size;
11199 int size2 = projCache._size;
11200 }
11201
11202 // Token: 0x06001F2A RID: 7978 RVA: 0x000BE77C File Offset: 0x000BC97C
11204 {
11205 if (!true)
11206 {
11207 }
11209 Matrix transform = Main.Transform;
11210 int size = projCache._size;
11211 int num = 32768;
11212 if (2 == 0)
11213 {
11214 }
11216 if (num != 0)
11217 {
11218 }
11219 }
11220
11221 // Token: 0x06001F2B RID: 7979 RVA: 0x000BE7F8 File Offset: 0x000BC9F8
11222 protected void SortDrawCacheWorms()
11223 {
11225 this.SortBabyBirdProjectiles(drawCacheProjsOverPlayers);
11227 this.SortStardustDragonProjectiles(drawCacheProjsBehindProjectiles);
11228 }
11229
11230 // Token: 0x06001F2C RID: 7980 RVA: 0x000BE824 File Offset: 0x000BCA24
11232 {
11233 int size = list._size;
11234 }
11235
11236 // Token: 0x06001F2D RID: 7981 RVA: 0x000021DB File Offset: 0x000003DB
11238 {
11239 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
11240 }
11241
11242 // Token: 0x06001F2E RID: 7982 RVA: 0x000BE83C File Offset: 0x000BCA3C
11243 protected void DrawWoF()
11244 {
11245 int num = 1;
11246 if (num == 0)
11247 {
11248 }
11249 if (num == 0)
11250 {
11251 }
11252 if (num != 0 && num == 0)
11253 {
11254 if (num == 0)
11255 {
11256 }
11257 Main.DrawWOFTongueToPlayer(int.MinValue);
11258 }
11259 }
11260
11261 // Token: 0x06001F2F RID: 7983 RVA: 0x000BE880 File Offset: 0x000BCA80
11262 private static void DrawWOFBody()
11263 {
11264 if (!true)
11265 {
11266 }
11270 long num = -2147483647L;
11271 if (num == 0L)
11272 {
11273 }
11274 if (num != 0L)
11275 {
11276 return;
11277 }
11278 if (num == 0L)
11279 {
11280 if (num != 0L)
11281 {
11282 return;
11283 }
11284 if (num == 0L)
11285 {
11286 }
11287 }
11288 if (43691 == 0)
11289 {
11290 }
11293 long num2 = 0L;
11295 }
11296
11297 // Token: 0x06001F30 RID: 7984 RVA: 0x000BE8EC File Offset: 0x000BCAEC
11298 private static void DrawWOFRopeToTheHungry(int i)
11299 {
11300 }
11301
11302 // Token: 0x06001F31 RID: 7985 RVA: 0x000BE934 File Offset: 0x000BCB34
11303 private static void DrawWOFTongueToPlayer(int i)
11304 {
11305 if (!true)
11306 {
11307 }
11308 long num = 0L;
11309 Microsoft.Xna.Framework.Graphics.Color color = Lighting.GetColor(1073741824, (int)num);
11312 }
11313
11314 // Token: 0x06001F32 RID: 7986 RVA: 0x000BE968 File Offset: 0x000BCB68
11320
11321 // Token: 0x06001F33 RID: 7987 RVA: 0x000BE978 File Offset: 0x000BCB78
11323 {
11324 int num = 1;
11325 int type = item.type;
11326 if (num == 0)
11327 {
11328 }
11329 int type2 = item.type;
11330 if (num == 0 && num == 0)
11331 {
11332 int type3 = item.type;
11333 }
11334 int type4;
11335 if (num == 0)
11336 {
11337 type4 = item.type;
11338 }
11339 if (num == 0)
11340 {
11341 }
11342 if (type4 == 0)
11343 {
11344 }
11345 }
11346
11347 // Token: 0x06001F34 RID: 7988 RVA: 0x000BEA54 File Offset: 0x000BCC54
11349 {
11350 if (!true)
11351 {
11352 }
11353 }
11354
11355 // Token: 0x06001F35 RID: 7989 RVA: 0x000BEA64 File Offset: 0x000BCC64
11356 protected void DrawItem(Item item, int whoami)
11357 {
11358 if (!item.active)
11359 {
11360 return;
11361 }
11362 bool isAir = item.IsAir;
11363 bool instanced = item.instanced;
11364 if (instanced)
11365 {
11366 int playerIndexTheItemIsReservedFor = item.playerIndexTheItemIsReservedFor;
11367 if (!instanced)
11368 {
11369 }
11370 int myPlayer = Main.myPlayer;
11371 }
11372 if (!instanced)
11373 {
11374 }
11375 if (!instanced)
11376 {
11377 }
11378 int width = item.width;
11379 bool wet = item.wet;
11380 float x = item.position.X;
11381 float y = item.position.Y;
11382 if (width == 0)
11383 {
11384 }
11386 float x2 = item.velocity.X;
11387 bool shimmered = item.shimmered;
11388 int num = 16256;
11390 if (num == 0)
11391 {
11392 }
11393 if (!shimmered)
11394 {
11395 }
11396 Point point;
11398 bool shimmered2 = item.shimmered;
11399 float shimmerTime = item.shimmerTime;
11400 int num2;
11401 long num3;
11402 if (shimmered2)
11403 {
11404 num2 = 17279;
11405 num3 = 16843009L;
11406 return;
11407 }
11408 if (num2 == 0)
11409 {
11410 }
11411 if (num2 == 0)
11412 {
11413 }
11414 if (num2 == 0)
11415 {
11416 bool isACoin = item.IsACoin;
11417 int type = item.type;
11418 return;
11419 }
11420 if (num2 == 0)
11421 {
11422 }
11423 if (num3 != 0L)
11424 {
11425 int timeSinceItemSpawned = item.timeSinceItemSpawned;
11426 if (num2 == 0)
11427 {
11428 }
11429 int num4 = 17264;
11430 if (num4 == 0)
11431 {
11432 }
11433 if (num4 == 0)
11434 {
11435 }
11436 if (num4 == 0)
11437 {
11438 }
11439 return;
11440 }
11441 int num5 = 4143;
11443 int num6 = 17264;
11444 if (num6 == 0)
11445 {
11446 }
11447 if (num5 == 0)
11448 {
11449 }
11450 if (num6 == 0)
11451 {
11452 }
11453 if (num6 == 0)
11454 {
11455 }
11456 }
11457
11458 // Token: 0x06001F36 RID: 7990 RVA: 0x000BEE48 File Offset: 0x000BD048
11459 public void DrawItems()
11460 {
11461 if (!true)
11462 {
11463 }
11464 }
11465
11466 // Token: 0x06001F37 RID: 7991 RVA: 0x000BEE5C File Offset: 0x000BD05C
11467 protected void DrawRain()
11468 {
11469 int num;
11470 if (this._active)
11471 {
11472 num = 1;
11473 return;
11474 }
11475 if (num == 0)
11476 {
11477 }
11479 long num2 = 0L;
11480 if (num == 0)
11481 {
11482 }
11483 int num3 = 1;
11484 if (num3 == 0)
11485 {
11486 }
11487 int value = num3.m_value;
11488 if (num3 == 0)
11489 {
11490 }
11491 if (num3 == 0)
11492 {
11493 }
11494 Rain[] rain = Main.rain;
11495 if (num3 != 0)
11496 {
11497 if (num3 == 0)
11498 {
11499 }
11501 if (1073741824 == 0)
11502 {
11503 }
11504 if (1073741824 == 0)
11505 {
11506 }
11507 if (1073741824 == 0)
11508 {
11509 }
11510 if (1073741824 == 0)
11511 {
11512 }
11514 }
11515 }
11516
11517 // Token: 0x06001F38 RID: 7992 RVA: 0x000BEEF4 File Offset: 0x000BD0F4
11518 [Il2CppSetOption(Option.NullChecks, false)]
11519 [Il2CppSetOption(Option.ArrayBoundsChecks, false)]
11520 protected void DrawDust()
11521 {
11522 if (!true)
11523 {
11524 }
11532 Matrix transform = Main.Transform;
11533 if (!true)
11534 {
11535 }
11536 if (!true)
11537 {
11538 }
11540 int <Height>k__BackingField = lightMap.<Height>k__BackingField;
11541 int num = 1;
11542 if (num == 0)
11543 {
11544 }
11545 Microsoft.Xna.Framework.Vector3[] colors = lightMap._colors;
11546 int num2 = 17279;
11547 if (colors != null && num2 != 0)
11548 {
11549 return;
11550 }
11551 if (num == 0)
11552 {
11553 }
11554 if (num != 0)
11555 {
11556 return;
11557 }
11558 }
11559
11560 // Token: 0x06001F39 RID: 7993 RVA: 0x000BF0C8 File Offset: 0x000BD2C8
11561 public static void HelpText()
11562 {
11563 int num = 1;
11564 if (num == 0)
11565 {
11566 }
11567 int myPlayer = Main.myPlayer;
11568 int myPlayer2 = Main.myPlayer;
11569 if (num == 0)
11570 {
11571 }
11572 int myPlayer3 = Main.myPlayer;
11573 if (num == 0)
11574 {
11575 }
11576 int myPlayer4 = Main.myPlayer;
11577 string text;
11578 bool flag = text != "Copper Pickaxe";
11579 if ("Copper Pickaxe" == null)
11580 {
11581 }
11582 int myPlayer5 = Main.myPlayer;
11583 if ("Copper Pickaxe" == null)
11584 {
11585 }
11586 int myPlayer6 = Main.myPlayer;
11587 string text2;
11588 bool flag2 = text2 != "Copper Axe";
11589 if ("Copper Axe" == null)
11590 {
11591 }
11592 int myPlayer7 = Main.myPlayer;
11593 int myPlayer8 = Main.myPlayer;
11594 if ("Copper Axe" == null)
11595 {
11596 }
11597 int myPlayer9 = Main.myPlayer;
11598 if ("Copper Axe" == null)
11599 {
11600 }
11601 int myPlayer10 = Main.myPlayer;
11602 if ("Copper Axe" == null)
11603 {
11604 }
11605 int myPlayer11 = Main.myPlayer;
11606 if ("Copper Axe" == null)
11607 {
11608 }
11609 int myPlayer12 = Main.myPlayer;
11610 if ("Copper Axe" == null)
11611 {
11612 }
11613 int myPlayer13 = Main.myPlayer;
11614 if ("Copper Axe" == null)
11615 {
11616 }
11617 int myPlayer14 = Main.myPlayer;
11618 if ("Copper Axe" == null)
11619 {
11620 }
11621 int myPlayer15 = Main.myPlayer;
11622 int num2 = 1;
11623 if (num2 == 0)
11624 {
11625 }
11626 int myPlayer16 = Main.myPlayer;
11627 if (num2 == 0)
11628 {
11629 }
11630 int myPlayer17 = Main.myPlayer;
11631 if (num2 == 0)
11632 {
11633 }
11634 int myPlayer18 = Main.myPlayer;
11635 if (num2 == 0)
11636 {
11637 }
11638 int myPlayer19 = Main.myPlayer;
11639 if (num2 == 0)
11640 {
11641 }
11642 int myPlayer20 = Main.myPlayer;
11643 if (num2 == 0)
11644 {
11645 }
11646 int myPlayer21 = Main.myPlayer;
11647 if (num2 == 0)
11648 {
11649 }
11650 int myPlayer22 = Main.myPlayer;
11651 if (num2 == 0)
11652 {
11653 }
11654 int myPlayer23 = Main.myPlayer;
11655 int num3 = 1;
11656 if (num3 == 0)
11657 {
11658 }
11659 int myPlayer24 = Main.myPlayer;
11660 int myPlayer25 = Main.myPlayer;
11661 int myPlayer26 = Main.myPlayer;
11662 if (num3 == 0)
11663 {
11664 }
11665 int myPlayer27 = Main.myPlayer;
11666 if (num3 == 0)
11667 {
11668 }
11669 int myPlayer28 = Main.myPlayer;
11670 if (num3 == 0)
11671 {
11672 }
11673 int myPlayer29 = Main.myPlayer;
11674 if (num3 == 0)
11675 {
11676 }
11677 int myPlayer30 = Main.myPlayer;
11678 if (num3 == 0)
11679 {
11680 }
11681 int myPlayer31 = Main.myPlayer;
11682 int num4 = 1;
11683 if (num4 == 0)
11684 {
11685 }
11686 int myPlayer32 = Main.myPlayer;
11687 if (num4 == 0)
11688 {
11689 }
11690 int myPlayer33 = Main.myPlayer;
11691 if (num4 == 0)
11692 {
11693 }
11694 int myPlayer34 = Main.myPlayer;
11695 if (num4 == 0)
11696 {
11697 }
11698 int myPlayer35 = Main.myPlayer;
11699 if (num4 == 0)
11700 {
11701 }
11702 int myPlayer36 = Main.myPlayer;
11703 if (num4 == 0)
11704 {
11705 }
11706 int myPlayer37 = Main.myPlayer;
11707 if (num4 == 0)
11708 {
11709 }
11710 int myPlayer38 = Main.myPlayer;
11711 if (num4 == 0)
11712 {
11713 }
11714 int myPlayer39 = Main.myPlayer;
11715 if (num4 == 0)
11716 {
11717 }
11718 int myPlayer40 = Main.myPlayer;
11719 if (num4 == 0)
11720 {
11721 }
11722 int myPlayer41 = Main.myPlayer;
11723 if (num4 == 0)
11724 {
11725 }
11726 int myPlayer42 = Main.myPlayer;
11727 if (num4 == 0)
11728 {
11729 }
11730 int myPlayer43 = Main.myPlayer;
11731 if (num4 == 0)
11732 {
11733 }
11734 int myPlayer44 = Main.myPlayer;
11735 if (num4 == 0)
11736 {
11737 }
11738 int myPlayer45 = Main.myPlayer;
11739 int num5 = 1;
11740 if (num5 != 0)
11741 {
11742 return;
11743 }
11744 int myPlayer46 = Main.myPlayer;
11745 int myPlayer47 = Main.myPlayer;
11746 int myPlayer48 = Main.myPlayer;
11747 int myPlayer49 = Main.myPlayer;
11748 if (num5 == 0)
11749 {
11750 }
11751 int myPlayer50 = Main.myPlayer;
11752 if (num5 == 0)
11753 {
11754 }
11755 int myPlayer51 = Main.myPlayer;
11756 if (num5 == 0)
11757 {
11758 }
11759 int myPlayer52 = Main.myPlayer;
11760 if (num5 == 0)
11761 {
11762 }
11763 int myPlayer53 = Main.myPlayer;
11764 if (num5 == 0)
11765 {
11766 }
11767 int myPlayer54 = Main.myPlayer;
11768 int num6 = 4714;
11769 if (!true)
11770 {
11771 }
11772 if (num6 != 0)
11773 {
11774 if (num6 == 0)
11775 {
11776 }
11777 if (num6 == 0 || num6 == 0)
11778 {
11779 }
11780 if (num6 == 0)
11781 {
11782 }
11783 if (num6 != 0)
11784 {
11785 return;
11786 }
11787 if (num6 == 0)
11788 {
11789 while (num6 != 0)
11790 {
11791 }
11792 while (num6 != 0)
11793 {
11794 }
11795 while (num6 != 0)
11796 {
11797 }
11798 while (num6 != 0)
11799 {
11800 }
11801 while (num6 != 0)
11802 {
11803 }
11804 while (num6 != 0)
11805 {
11806 }
11807 while (num6 != 0)
11808 {
11809 }
11810 while (num6 != 0)
11811 {
11812 }
11813 while (num6 != 0)
11814 {
11815 }
11816 while (num6 != 0)
11817 {
11818 }
11819 while (num6 != 0)
11820 {
11821 }
11822 if (num6 != 0)
11823 {
11824 return;
11825 }
11826 if (num6 != 0)
11827 {
11828 return;
11829 }
11830 if (num6 != 0)
11831 {
11832 return;
11833 }
11834 if (num6 != 0)
11835 {
11836 return;
11837 }
11838 if (num6 != 0)
11839 {
11840 return;
11841 }
11842 if (num6 != 0)
11843 {
11844 return;
11845 }
11846 if (num6 != 0)
11847 {
11848 return;
11849 }
11850 if (num6 != 0)
11851 {
11852 return;
11853 }
11854 if (num6 != 0)
11855 {
11856 return;
11857 }
11858 if (num6 != 0)
11859 {
11860 return;
11861 }
11862 if (num6 == 0)
11863 {
11864 }
11865 return;
11866 }
11867 }
11868 }
11869
11870 // Token: 0x06001F3A RID: 7994 RVA: 0x000BF8EC File Offset: 0x000BDAEC
11871 private void OpenShop(int shopIndex)
11872 {
11873 if (!true)
11874 {
11875 }
11876 Main.playerInventory = true;
11877 Main.stackSplit = 9999;
11878 Main.npcChatText = "";
11880 int npcShop = Main.npcShop;
11881 int npcShop2 = Main.npcShop;
11882 Chest[] array;
11884 }
11885
11886 // Token: 0x06001F3B RID: 7995 RVA: 0x000BF934 File Offset: 0x000BDB34
11887 public static void SetNPCShopIndex(int index)
11888 {
11889 if (!true)
11890 {
11891 }
11893 }
11894
11895 // Token: 0x06001F3C RID: 7996 RVA: 0x000BF94C File Offset: 0x000BDB4C
11896 public static void CloseNPCChatOrSign()
11897 {
11898 if (!true)
11899 {
11900 }
11901 int myPlayer = Main.myPlayer;
11902 Main.editSign = false;
11903 int myPlayer2 = Main.myPlayer;
11905 Main.npcChatText = "";
11906 int myPlayer3 = Main.myPlayer;
11907 }
11908
11909 // Token: 0x06001F3D RID: 7997 RVA: 0x000BF988 File Offset: 0x000BDB88
11910 public static void SubmitSignText()
11911 {
11912 if (!true)
11913 {
11914 }
11915 int myPlayer = Main.myPlayer;
11916 string npcChatText = Main.npcChatText;
11917 Sign.TextSign(int.MinValue, npcChatText);
11918 Main.editSign = false;
11919 bool netClient = Main.NetClient;
11920 }
11921
11922 // Token: 0x06001F3E RID: 7998 RVA: 0x000BF9C8 File Offset: 0x000BDBC8
11924 {
11925 if (!true)
11926 {
11927 }
11928 int num;
11929 return num;
11930 }
11931
11932 // Token: 0x06001F3F RID: 7999 RVA: 0x000021DB File Offset: 0x000003DB
11933 protected void DrawNPCHousesInWorld()
11934 {
11935 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
11936 }
11937
11938 // Token: 0x06001F40 RID: 8000 RVA: 0x000BF9DC File Offset: 0x000BDBDC
11939 protected void DrawPlayerChat()
11940 {
11941 if (!true)
11942 {
11943 }
11944 if (true)
11945 {
11946 }
11949 }
11950
11951 // Token: 0x170004D4 RID: 1236
11952 // (get) Token: 0x06001F41 RID: 8001 RVA: 0x000BFA00 File Offset: 0x000BDC00
11953 public static bool ShouldPVPDraw
11954 {
11955 get
11956 {
11957 /*
11958An exception occurred when decompiling this method (06001F41)
11959
11960ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_ShouldPVPDraw()
11961
11962 ---> System.Exception: Basic block has to end with unconditional control flow.
11963{
11964 IL_0000:
11965 brtrue(IL_0000, ldc.i4:bool(1))
11966}
11967
11968 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
11969 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
11970 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
11971 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
11972 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
11973 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
11974 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
11975 --- End of inner exception stack trace ---
11976 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
11977 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
11978*/;
11979 }
11980 }
11981
11982 // Token: 0x06001F42 RID: 8002 RVA: 0x000BFA10 File Offset: 0x000BDC10
11984 {
11985 if (!true)
11986 {
11987 }
11988 }
11989
11990 // Token: 0x06001F43 RID: 8003 RVA: 0x000BFA20 File Offset: 0x000BDC20
11991 public void DrawMouseOver()
11992 {
11993 int num = 1;
11994 if (num == 0)
11995 {
11996 }
11999 if (num == 0)
12000 {
12001 }
12004 int myPlayer = Main.myPlayer;
12006 int mouseY = Main.mouseY;
12007 }
12008
12009 // Token: 0x06001F44 RID: 8004 RVA: 0x000BFCF0 File Offset: 0x000BDEF0
12011 {
12012 int num = 1;
12013 if (num == 0)
12014 {
12015 }
12016 int myPlayer = Main.myPlayer;
12017 if (num == 0)
12018 {
12019 }
12020 }
12021
12022 // Token: 0x06001F45 RID: 8005 RVA: 0x000BFE94 File Offset: 0x000BE094
12023 private static bool TryFreeingElderSlime(int npcIndex)
12024 {
12025 /*
12026An exception occurred when decompiling this method (06001F45)
12027
12028ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::TryFreeingElderSlime(System.Int32)
12029
12030 ---> System.Exception: Basic block has to end with unconditional control flow.
12031{
12032 IL_0010:
12033 call:void(Recipe::FindRecipes, ldc.i4:bool(0))
12034}
12035
12036 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
12037 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
12038 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
12039 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
12040 --- End of inner exception stack trace ---
12041 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
12042 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
12043*/;
12044 }
12045
12046 // Token: 0x06001F46 RID: 8006 RVA: 0x000BFEBC File Offset: 0x000BE0BC
12047 private static void DrawNPCChatBubble(int i)
12048 {
12049 int num = 1;
12050 if (num == 0)
12051 {
12052 }
12053 if (num == 0)
12054 {
12055 }
12056 int num2;
12057 if (num2 == 0)
12058 {
12059 }
12060 if (num2 == 0)
12061 {
12062 }
12063 }
12064
12065 // Token: 0x06001F47 RID: 8007 RVA: 0x000BFF00 File Offset: 0x000BE100
12066 public void GUIBarsDraw()
12067 {
12068 int num = 1;
12069 if (num == 0)
12070 {
12071 }
12072 if (num != 0)
12073 {
12074 return;
12075 }
12076 }
12077
12078 // Token: 0x06001F48 RID: 8008 RVA: 0x000BFF1C File Offset: 0x000BE11C
12084
12085 // Token: 0x06001F49 RID: 8009 RVA: 0x000BFF34 File Offset: 0x000BE134
12087 {
12088 if (!true)
12089 {
12090 }
12091 if ("" == null)
12092 {
12093 }
12094 }
12095
12096 // Token: 0x06001F4A RID: 8010 RVA: 0x000BFF4C File Offset: 0x000BE14C
12098 {
12099 int num = 1;
12100 if (num == 0)
12101 {
12102 }
12103 if (num == 0)
12104 {
12105 }
12106 if (num == 0)
12107 {
12108 }
12109 int myPlayer = Main.myPlayer;
12110 int num2 = 50;
12111 int myPlayer2 = Main.myPlayer;
12112 if (num2 == 0)
12113 {
12114 }
12115 }
12116
12117 // Token: 0x06001F4B RID: 8011 RVA: 0x000BFFA8 File Offset: 0x000BE1A8
12118 public static string GetBuffTooltip(Player player, int buffType)
12119 {
12120 if (!true)
12121 {
12122 }
12123 if (!true)
12124 {
12125 }
12126 bool expertMode = Main.expertMode;
12127 string text;
12128 string text2;
12129 return text + text2 + "%";
12130 }
12131
12132 // Token: 0x06001F4C RID: 8012 RVA: 0x000BFFF4 File Offset: 0x000BE1F4
12133 public static bool TryGetBuffTime(int buffSlotOnPlayer, [Out] int buffTimeValue)
12134 {
12135 /*
12136An exception occurred when decompiling this method (06001F4C)
12137
12138ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::TryGetBuffTime(System.Int32,System.Int32)
12139
12140 ---> System.Exception: Basic block has to end with unconditional control flow.
12141{
12142 IL_0034:
12143 stloc:int32(var_6_39, callgetter:int32(Main::get_myPlayer))
12144 stfld:int32(int32::m_value, ldloc:int32[exp:int32&](buffSlotOnPlayer), ldloc:int64[exp:int32](var_5_2E))
12145}
12146
12147 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
12148 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
12149 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
12150 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
12151 --- End of inner exception stack trace ---
12152 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
12153 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
12154*/;
12155 }
12156
12157 // Token: 0x06001F4D RID: 8013 RVA: 0x000C0044 File Offset: 0x000BE244
12158 public static int DrawBuffIcon(int drawBuffText, int buffSlotOnPlayer, int x, int y)
12159 {
12160 /*
12161An exception occurred when decompiling this method (06001F4D)
12162
12163ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Terraria.Main::DrawBuffIcon(System.Int32,System.Int32,System.Int32,System.Int32)
12164
12165 ---> System.Exception: Basic block has to end with unconditional control flow.
12166{
12167 IL_008E:
12168 stloc:bool(var_26_93, callgetter:bool(Main::get_mouseLeft))
12169 stloc:bool(var_27_9A, callgetter:bool(Main::get_mouseLeftRelease))
12170 stloc:bool(var_28_A1, callgetter:bool(Main::get_playerInventory))
12171 stloc:bool(var_29_A8, callgetter:bool(Main::get_playerInventory))
12172 stloc:int32(var_30_AF, callgetter:int32(Main::get_myPlayer))
12173 call:void(Main::TryRemovingBuff, ldloc:bool[exp:int32](var_19), ldc.i4:int32(43143168))
12174}
12175
12176 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
12177 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
12178 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
12179 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
12180 --- End of inner exception stack trace ---
12181 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
12182 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
12183*/;
12184 }
12185
12186 // Token: 0x06001F4E RID: 8014 RVA: 0x000C0110 File Offset: 0x000BE310
12187 public static void TryRemovingBuff(int i, int b)
12188 {
12189 if (!true)
12190 {
12191 }
12192 }
12193
12194 // Token: 0x06001F4F RID: 8015 RVA: 0x000C015C File Offset: 0x000BE35C
12195 public static void TryRemovingBuff_CheckBuffHideMisc(int slot, int buffID)
12196 {
12197 if (!true)
12198 {
12199 }
12200 int myPlayer = Main.myPlayer;
12201 }
12202
12203 // Token: 0x06001F50 RID: 8016 RVA: 0x000C0198 File Offset: 0x000BE398
12205 {
12206 int num = 1;
12207 if (num == 0)
12208 {
12209 }
12210 int myPlayer = Main.myPlayer;
12211 if (num == 0)
12212 {
12213 if (num == 0)
12214 {
12215 }
12216 int myPlayer2 = Main.myPlayer;
12217 int myPlayer3 = Main.myPlayer;
12218 int myPlayer4 = Main.myPlayer;
12219 return;
12220 }
12221 }
12222
12223 // Token: 0x06001F51 RID: 8017 RVA: 0x000C0304 File Offset: 0x000BE504
12225 {
12226 if (!true)
12227 {
12228 }
12229 int myPlayer = Main.myPlayer;
12230 }
12231
12232 // Token: 0x06001F52 RID: 8018 RVA: 0x000C0330 File Offset: 0x000BE530
12234 {
12235 if (!true)
12236 {
12237 }
12240 if (lastHitBall != null)
12241 {
12245 float x = localPlayer.position.X;
12246 float y = localPlayer.position.Y;
12247 float x2 = lastHitBall.position.X;
12248 float y2 = lastHitBall.position.Y;
12249 if (localPlayer == null)
12250 {
12251 }
12253 float num = vector.Length();
12255 if (49942 == 0)
12256 {
12257 }
12258 float num2;
12259 Microsoft.Xna.Framework.Vector2 vector2 = num2.ToRotationVector2();
12262 float num3;
12263 Microsoft.Xna.Framework.Vector2 vector4 = num3.ToRotationVector2();
12264 float num4 = MathHelper.Lerp(num3, num3, num3);
12265 float num5 = MathHelper.Lerp(num4, num4, num3);
12266 return;
12267 }
12268 }
12269
12270 // Token: 0x06001F53 RID: 8019 RVA: 0x000C0484 File Offset: 0x000BE684
12271 protected void GUIHotbarDrawInner()
12272 {
12273 int num = 1;
12274 if (num == 0)
12275 {
12276 }
12278 if (num == 0)
12279 {
12280 }
12281 int myPlayer = Main.myPlayer;
12282 if (num == 0)
12283 {
12284 if (num == 0)
12285 {
12286 }
12287 int myPlayer2 = Main.myPlayer;
12288 int myPlayer3 = Main.myPlayer;
12289 string text;
12290 if (text != null)
12291 {
12292 int myPlayer4 = Main.myPlayer;
12293 int myPlayer5 = Main.myPlayer;
12294 string text2;
12295 bool flag = text2 != "";
12296 int myPlayer6 = Main.myPlayer;
12297 int myPlayer7 = Main.myPlayer;
12298 }
12299 int myPlayer8 = Main.myPlayer;
12300 return;
12301 }
12302 }
12303
12304 // Token: 0x06001F54 RID: 8020 RVA: 0x000C061C File Offset: 0x000BE81C
12305 public static void OpenHairWindow()
12306 {
12307 if (!true)
12308 {
12309 }
12310 Main.playerInventory = false;
12311 Main.npcChatText = "";
12313 int myPlayer = Main.myPlayer;
12314 Main.hairWindow = true;
12315 Main.playerInventory = true;
12316 }
12317
12318 // Token: 0x06001F55 RID: 8021 RVA: 0x000C0660 File Offset: 0x000BE860
12319 public static void CancelHairWindow()
12320 {
12321 int num = 1;
12322 if (num == 0)
12323 {
12324 }
12325 bool hairWindow = Main.hairWindow;
12326 if (num == 0)
12327 {
12328 }
12329 int myPlayer = Main.myPlayer;
12331 int myPlayer2 = Main.myPlayer;
12333 Main.hairWindow = false;
12334 int myPlayer3 = Main.myPlayer;
12335 int myPlayer4 = Main.myPlayer;
12336 int myPlayer5 = Main.myPlayer;
12337 }
12338
12339 // Token: 0x06001F56 RID: 8022 RVA: 0x000C06B8 File Offset: 0x000BE8B8
12340 public static void BuyHairWindow()
12341 {
12342 int myPlayer = Main.myPlayer;
12343 int myPlayer2 = Main.myPlayer;
12344 Main.hairWindow = false;
12345 int myPlayer3 = Main.myPlayer;
12347 int myPlayer4 = Main.myPlayer;
12348 }
12349
12350 // Token: 0x06001F57 RID: 8023 RVA: 0x000C06F8 File Offset: 0x000BE8F8
12351 public static int UnlockedMaxHair()
12352 {
12353 return 43143168;
12354 }
12355
12356 // Token: 0x06001F58 RID: 8024 RVA: 0x000C070C File Offset: 0x000BE90C
12357 public static void OpenClothesWindow()
12358 {
12359 if (!true)
12360 {
12361 }
12364 }
12365
12366 // Token: 0x06001F59 RID: 8025 RVA: 0x000C07B4 File Offset: 0x000BE9B4
12367 public static void CancelClothesWindow(bool quiet = false)
12368 {
12369 int num = 1;
12370 if (num == 0)
12371 {
12372 }
12374 if (num == 0)
12375 {
12376 }
12377 Main.clothesWindow = false;
12378 if (num == 0)
12379 {
12380 }
12381 int myPlayer = Main.myPlayer;
12383 int myPlayer2 = Main.myPlayer;
12385 int myPlayer3 = Main.myPlayer;
12387 int myPlayer4 = Main.myPlayer;
12389 int myPlayer5 = Main.myPlayer;
12391 int myPlayer6 = Main.myPlayer;
12397 int myPlayer7 = Main.myPlayer;
12398 long num2 = 0L;
12400 int myPlayer8 = Main.myPlayer;
12401 int skinVariant = Main.dresserInterfaceDummy.skinVariant;
12403 }
12404
12405 // Token: 0x06001F5A RID: 8026 RVA: 0x000C087C File Offset: 0x000BEA7C
12406 public static void SaveClothesWindow()
12407 {
12408 if (!true)
12409 {
12410 }
12411 Main.clothesWindow = false;
12412 int myPlayer = Main.myPlayer;
12413 }
12414
12415 // Token: 0x06001F5B RID: 8027 RVA: 0x000C0898 File Offset: 0x000BEA98
12417 {
12419 {
12420 return;
12421 }
12422 }
12423
12424 // Token: 0x06001F5C RID: 8028 RVA: 0x000C08BC File Offset: 0x000BEABC
12426 {
12427 if (!true)
12428 {
12429 }
12430 int type = Main.mouseItem.type;
12431 if (type == 0)
12432 {
12433 }
12434 if (type == 0)
12435 {
12436 }
12438 if (needToSetupDrawInterfaceLayers)
12439 {
12441 }
12442 if (!needToSetupDrawInterfaceLayers)
12443 {
12444 }
12447 if (!needToSetupDrawInterfaceLayers)
12448 {
12449 }
12451 }
12452
12453 // Token: 0x06001F5D RID: 8029 RVA: 0x000C0920 File Offset: 0x000BEB20
12454 private static void DrawWallOfCopperShortswords()
12455 {
12456 if (!true)
12457 {
12458 }
12459 Microsoft.Xna.Framework.Vector2 vector = Main.ScreenSize.ToVector2();
12460 }
12461
12462 // Token: 0x06001F5E RID: 8030 RVA: 0x000C0940 File Offset: 0x000BEB40
12463 private static void DrawWallOfBoulders()
12464 {
12465 if (!true)
12466 {
12467 }
12468 if (!true)
12469 {
12470 }
12471 Microsoft.Xna.Framework.Vector2 vector = Main.ScreenSize.ToVector2();
12472 }
12473
12474 // Token: 0x06001F5F RID: 8031 RVA: 0x000C0960 File Offset: 0x000BEB60
12476 {
12477 if (!true)
12478 {
12479 }
12480 bool mouseRight = Main.mouseRight;
12481 Main.npcChatRelease = true;
12482 if (!true)
12483 {
12484 }
12486 long num = 0L;
12487 Main.DrawPendingMouseText(num != 0L);
12488 Main.cursorOverride = (int)num;
12489 }
12490
12491 // Token: 0x06001F60 RID: 8032 RVA: 0x000C0994 File Offset: 0x000BEB94
12492 private static void DrawPendingMouseText(bool worldMouse = false)
12493 {
12494 }
12495
12496 // Token: 0x06001F61 RID: 8033 RVA: 0x000C09A4 File Offset: 0x000BEBA4
12498 {
12499 if (!true)
12500 {
12501 }
12504 bool mouseInterface = Main.LocalPlayer.mouseInterface;
12505 if (mouseInterface)
12506 {
12507 return;
12508 }
12509 if (!mouseInterface)
12510 {
12511 }
12512 if (Main.mouseItem.type == 0)
12513 {
12514 }
12515 if (Main.mouseItem.stack == 0)
12516 {
12517 }
12518 int myPlayer = Main.myPlayer;
12519 int myPlayer2 = Main.myPlayer;
12520 int myPlayer3 = Main.myPlayer;
12521 int myPlayer4 = Main.myPlayer;
12522 }
12523
12524 // Token: 0x06001F62 RID: 8034 RVA: 0x000C0B54 File Offset: 0x000BED54
12526 {
12527 int num = 1;
12528 if (num == 0)
12529 {
12530 }
12531 int num2 = 52429;
12532 ammoColor.A = (byte)num;
12533 ammoOffset.X = (float)num2;
12534 if (num == 0)
12535 {
12536 }
12537 if (!true)
12538 {
12539 }
12540 int type = sourceItem.type;
12541 if (sourceItem.GetFlexibleTileWand() != null)
12542 {
12543 if (type == 0)
12544 {
12545 }
12547 if (num2 == 0)
12548 {
12549 }
12550 int myPlayer = Main.myPlayer;
12551 return;
12552 }
12553 }
12554
12555 // Token: 0x06001F63 RID: 8035 RVA: 0x000C0BA8 File Offset: 0x000BEDA8
12557 {
12558 }
12559
12560 // Token: 0x06001F64 RID: 8036 RVA: 0x000C0BB8 File Offset: 0x000BEDB8
12562 {
12563 }
12564
12565 // Token: 0x06001F65 RID: 8037 RVA: 0x000C0DE8 File Offset: 0x000BEFE8
12566 private static void DrawInterface_37_DebugStuff()
12567 {
12568 }
12569
12570 // Token: 0x06001F66 RID: 8038 RVA: 0x000C0DF8 File Offset: 0x000BEFF8
12584
12585 // Token: 0x06001F67 RID: 8039 RVA: 0x000C1138 File Offset: 0x000BF338
12586 public static void DrawInterface_FinalUI()
12587 {
12588 }
12589
12590 // Token: 0x06001F68 RID: 8040 RVA: 0x000C1148 File Offset: 0x000BF348
12591 public static void DrawInterface_36_Cursor()
12592 {
12593 int mouseX = Main.mouseX;
12594 int mouseY = Main.mouseY;
12595 global::Cursor cursor;
12596 int num;
12597 if (cursor == null)
12598 {
12599 global::Cursor cursor2;
12600 float x = cursor2.Position.x;
12601 float y = cursor2.Position.y;
12602 num = 32640;
12603 Main.mouseX = int.MinValue;
12604 Main.mouseY = int.MinValue;
12605 }
12606 if (num == 0)
12607 {
12608 }
12610 if (!true)
12611 {
12612 }
12620 if (-2147483648 == 0)
12621 {
12622 }
12623 }
12624
12625 // Token: 0x06001F69 RID: 8041 RVA: 0x000C12AC File Offset: 0x000BF4AC
12626 private static void DrawInterface_35_YouDied()
12627 {
12628 int num = 1;
12629 if (num == 0)
12630 {
12631 }
12632 int myPlayer = Main.myPlayer;
12633 if (num != 0)
12634 {
12635 if (num == 0)
12636 {
12637 }
12640 int myPlayer2 = Main.myPlayer;
12641 int myPlayer3 = Main.myPlayer;
12642 int myPlayer4 = Main.myPlayer;
12645 int myPlayer5 = Main.myPlayer;
12646 return;
12647 }
12648 }
12649
12650 // Token: 0x06001F6A RID: 8042 RVA: 0x000C1344 File Offset: 0x000BF544
12652 {
12653 int num = 1;
12654 if (num == 0)
12655 {
12656 }
12657 if (num != 0)
12658 {
12659 return;
12660 }
12661 }
12662
12663 // Token: 0x06001F6B RID: 8043 RVA: 0x000C1360 File Offset: 0x000BF560
12665 {
12666 if (!true)
12667 {
12668 }
12669 int stack = Main.mouseItem.stack;
12670 if (stack == 0)
12671 {
12672 }
12674 if (stack == 0)
12675 {
12676 }
12677 if (stack != 0)
12678 {
12679 int type = Main.mouseItem.type;
12680 if (type == 0)
12681 {
12682 if (type == 0)
12683 {
12684 }
12685 int myPlayer = Main.myPlayer;
12687 int rare = Main.rare;
12688 int mouseX = Main.mouseX;
12689 int mouseY = Main.mouseY;
12690 return;
12691 }
12692 }
12693 bool rulerLine = Main.LocalPlayer.rulerLine;
12694 if (rulerLine)
12695 {
12696 if (!rulerLine)
12697 {
12698 }
12699 int[] builderAccStatus = Main.LocalPlayer.builderAccStatus;
12700 if (builderAccStatus == null)
12701 {
12702 if (builderAccStatus == null)
12703 {
12704 }
12706 if (builderAccStatus == null)
12707 {
12708 }
12710 int num;
12711 if (num == 0)
12712 {
12713 }
12715 string text2;
12716 string text3;
12717 string text = text2 + "x" + text3;
12720 }
12721 }
12722 }
12723
12724 // Token: 0x06001F6C RID: 8044 RVA: 0x000C1428 File Offset: 0x000BF628
12726 {
12727 int signHover = Main.signHover;
12729 int cursorItemIconID = localPlayer.cursorItemIconID;
12730 int selectedItem = localPlayer.selectedItem;
12731 if ((localPlayer.rulerLine && localPlayer.builderAccStatus == null) || localPlayer.mouseInterface)
12732 {
12733 int num = 3;
12734 this.instrumentMouseFixHack = (byte)num;
12735 return;
12736 }
12737 byte b = this.instrumentMouseFixHack;
12738 if (b != 0)
12739 {
12740 return;
12741 }
12742 if (b == 0)
12743 {
12744 }
12745 Item[] inventory = Main.LocalPlayer.inventory;
12747 }
12748
12749 // Token: 0x06001F6D RID: 8045 RVA: 0x000C14EC File Offset: 0x000BF6EC
12751 {
12752 int type = Main.mouseItem.type;
12753 if (type == 0)
12754 {
12755 if (type == 0)
12756 {
12757 }
12758 int myPlayer = Main.myPlayer;
12760 int rare = Main.rare;
12761 int mouseX = Main.mouseX;
12762 int mouseY = Main.mouseY;
12763 return;
12764 }
12765 }
12766
12767 // Token: 0x06001F6E RID: 8046 RVA: 0x000C152C File Offset: 0x000BF72C
12769 {
12770 }
12771
12772 // Token: 0x06001F6F RID: 8047 RVA: 0x000C153C File Offset: 0x000BF73C
12774 {
12775 bool flag;
12776 if (flag)
12777 {
12778 int type = Main.mouseItem.type;
12779 if (type == 0)
12780 {
12781 if (type == 0)
12782 {
12783 }
12784 int myPlayer = Main.myPlayer;
12786 int rare = Main.rare;
12787 int mouseX = Main.mouseX;
12788 int mouseY = Main.mouseY;
12789 return;
12790 }
12791 }
12792 }
12793
12794 // Token: 0x06001F70 RID: 8048 RVA: 0x000C1580 File Offset: 0x000BF780
12796 {
12797 }
12798
12799 // Token: 0x06001F71 RID: 8049 RVA: 0x000C1590 File Offset: 0x000BF790
12804
12805 // Token: 0x06001F72 RID: 8050 RVA: 0x000C15A8 File Offset: 0x000BF7A8
12807 {
12808 }
12809
12810 // Token: 0x06001F73 RID: 8051 RVA: 0x000C15B8 File Offset: 0x000BF7B8
12812 {
12813 if (!true)
12814 {
12815 }
12817 int myPlayer = Main.myPlayer;
12818 Main.playerInventory = false;
12820 int myPlayer2 = Main.myPlayer;
12821 Main.InGuideCraftMenu = false;
12822 Main.InReforgeMenu = false;
12823 Recipe.FindRecipes(false);
12824 }
12825
12826 // Token: 0x06001F74 RID: 8052 RVA: 0x000C15F8 File Offset: 0x000BF7F8
12828 {
12829 }
12830
12831 // Token: 0x06001F75 RID: 8053 RVA: 0x000C160C File Offset: 0x000BF80C
12833 {
12834 int num = 1;
12835 if (num == 0)
12836 {
12837 }
12838 if (17264 == 0)
12839 {
12840 }
12841 if (num == 0)
12842 {
12843 }
12844 if (17204 == 0)
12845 {
12846 }
12847 if (num == 0)
12848 {
12849 }
12850 Main.rare = 0;
12851 }
12852
12853 // Token: 0x06001F76 RID: 8054 RVA: 0x000C1638 File Offset: 0x000BF838
12855 {
12856 this.GUIChatDraw();
12857 }
12858
12859 // Token: 0x06001F77 RID: 8055 RVA: 0x000C164C File Offset: 0x000BF84C
12861 {
12862 if (!true)
12863 {
12864 }
12866 }
12867
12868 // Token: 0x06001F78 RID: 8056 RVA: 0x000C1664 File Offset: 0x000BF864
12870 {
12871 if (!true)
12872 {
12873 }
12874 bool hairWindow = Main.hairWindow;
12875 }
12876
12877 // Token: 0x06001F79 RID: 8057 RVA: 0x000C167C File Offset: 0x000BF87C
12879 {
12880 if (!true)
12881 {
12882 }
12883 }
12884
12885 // Token: 0x06001F7A RID: 8058 RVA: 0x000C1690 File Offset: 0x000BF890
12887 {
12888 int num = 1;
12889 if (num == 0)
12890 {
12891 }
12892 bool signBubble = Main.signBubble;
12893 if (num == 0)
12894 {
12895 }
12896 int signX = Main.signX;
12897 int signY = Main.signY;
12898 if (num == 0)
12899 {
12900 }
12901 int myPlayer = Main.myPlayer;
12902 int signX2 = Main.signX;
12903 int myPlayer2 = Main.myPlayer;
12904 int myPlayer3 = Main.myPlayer;
12905 }
12906
12907 // Token: 0x06001F7B RID: 8059 RVA: 0x000C1700 File Offset: 0x000BF900
12909 {
12910 int num = 1;
12911 if (num == 0)
12912 {
12913 }
12914 if (num == 0)
12915 {
12916 return;
12917 }
12918 if (num == 0)
12919 {
12920 }
12922 if (!false)
12923 {
12924 if (num == 0)
12925 {
12926 }
12927 return;
12928 }
12929 if ("" == null)
12930 {
12931 }
12932 if ("Background Tiles:" == null)
12933 {
12934 }
12936 }
12937
12938 // Token: 0x06001F7C RID: 8060 RVA: 0x000C182C File Offset: 0x000BFA2C
12939 private static void DrawInterface_17_DiagnoseNet()
12940 {
12941 int num = 1;
12942 if (num == 0)
12943 {
12944 }
12945 if (num != 0)
12946 {
12947 if (num == 0)
12948 {
12949 }
12951 return;
12952 }
12953 }
12954
12955 // Token: 0x06001F7D RID: 8061 RVA: 0x000C184C File Offset: 0x000BFA4C
12957 {
12958 }
12959
12960 // Token: 0x170004D5 RID: 1237
12961 // (get) Token: 0x06001F7E RID: 8062 RVA: 0x000C185C File Offset: 0x000BFA5C
12963 {
12964 get
12965 {
12966 if (!true)
12967 {
12968 }
12969 int myPlayer = Main.myPlayer;
12971 return true.ToInt();
12972 }
12973 }
12974
12975 // Token: 0x06001F7F RID: 8063 RVA: 0x000C1888 File Offset: 0x000BFA88
12981
12982 // Token: 0x06001F80 RID: 8064 RVA: 0x000C18A4 File Offset: 0x000BFAA4
12984 {
12985 int num = 1;
12986 if (num == 0)
12987 {
12988 }
12989 if (num != 0)
12990 {
12995 return;
12996 }
12997 }
12998
12999 // Token: 0x06001F81 RID: 8065 RVA: 0x000C1AEC File Offset: 0x000BFCEC
13000 private void DrawInterface_Healthbar_Worm(NPC head, int tailID, float scale)
13001 {
13002 int whoAmI = head.whoAmI;
13003 if (head == null)
13004 {
13005 }
13006 bool active = head.active;
13007 if (!active || !active)
13008 {
13009 }
13010 }
13011
13012 // Token: 0x06001F82 RID: 8066 RVA: 0x000C1B78 File Offset: 0x000BFD78
13014 {
13015 if (!true)
13016 {
13017 }
13018 }
13019
13020 // Token: 0x06001F83 RID: 8067 RVA: 0x000C1B88 File Offset: 0x000BFD88
13022 {
13023 if (!true)
13024 {
13025 }
13026 if (!true)
13027 {
13028 }
13029 bool inFancyUI = Main.inFancyUI;
13030 return true;
13031 }
13032
13033 // Token: 0x06001F84 RID: 8068 RVA: 0x000C1BA4 File Offset: 0x000BFDA4
13035 {
13036 return true;
13037 }
13038
13039 // Token: 0x06001F85 RID: 8069 RVA: 0x000C1BB4 File Offset: 0x000BFDB4
13041 {
13042 if (!true)
13043 {
13044 }
13047 return true;
13048 }
13049
13050 // Token: 0x06001F86 RID: 8070 RVA: 0x000C1BD4 File Offset: 0x000BFDD4
13052 {
13053 return true;
13054 }
13055
13056 // Token: 0x06001F87 RID: 8071 RVA: 0x000C1BE4 File Offset: 0x000BFDE4
13057 private static void DrawInterface_9_WireSelection()
13058 {
13059 if (!true)
13060 {
13061 }
13062 if (!true)
13063 {
13064 if (!true)
13065 {
13066 }
13069 }
13070 }
13071
13072 // Token: 0x06001F88 RID: 8072 RVA: 0x000C1C04 File Offset: 0x000BFE04
13074 {
13075 int num = 1;
13076 if (num == 0)
13077 {
13078 }
13079 int myPlayer = Main.myPlayer;
13080 if (num == 0)
13081 {
13082 }
13083 int myPlayer2 = Main.myPlayer;
13084 if (num == 0)
13085 {
13086 }
13087 Main.mouseLeftRelease = false;
13088 }
13089
13090 // Token: 0x06001F89 RID: 8073 RVA: 0x000C1C30 File Offset: 0x000BFE30
13092 {
13094 this.DrawNPCHousesInWorld();
13095 }
13096
13097 // Token: 0x06001F8A RID: 8074 RVA: 0x000C1C58 File Offset: 0x000BFE58
13098 private bool DrawVirtualControls()
13099 {
13100 if (!true)
13101 {
13102 }
13103 return true;
13104 }
13105
13106 // Token: 0x06001F8B RID: 8075 RVA: 0x000C1C6C File Offset: 0x000BFE6C
13108 {
13109 }
13110
13111 // Token: 0x06001F8C RID: 8076 RVA: 0x000C1C7C File Offset: 0x000BFE7C
13113 {
13114 global::Cursor cursor;
13115 if (cursor != null)
13116 {
13117 }
13118 }
13119
13120 // Token: 0x06001F8D RID: 8077 RVA: 0x000C1CC0 File Offset: 0x000BFEC0
13121 public static void DrawTileGridOption(bool magnify = false)
13122 {
13123 Item item;
13124 bool isAir = item.IsAir;
13125 int type = item.type;
13126 int createTile = item.createTile;
13127 int createWall = item.createWall;
13128 int hammer = item.hammer;
13129 int axe = item.axe;
13130 int pick = item.pick;
13132 int myPlayer = Main.myPlayer;
13135 float num;
13137 }
13138
13139 // Token: 0x06001F8E RID: 8078 RVA: 0x000C1DCC File Offset: 0x000BFFCC
13141 {
13142 global::Cursor cursor;
13143 if (cursor != null)
13144 {
13145 Main.DrawTileGridOption(false);
13146 return;
13147 }
13148 }
13149
13150 // Token: 0x06001F8F RID: 8079 RVA: 0x000C1DE4 File Offset: 0x000BFFE4
13151 private static void DrawInterface_5_GamepadLockOn()
13152 {
13153 if (!true)
13154 {
13155 }
13156 }
13157
13158 // Token: 0x06001F90 RID: 8080 RVA: 0x000C1DF4 File Offset: 0x000BFFF4
13159 private static void DrawInterface_4_Ruler()
13160 {
13161 int num = 1;
13162 if (num == 0)
13163 {
13164 }
13165 int myPlayer = Main.myPlayer;
13166 if (num != 0)
13167 {
13168 if (num == 0)
13169 {
13170 }
13171 int myPlayer2 = Main.myPlayer;
13172 if (num == 0)
13173 {
13174 if (num == 0)
13175 {
13176 }
13177 int myPlayer3 = Main.myPlayer;
13178 return;
13179 }
13180 }
13181 }
13182
13183 // Token: 0x06001F91 RID: 8081 RVA: 0x000C1F44 File Offset: 0x000C0144
13184 private static void DrawInterface_3_LaserRuler()
13185 {
13186 int num = 1;
13187 if (num == 0)
13188 {
13189 }
13190 int myPlayer = Main.myPlayer;
13191 if (num != 0)
13192 {
13193 if (num == 0)
13194 {
13195 }
13196 int myPlayer2 = Main.myPlayer;
13197 if (num == 0)
13198 {
13199 if (num == 0)
13200 {
13201 }
13202 int myPlayer3 = Main.myPlayer;
13203 int myPlayer4 = Main.myPlayer;
13204 int myPlayer5 = Main.myPlayer;
13206 if (49736 == 0)
13207 {
13208 }
13209 Point point;
13210 Microsoft.Xna.Framework.Vector2 vector = point.ToVector2();
13213 float num2;
13215 if (!true)
13216 {
13217 }
13218 if (16 == 0)
13219 {
13220 }
13221 int num3 = 18;
13222 if (num3 == 0)
13223 {
13224 }
13225 if (num3 == 0)
13226 {
13227 }
13232 return;
13233 }
13234 }
13235 }
13236
13237 // Token: 0x06001F92 RID: 8082 RVA: 0x000C209C File Offset: 0x000C029C
13239 {
13240 if (!true)
13241 {
13242 }
13244 }
13245
13246 // Token: 0x06001F93 RID: 8083 RVA: 0x000C20B4 File Offset: 0x000C02B4
13248 {
13249 if (!true)
13250 {
13251 }
13252 int num;
13254 }
13255
13256 // Token: 0x06001F94 RID: 8084 RVA: 0x000C20CC File Offset: 0x000C02CC
13258 {
13259 if (!true)
13260 {
13261 }
13263 if (!localPlayer.dead)
13264 {
13265 bool summon = localPlayer.HeldItem.summon;
13266 if (summon)
13267 {
13268 if (!summon)
13269 {
13270 }
13271 if (!true)
13272 {
13273 }
13274 int num = 1;
13275 if (num == 0)
13276 {
13277 }
13278 int minionAttackTargetNPC = localPlayer.MinionAttackTargetNPC;
13279 int value = num.m_value;
13280 if (num == 0)
13281 {
13282 }
13285 int myPlayer = Main.myPlayer;
13287 int num2 = 32640;
13288 if (num2 == 0)
13289 {
13290 }
13293 if (num2 == 0)
13294 {
13295 }
13296 }
13297 }
13298 }
13299
13300 // Token: 0x06001F95 RID: 8085 RVA: 0x000C215C File Offset: 0x000C035C
13301 private static void MouseOversTryToClear()
13302 {
13303 if (!true)
13304 {
13305 }
13307 if (!true)
13308 {
13309 }
13312 }
13313
13314 // Token: 0x06001F96 RID: 8086 RVA: 0x000C2184 File Offset: 0x000C0384
13315 private static void MouseOversClear()
13316 {
13317 if (!true)
13318 {
13319 }
13320 int myPlayer = Main.myPlayer;
13321 int myPlayer2 = Main.myPlayer;
13322 int myPlayer3 = Main.myPlayer;
13323 int myPlayer4 = Main.myPlayer;
13324 int myPlayer5 = Main.myPlayer;
13325 int signHover = Main.signHover;
13328 }
13329
13330 // Token: 0x06001F97 RID: 8087 RVA: 0x000C21C8 File Offset: 0x000C03C8
13331 public static void ItemIconCacheUpdate(int selectedItemID)
13332 {
13333 if (!true)
13334 {
13335 }
13339 }
13340
13341 // Token: 0x06001F98 RID: 8088 RVA: 0x000C21F0 File Offset: 0x000C03F0
13342 public static void ItemIconCacheVerification()
13343 {
13344 int num = 1;
13345 if (num == 0)
13346 {
13347 }
13349 if (num == 0)
13350 {
13351 }
13354 if (num == 0)
13355 {
13356 }
13357 if (num == 0)
13358 {
13359 }
13361 if (num == 0)
13362 {
13363 }
13365 if (num == 0)
13366 {
13367 }
13369 int myPlayer = Main.myPlayer;
13370 int myPlayer2 = Main.myPlayer;
13371 }
13372
13373 // Token: 0x06001F99 RID: 8089 RVA: 0x000C2254 File Offset: 0x000C0454
13374 public static void DrawWallOfFish()
13375 {
13376 }
13377
13378 // Token: 0x06001F9A RID: 8090 RVA: 0x000C22A4 File Offset: 0x000C04A4
13379 public static void DrawWallOfStars()
13380 {
13382 Matrix transform = Main.Transform;
13383 if (!true)
13384 {
13385 }
13387 int num = 1;
13388 if (num == 0)
13389 {
13390 }
13391 int value = num.m_value;
13392 if (!true)
13393 {
13394 }
13395 int myPlayer = Main.myPlayer;
13399 }
13400
13401 // Token: 0x06001F9B RID: 8091 RVA: 0x000C2314 File Offset: 0x000C0514
13402 private static void DrawSmartCursor()
13403 {
13404 int num = 1;
13405 if (num == 0)
13406 {
13407 }
13409 if (num == 0)
13410 {
13411 }
13412 int myPlayer = Main.myPlayer;
13413 if (num == 0)
13414 {
13415 if (num == 0)
13416 {
13417 }
13420 if (num == 0)
13421 {
13422 }
13423 int myPlayer2 = Main.myPlayer;
13428 int num2 = 1;
13429 if (num2 == 0)
13430 {
13431 }
13432 int value = num2.m_value;
13433 if (!true)
13434 {
13435 }
13436 int num3 = 1;
13437 if (num3 == 0)
13438 {
13439 }
13440 int value2 = num3.m_value;
13441 if (!true)
13442 {
13443 }
13444 int num4 = 1;
13445 if (num4 == 0)
13446 {
13447 }
13448 int value3 = num4.m_value;
13449 if (!true)
13450 {
13451 }
13452 int num5 = 1;
13453 if (num5 == 0)
13454 {
13455 }
13456 int value4 = num5.m_value;
13457 if (!true)
13458 {
13459 }
13460 int num6 = 1;
13461 if (num6 == 0)
13462 {
13463 }
13464 int value5 = num6.m_value;
13465 if (!true)
13466 {
13467 }
13468 int num7 = 1;
13469 if (num7 == 0)
13470 {
13471 }
13472 int value6 = num7.m_value;
13473 if (!true)
13474 {
13475 }
13476 int num8 = 1;
13477 if (num8 == 0)
13478 {
13479 }
13480 int value7 = num8.m_value;
13481 if (!true)
13482 {
13483 }
13484 int num9 = 1;
13485 if (num9 == 0)
13486 {
13487 }
13488 int value8 = num9.m_value;
13489 }
13490 }
13491
13492 // Token: 0x06001F9C RID: 8092 RVA: 0x000C2468 File Offset: 0x000C0668
13493 private static void DrawSmartInteract()
13494 {
13495 int num = 1;
13496 if (num == 0)
13497 {
13498 }
13500 if (num == 0)
13501 {
13502 }
13504 if (num == 0)
13505 {
13506 }
13508 if (num == 0)
13509 {
13510 }
13511 int myPlayer = Main.myPlayer;
13512 if (num == 0)
13513 {
13514 if (num == 0)
13515 {
13516 }
13519 if (num == 0)
13520 {
13521 }
13523 int myPlayer2 = Main.myPlayer;
13528 int num2 = 1;
13529 if (num2 == 0)
13530 {
13531 }
13532 int value = num2.m_value;
13533 if (!true)
13534 {
13535 }
13536 int num3 = 1;
13537 if (num3 == 0)
13538 {
13539 }
13540 int value2 = num3.m_value;
13541 if (!true)
13542 {
13543 }
13544 int num4 = 1;
13545 if (num4 == 0)
13546 {
13547 }
13548 int value3 = num4.m_value;
13549 if (!true)
13550 {
13551 }
13552 int num5 = 1;
13553 if (num5 == 0)
13554 {
13555 }
13556 int value4 = num5.m_value;
13557 if (!true)
13558 {
13559 }
13560 int num6 = 1;
13561 if (num6 == 0)
13562 {
13563 }
13564 int value5 = num6.m_value;
13565 if (!true)
13566 {
13567 }
13568 int num7 = 1;
13569 if (num7 == 0)
13570 {
13571 }
13572 int value6 = num7.m_value;
13573 if (!true)
13574 {
13575 }
13576 int num8 = 1;
13577 if (num8 == 0)
13578 {
13579 }
13580 int value7 = num8.m_value;
13581 if (!true)
13582 {
13583 }
13584 int num9 = 1;
13585 if (num9 == 0)
13586 {
13587 }
13588 int value8 = num9.m_value;
13589 }
13590 }
13591
13592 // Token: 0x06001F9D RID: 8093 RVA: 0x000C25B8 File Offset: 0x000C07B8
13594 {
13595 }
13596
13597 // Token: 0x06001F9E RID: 8094 RVA: 0x000C25D0 File Offset: 0x000C07D0
13598 public void GUIChatDraw()
13599 {
13600 int num = 1;
13601 if (num == 0)
13602 {
13603 }
13604 if (num == 0)
13605 {
13606 }
13607 bool flag = Main.npcChatText != "";
13608 if (num == 0)
13609 {
13610 }
13611 int myPlayer = Main.myPlayer;
13612 if (num == 0)
13613 {
13614 }
13615 bool editChest = Main.editChest;
13616 }
13617
13618 // Token: 0x170004D6 RID: 1238
13619 // (get) Token: 0x06001F9F RID: 8095 RVA: 0x000C2638 File Offset: 0x000C0838
13621 {
13622 get
13623 {
13624 if (!true)
13625 {
13626 }
13627 if (true)
13628 {
13629 }
13630 if (!true)
13631 {
13632 }
13633 int mapStyle = Main.mapStyle;
13634 if (!true)
13635 {
13636 }
13637 bool mapEnabled = Main.mapEnabled;
13638 if (!true)
13639 {
13640 }
13642 if (!true)
13643 {
13644 }
13645 int mapStyle2 = Main.mapStyle;
13646 if (!true)
13647 {
13648 }
13651 }
13652 }
13653
13654 // Token: 0x170004D7 RID: 1239
13655 // (get) Token: 0x06001FA0 RID: 8096 RVA: 0x000C2684 File Offset: 0x000C0884
13656 public static bool CanShowInfoAccs
13657 {
13658 get
13659 {
13660 /*
13661An exception occurred when decompiling this method (06001FA0)
13662
13663ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_CanShowInfoAccs()
13664
13665 ---> System.Exception: Basic block has to end with unconditional control flow.
13666{
13667 IL_002B:
13668 stloc:int32(var_3_30, callgetter:int32(Main::get_myPlayer))
13669}
13670
13671 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
13672 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
13673 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
13674 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
13675 --- End of inner exception stack trace ---
13676 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
13677 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
13678*/;
13679 }
13680 }
13681
13682 // Token: 0x06001FA1 RID: 8097 RVA: 0x000C26C4 File Offset: 0x000C08C4
13684 {
13685 int type = theItem.type;
13686 if (!true)
13687 {
13688 }
13689 float scale = theItem.scale;
13690 if (!true)
13691 {
13692 }
13693 if (!true)
13694 {
13695 }
13696 if (!true)
13697 {
13698 }
13700 if (!true)
13701 {
13702 }
13703 }
13704
13705 // Token: 0x06001FA2 RID: 8098 RVA: 0x000C26FC File Offset: 0x000C08FC
13718
13719 // Token: 0x06001FA3 RID: 8099 RVA: 0x000C27FC File Offset: 0x000C09FC
13720 public static void SyncAnInvasion(int toWho)
13721 {
13722 }
13723
13724 // Token: 0x06001FA4 RID: 8100 RVA: 0x000C2850 File Offset: 0x000C0A50
13725 public static void ReportInvasionProgress(int progress, int progressMax, int icon, int progressWave)
13726 {
13727 if (!true)
13728 {
13729 }
13730 }
13731
13732 // Token: 0x06001FA5 RID: 8101 RVA: 0x000C2870 File Offset: 0x000C0A70
13733 public static void DrawInvasionProgress()
13734 {
13735 int num = 1;
13736 if (num == 0)
13737 {
13738 }
13739 if (num == 0)
13740 {
13741 }
13743 if (num == 0)
13744 {
13745 }
13747 if (num == 0)
13748 {
13749 }
13750 int num2 = 160;
13751 if (num2 != 0 || num2 == 0)
13752 {
13753 }
13754 }
13755
13756 // Token: 0x06001FA6 RID: 8102 RVA: 0x000C2914 File Offset: 0x000C0B14
13757 protected void QuitGame()
13758 {
13759 int num = 1;
13760 if (num == 0)
13761 {
13762 }
13763 bool flag = Main.SaveSettings();
13764 if (num == 0)
13765 {
13767 }
13768 if (num == 0)
13769 {
13770 }
13771 }
13772
13773 // Token: 0x06001FA7 RID: 8103 RVA: 0x000C293C File Offset: 0x000C0B3C
13775 {
13776 if (!true)
13777 {
13778 return;
13779 }
13780 }
13781
13782 // Token: 0x06001FA8 RID: 8104 RVA: 0x000C2968 File Offset: 0x000C0B68
13784 {
13785 if (!true)
13786 {
13787 }
13788 return 1;
13789 }
13790
13791 // Token: 0x06001FA9 RID: 8105 RVA: 0x000C297C File Offset: 0x000C0B7C
13792 public static Microsoft.Xna.Framework.Graphics.Color hslToRgb(float Hue, float Saturation, float Luminosity, byte a = 255)
13793 {
13794 /*
13795An exception occurred when decompiling this method (06001FA9)
13796
13797ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Graphics.Color Terraria.Main::hslToRgb(System.Single,System.Single,System.Single,System.Byte)
13798
13799 ---> System.Exception: Basic block has to end with unconditional control flow.
13800{
13801 IL_0003:
13802 stloc:float64(var_0_13, call:float64(Main::hue2rgb, ldloc:float32[exp:float64](Luminosity), ldc.r8:float64(0.3333333333333333), ldloc:float32[exp:float64](Saturation)))
13803 stloc:float64(var_1_24, call:float64(Main::hue2rgb, ldloc:float32[exp:float64](Hue), ldc.r8:float64(0.3333333333333333), ldloc:float32[exp:float64](Saturation)))
13804 stloc:float64(var_2_3D, call:float64(Main::hue2rgb, ldc.r8:float64(-0.3333333333333333), ldc.r8:float64(0.3333333333333333), ldloc:float32[exp:float64](Saturation)))
13805}
13806
13807 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
13808 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
13809 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
13810 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
13811 --- End of inner exception stack trace ---
13812 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
13813 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
13814*/;
13815 }
13816
13817 // Token: 0x06001FAA RID: 8106 RVA: 0x000C29C8 File Offset: 0x000C0BC8
13818 public static void hslToRgb(Microsoft.Xna.Framework.Graphics.Color color, float Hue, float Saturation, float Luminosity, byte a = 255)
13819 {
13820 if (!true)
13821 {
13822 }
13823 }
13824
13825 // Token: 0x06001FAB RID: 8107 RVA: 0x000021DB File Offset: 0x000003DB
13826 public static double hue2rgb(double c, double t1, double t2)
13827 {
13828 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
13829 }
13830
13831 // Token: 0x06001FAC RID: 8108 RVA: 0x000C2A28 File Offset: 0x000C0C28
13833 {
13834 return 17279;
13835 }
13836
13837 // Token: 0x170004D8 RID: 1240
13838 // (get) Token: 0x06001FAD RID: 8109 RVA: 0x000C2A4C File Offset: 0x000C0C4C
13839 public static bool HasHWCursor
13840 {
13841 get
13842 {
13843 /*
13844An exception occurred when decompiling this method (06001FAD)
13845
13846ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::get_HasHWCursor()
13847
13848 ---> System.Exception: Basic block has to end with unconditional control flow.
13849{
13850 Block_0:
13851 stloc:DrPlatformType(var_3_09, callgetter:DrPlatformType(DrPlatform::get_CurrentPlatform))
13852 stloc:bool(var_5_17, ldfld:bool(iOS_Mouse::UseSWCursor, callgetter:iOS_Mouse(IOS::get_Mouse)))
13853 stloc:DrPlatformType(var_7_21, callgetter:DrPlatformType(DrPlatform::get_CurrentPlatform))
13854}
13855
13856 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
13857 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
13858 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
13859 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
13860 --- End of inner exception stack trace ---
13861 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
13862 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
13863*/;
13864 }
13865 }
13866
13867 // Token: 0x06001FAE RID: 8110 RVA: 0x000C2A7C File Offset: 0x000C0C7C
13868 public static void DrawCursor(Microsoft.Xna.Framework.Vector2 bonus, bool smart = false)
13869 {
13870 if (!true)
13871 {
13872 }
13873 bool gameMenu = Main.gameMenu;
13874 int myPlayer = Main.myPlayer;
13875 int myPlayer2 = Main.myPlayer;
13877 Main.TileInteractionHY = int.MinValue;
13878 Main.TileInteractionLY = int.MinValue;
13879 Main.TileInteractionHX = int.MinValue;
13880 Main.TileInteractionLX = int.MinValue;
13881 if (-2147483648 == 0)
13882 {
13883 }
13885 bool gameMenu2 = Main.gameMenu;
13886 }
13887
13888 // Token: 0x06001FAF RID: 8111 RVA: 0x000C2C70 File Offset: 0x000C0E70
13889 public static void ClearSmartInteract()
13890 {
13891 if (!true)
13892 {
13893 }
13895 long num = 0L;
13897 Main.SmartInteractNPC = (int)num;
13898 Main.SmartInteractProj = (int)num;
13901 }
13902
13903 // Token: 0x06001FB0 RID: 8112 RVA: 0x000C2CA8 File Offset: 0x000C0EA8
13905 {
13906 /*
13907An exception occurred when decompiling this method (06001FB0)
13908
13909ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Main::DrawThickCursor(System.Boolean)
13910
13911 ---> System.Exception: Basic block has to end with unconditional control flow.
13912{
13913 IL_00AE:
13914 stloc:Vector2(var_27_B5, call:Vector2(Utils::Size, ldloc:Rectangle(var_26)))
13915 stloc:float32(var_30_BF, callgetter:float32(Main::get_GamepadCursorAlpha))
13916 stloc:int32(var_36_CD, callgetter:int32(Main::get_mouseX))
13917 stloc:int32(var_37_D4, callgetter:int32(Main::get_mouseY))
13918}
13919
13920 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
13921 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
13922 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
13923 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
13924 --- End of inner exception stack trace ---
13925 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
13926 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
13927*/;
13928 }
13929
13930 // Token: 0x06001FB1 RID: 8113 RVA: 0x000C2D90 File Offset: 0x000C0F90
13931 private void OnCharacterNamed(string text)
13932 {
13933 if (!true)
13934 {
13935 }
13937 string text2 = text.Trim();
13938 pendingPlayer.name = text2;
13940 Main.LoadPlayers();
13941 Main.menuMode = 1;
13942 }
13943
13944 // Token: 0x06001FB2 RID: 8114 RVA: 0x000C2DCC File Offset: 0x000C0FCC
13945 private void OnSeedSelected(string text)
13946 {
13947 int stringLength = text.Trim()._stringLength;
13948 if (!true)
13949 {
13950 }
13951 if (stringLength != 0)
13952 {
13953 return;
13954 }
13955 if (!true)
13956 {
13957 }
13958 Main.menuMode = 10;
13959 if (!true)
13960 {
13961 }
13962 }
13963
13964 // Token: 0x06001FB3 RID: 8115 RVA: 0x000C2DFC File Offset: 0x000C0FFC
13965 private void OnWorldNamed(string text)
13966 {
13967 if (!true)
13968 {
13969 }
13970 Main.menuMode = 10;
13971 string text2 = text.Trim();
13972 }
13973
13974 // Token: 0x170004D9 RID: 1241
13975 // (get) Token: 0x06001FB4 RID: 8116 RVA: 0x000C2E38 File Offset: 0x000C1038
13976 public static Point ScreenSize
13977 {
13978 get
13979 {
13980 /*
13981An exception occurred when decompiling this method (06001FB4)
13982
13983ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Point Terraria.Main::get_ScreenSize()
13984
13985 ---> System.Exception: Basic block has to end with unconditional control flow.
13986{
13987 IL_0003:
13988 stloc:int32(var_0_08, callgetter:int32(Main::get_screenWidth))
13989 stloc:int32(var_1_0E, callgetter:int32(Main::get_screenHeight))
13990}
13991
13992 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
13993 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
13994 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
13995 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
13996 --- End of inner exception stack trace ---
13997 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
13998 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
13999*/;
14000 }
14001 }
14002
14003 // Token: 0x06001FB5 RID: 8117 RVA: 0x000C2E54 File Offset: 0x000C1054
14004 public static void GoToWorldSelect()
14005 {
14006 if (!true)
14007 {
14008 }
14009 Main.menuMode = 888;
14010 }
14011
14012 // Token: 0x06001FB6 RID: 8118 RVA: 0x000C2E70 File Offset: 0x000C1070
14013 public static void StartClientGameplay()
14014 {
14015 if (!true)
14016 {
14017 }
14018 Main.menuMode = 10;
14019 if (!true)
14020 {
14021 }
14022 Netplay.StartTcpClient(false);
14023 }
14024
14025 // Token: 0x06001FB7 RID: 8119 RVA: 0x000C2E90 File Offset: 0x000C1090
14026 public static void ReleaseHostAndPlayProcess()
14027 {
14028 if (!true)
14029 {
14030 }
14031 }
14032
14033 // Token: 0x06001FB8 RID: 8120 RVA: 0x000C2EA0 File Offset: 0x000C10A0
14034 private string SanitizePathArgument(string argumentName, string argumentPath)
14035 {
14036 if (!true)
14037 {
14038 }
14039 string text = Regex.Replace(Regex.Replace(argumentPath, "(\\\\*)\"", "$1$1\\\""), "(\\\\+)$", "$1$1");
14040 string text2 = "\"" + text + "\"";
14041 return " -" + argumentName + " " + text2;
14042 }
14043
14044 // Token: 0x06001FB9 RID: 8121 RVA: 0x000C2EF4 File Offset: 0x000C10F4
14046 {
14047 int num = 1;
14048 if (num == 0)
14049 {
14050 }
14051 if (num == 0)
14052 {
14053 }
14054 int menuMode = Main.menuMode;
14055 int menuMode2 = Main.menuMode;
14056 Main.StopSlimeRain(true);
14058 Main.render = false;
14060 }
14061
14062 // Token: 0x06001FBA RID: 8122 RVA: 0x000C30E8 File Offset: 0x000C12E8
14064 {
14065 if (!true)
14066 {
14067 }
14068 if (2 == 0)
14069 {
14070 }
14072 }
14073
14074 // Token: 0x06001FBB RID: 8123 RVA: 0x000C3104 File Offset: 0x000C1304
14076 {
14077 !0 !;
14078 if (! == null || "Solar" == null)
14079 {
14080 }
14081 !0 !2;
14082 if (!2 != null)
14083 {
14084 }
14085 !0 !3;
14086 if (!3 != null)
14087 {
14088 }
14089 if ("BloodMoon" == null)
14090 {
14091 }
14092 if ("Graveyard" == null)
14093 {
14094 }
14095 if ("Sepia" == null)
14096 {
14097 }
14098 if ("BloodMoon" == null)
14099 {
14100 }
14105 }
14106
14107 // Token: 0x06001FBC RID: 8124 RVA: 0x000C3164 File Offset: 0x000C1364
14117
14118 // Token: 0x06001FBD RID: 8125 RVA: 0x000C3190 File Offset: 0x000C1390
14120 {
14121 if (!true)
14122 {
14123 }
14126 Point screenSize = Main.ScreenSize;
14127 screenSizeCache.X = screenSize;
14132 if (!needsMenuUIRecalculation || !needsMenuUIRecalculation)
14133 {
14134 }
14136 {
14137 }
14138 }
14139
14140 // Token: 0x06001FBE RID: 8126 RVA: 0x000C31E4 File Offset: 0x000C13E4
14141 private static bool IsBorderlessDisplayAvailable()
14142 {
14143 }
14144
14145 // Token: 0x06001FBF RID: 8127 RVA: 0x000C31F4 File Offset: 0x000C13F4
14146 private static void CycleClothingStyle(Player plr)
14147 {
14148 if (!true)
14149 {
14150 }
14152 if (!true)
14153 {
14154 }
14155 int skinVariant = plr.skinVariant;
14156 }
14157
14158 // Token: 0x06001FC0 RID: 8128 RVA: 0x000021DB File Offset: 0x000003DB
14159 private static bool IsValidPlayerStyle(Player plr)
14160 {
14161 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
14162 }
14163
14164 // Token: 0x06001FC1 RID: 8129 RVA: 0x000C3214 File Offset: 0x000C1414
14166 {
14167 bool male = plr.Male;
14168 int skinVariant = plr.skinVariant;
14169 }
14170
14171 // Token: 0x06001FC2 RID: 8130 RVA: 0x000C3240 File Offset: 0x000C1440
14172 public static void ResetKeyBindings()
14173 {
14174 if (!true)
14175 {
14176 }
14177 }
14178
14179 // Token: 0x06001FC3 RID: 8131 RVA: 0x000C3250 File Offset: 0x000C1450
14202
14203 // Token: 0x06001FC4 RID: 8132 RVA: 0x000C32D8 File Offset: 0x000C14D8
14205 {
14206 if (!true)
14207 {
14208 }
14209 }
14210
14211 // Token: 0x06001FC5 RID: 8133 RVA: 0x000C32E8 File Offset: 0x000C14E8
14213 {
14215 base.Draw(gameTime);
14216 this.TickLoadProcess();
14217 }
14218
14219 // Token: 0x06001FC6 RID: 8134 RVA: 0x000C3438 File Offset: 0x000C1638
14221 {
14222 if (!true)
14223 {
14224 }
14229 if (16968 == 0)
14230 {
14231 }
14233 int num = 32640;
14236 if (num == 0)
14237 {
14238 }
14239 if (num == 0)
14240 {
14241 }
14242 }
14243
14244 // Token: 0x06001FC7 RID: 8135 RVA: 0x000C3498 File Offset: 0x000C1698
14246 {
14247 int num = 1;
14248 if (num == 0)
14249 {
14250 }
14253 if (num == 0)
14254 {
14255 }
14257 int num2 = 32640;
14258 int num3 = 32768;
14259 if (num2 == 0)
14260 {
14261 }
14262 if (num3 == 0)
14263 {
14264 }
14265 long num4 = 0L;
14268 if (num4 == 0L)
14269 {
14270 }
14271 if (num4 == 0L)
14272 {
14273 }
14274 }
14275
14276 // Token: 0x06001FC8 RID: 8136 RVA: 0x000C34F0 File Offset: 0x000C16F0
14277 protected void DrawUnderworldBackground(bool flat)
14278 {
14279 if (!true)
14280 {
14281 }
14284 if (screenHeight == 0)
14285 {
14286 }
14287 if (screenHeight == 0)
14288 {
14289 }
14293 if (screenHeight == 0)
14294 {
14295 }
14296 }
14297
14298 // Token: 0x06001FC9 RID: 8137 RVA: 0x000C3538 File Offset: 0x000C1738
14300 {
14301 int num = 1;
14302 if (num == 0)
14303 {
14304 }
14305 if (num == 0)
14306 {
14307 }
14308 }
14309
14310 // Token: 0x06001FCA RID: 8138 RVA: 0x000C367C File Offset: 0x000C187C
14311 private void ProcessBatchFinished(int index)
14312 {
14313 TileDrawing tileDrawing = this._threadManager.DrawThreads.tileDrawing;
14314 double treeWindCounter = tileDrawing._treeWindCounter;
14315 double treeWindCounter2 = tileDrawing._treeWindCounter;
14316 }
14317
14318 // Token: 0x170004DA RID: 1242
14319 // (get) Token: 0x06001FCB RID: 8139 RVA: 0x000C36A8 File Offset: 0x000C18A8
14321 {
14322 get
14323 {
14324 /*
14325An exception occurred when decompiling this method (06001FCB)
14326
14327ICSharpCode.Decompiler.DecompilerException: Error decompiling ThreadedRenderManager/BatchProcessCallback Terraria.Main::get_ProcessBatchFinishedCallback()
14328
14329 ---> System.Exception: Basic block has to end with unconditional control flow.
14330{
14331 IL_0000:
14332 brtrue(IL_0000, ldfld:BatchProcessCallback[exp:bool](Main::_processBatchFinishedCallback, ldloc:Main(this)))
14333}
14334
14335 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
14336 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
14337 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
14338 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
14339 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
14340 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
14341 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
14342 --- End of inner exception stack trace ---
14343 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
14344 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
14345*/;
14346 }
14347 }
14348
14349 // Token: 0x06001FCC RID: 8140 RVA: 0x000C36BC File Offset: 0x000C18BC
14360
14361 // Token: 0x06001FCD RID: 8141 RVA: 0x000C36E8 File Offset: 0x000C18E8
14362 [Il2CppSetOption(Option.NullChecks, false)]
14363 [Il2CppSetOption(Option.ArrayBoundsChecks, false)]
14364 public void DrawCurrentBackground(int bgStartX, int bgStartY, int bgLoops, int bgLoopsY, int diff, Microsoft.Xna.Framework.Vector2 drawOffset)
14365 {
14366 SpriteBatch backgroundSpriteBatch = this._currentBackgroundDrawInfo.Value.backgroundSpriteBatch;
14370 object <Tag>k__BackingField = array.<Tag>k__BackingField;
14372 object <Tag>k__BackingField2 = array2.<Tag>k__BackingField;
14373 int num = 1;
14374 if (num == 0)
14375 {
14376 }
14377 if (num == 0)
14378 {
14379 }
14380 if (!true)
14381 {
14382 }
14383 if (!true)
14384 {
14385 }
14386 int num2 = 255;
14391 bool notRetro = Lighting.NotRetro;
14393 }
14394
14395 // Token: 0x06001FCE RID: 8142 RVA: 0x000C38F0 File Offset: 0x000C1AF0
14396 [Il2CppSetOption(Option.NullChecks, false)]
14397 [Il2CppSetOption(Option.ArrayBoundsChecks, false)]
14398 public void DrawMagmaLayer(int bgStartX, int bgStartY, int bgLoops, int bgLoopsY, int diff, Microsoft.Xna.Framework.Vector2 drawOffset)
14399 {
14400 for (;;)
14401 {
14402 SpriteBatch backgroundSpriteBatch = this._currentBackgroundDrawInfo.Value.backgroundSpriteBatch;
14405 float gfxQuality = Main.gfxQuality;
14406 float gfxQuality2 = Main.gfxQuality;
14407 float gfxQuality3 = Main.gfxQuality;
14408 float gfxQuality4 = Main.gfxQuality;
14409 if (!true)
14410 {
14411 }
14413 int height = array.Height;
14415 if (height == 0)
14416 {
14417 }
14418 bool notRetro = Lighting.NotRetro;
14419 bool flag = Main.ShouldShowInvisibleWalls();
14421 Microsoft.Xna.Framework.Vector3[] colors = lightMap._colors;
14422 if (colors != null)
14423 {
14424 break;
14425 }
14426 if (colors == null)
14427 {
14428 }
14429 int <Height>k__BackingField = lightMap.<Height>k__BackingField;
14430 if (!true)
14431 {
14432 }
14433 if (<Height>k__BackingField == 0)
14434 {
14435 }
14436 if (!true)
14437 {
14438 goto Block_1;
14439 }
14440 }
14441 return;
14442 Block_1:
14443 if (!true)
14444 {
14445 }
14446 int num = 1;
14447 if (num == 0)
14448 {
14449 }
14450 if (num == 0)
14451 {
14452 }
14454 if (17279 == 0)
14455 {
14456 }
14457 }
14458
14459 // Token: 0x06001FCF RID: 8143 RVA: 0x000C3AD0 File Offset: 0x000C1CD0
14460 [Il2CppSetOption(Option.NullChecks, false)]
14461 [Il2CppSetOption(Option.ArrayBoundsChecks, false)]
14462 public void DrawRockLayer(int bgStartX, int bgStartY, int bgLoops, int bgLoopsY, int diff, Microsoft.Xna.Framework.Vector2 drawOffset)
14463 {
14464 SpriteBatch backgroundSpriteBatch = this._currentBackgroundDrawInfo.Value.backgroundSpriteBatch;
14467 float gfxQuality = Main.gfxQuality;
14468 float gfxQuality2 = Main.gfxQuality;
14469 float gfxQuality3 = Main.gfxQuality;
14470 float gfxQuality4 = Main.gfxQuality;
14471 if (!true)
14472 {
14473 }
14478 int num = 255;
14479 value2.bgColors = num;
14484 if (num == 0)
14485 {
14486 }
14487 bool notRetro = Lighting.NotRetro;
14488 if (num == 0)
14489 {
14490 }
14491 bool flag = Main.ShouldShowInvisibleWalls();
14493 Microsoft.Xna.Framework.Vector3[] colors = lightMap._colors;
14494 if (colors != null)
14495 {
14496 return;
14497 }
14498 if (colors == null)
14499 {
14500 }
14501 int <Height>k__BackingField = lightMap.<Height>k__BackingField;
14502 if (!true)
14503 {
14504 }
14505 if (<Height>k__BackingField == 0)
14506 {
14507 }
14508 if (!true)
14509 {
14510 }
14511 if (!true)
14512 {
14513 }
14516 }
14517
14518 // Token: 0x06001FD0 RID: 8144 RVA: 0x000021DB File Offset: 0x000003DB
14519 [Il2CppSetOption(Option.NullChecks, false)]
14520 [Il2CppSetOption(Option.ArrayBoundsChecks, false)]
14521 protected void DrawBackground()
14522 {
14523 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
14524 }
14525
14526 // Token: 0x06001FD1 RID: 8145 RVA: 0x000C3C8C File Offset: 0x000C1E8C
14528 {
14529 }
14530
14531 // Token: 0x06001FD2 RID: 8146 RVA: 0x000C3C9C File Offset: 0x000C1E9C
14532 private static bool ShouldDrawBackgroundTileAt(int i, int j)
14533 {
14534 /*
14535An exception occurred when decompiling this method (06001FD2)
14536
14537ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::ShouldDrawBackgroundTileAt(System.Int32,System.Int32)
14538
14539 ---> System.Exception: Basic block has to end with unconditional control flow.
14540{
14541 IL_002C:
14542 stloc:bool(var_4_37, call:bool(Main::WallLightAt, ldc.i4:int32(-2147483648), ldloc:int32(i)))
14543}
14544
14545 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
14546 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
14547 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
14548 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
14549 --- End of inner exception stack trace ---
14550 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
14551 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
14552*/;
14553 }
14554
14555 // Token: 0x06001FD3 RID: 8147 RVA: 0x000C3CE8 File Offset: 0x000C1EE8
14556 public static bool WallLightAt(int i, int j)
14557 {
14558 if (!true)
14559 {
14560 }
14561 return Main.WallLightAt(Main.ShouldShowInvisibleWalls() ? 1 : 0, i, j != 0);
14562 }
14563
14564 // Token: 0x06001FD4 RID: 8148 RVA: 0x000C3D04 File Offset: 0x000C1F04
14565 public static bool WallLightAt(int i, int j, bool showInvisibleWalls)
14566 {
14567 if (!true)
14568 {
14569 }
14570 Tile tile;
14571 ushort wall = tile.wall;
14572 bool flag;
14573 return flag;
14574 }
14575
14576 // Token: 0x06001FD5 RID: 8149 RVA: 0x000C3D1C File Offset: 0x000C1F1C
14577 protected void OldDrawBackground()
14578 {
14579 float gfxQuality = Main.gfxQuality;
14580 float gfxQuality2 = Main.gfxQuality;
14581 float gfxQuality3 = Main.gfxQuality;
14582 float gfxQuality4 = Main.gfxQuality;
14583 if (!true)
14584 {
14585 }
14586 int <BloodTileCount>k__BackingField = Main.SceneMetrics.<BloodTileCount>k__BackingField;
14587 if (Main.SceneMetrics.<EvilTileCount>k__BackingField == 0)
14588 {
14589 }
14590 int <BloodTileCount>k__BackingField2 = Main.SceneMetrics.<BloodTileCount>k__BackingField;
14591 if (Main.SceneMetrics.<HolyTileCount>k__BackingField == 0)
14592 {
14593 }
14594 int <BloodTileCount>k__BackingField3 = Main.SceneMetrics.<BloodTileCount>k__BackingField;
14595 }
14596
14597 // Token: 0x06001FD6 RID: 8150 RVA: 0x000C4950 File Offset: 0x000C2B50
14598 protected void RenderBackground()
14599 {
14600 int num = 1;
14601 if (num == 0)
14602 {
14603 }
14604 if (num == 0)
14605 {
14608 graphicsDevice.SetRenderTarget(renderTarget2D);
14610 int num2 = 1;
14611 this.DrawWaters(num2 != 0);
14615 graphicsDevice4.SetRenderTarget(renderTarget2D2);
14617 this.DrawBackground();
14618 return;
14619 }
14620 }
14621
14622 // Token: 0x06001FD7 RID: 8151 RVA: 0x000C49E8 File Offset: 0x000C2BE8
14623 public static string ValueToCoins(long value)
14624 {
14625 return "Currency.Platinum";
14626 }
14627
14628 // Token: 0x06001FD8 RID: 8152 RVA: 0x000C4AA8 File Offset: 0x000C2CA8
14629 private static void UpdateMinimapAnchors()
14630 {
14631 if (!true)
14632 {
14633 }
14634 }
14635
14636 // Token: 0x06001FD9 RID: 8153 RVA: 0x000C4AC4 File Offset: 0x000C2CC4
14638 {
14639 if (!true)
14640 {
14641 }
14642 int myPlayer = Main.myPlayer;
14643 int myPlayer2 = Main.myPlayer;
14644 int myPlayer3 = Main.myPlayer;
14645 int myPlayer4 = Main.myPlayer;
14646 Tile tile;
14647 ushort wall = tile.wall;
14648 }
14649
14650 // Token: 0x06001FDA RID: 8154 RVA: 0x000C4C38 File Offset: 0x000C2E38
14651 public static bool DrawPlayerDeathMarker(float X, float Y, float scale, float left, float top, float headScale, int i)
14652 {
14653 /*
14654An exception occurred when decompiling this method (06001FDA)
14655
14656ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::DrawPlayerDeathMarker(System.Single,System.Single,System.Single,System.Single,System.Single,System.Single,System.Int32)
14657
14658 ---> System.Exception: Basic block has to end with unconditional control flow.
14659{
14660 IL_0011:
14661 stloc:int32(var_8_1C, callgetter:int32(Main::get_mouseX))
14662 stloc:int32(var_9_23, callgetter:int32(Main::get_mouseX))
14663 stloc:int32(var_10_2A, callgetter:int32(Main::get_mouseY))
14664 stloc:int32(var_12_34, callgetter:int32(Main::get_mouseY))
14665}
14666
14667 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
14668 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
14669 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
14670 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
14671 --- End of inner exception stack trace ---
14672 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
14673 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
14674*/;
14675 }
14676
14677 // Token: 0x06001FDB RID: 8155 RVA: 0x000C4C7C File Offset: 0x000C2E7C
14684
14685 // Token: 0x06001FDC RID: 8156 RVA: 0x000C4CBC File Offset: 0x000C2EBC
14687 {
14688 int num = 1;
14689 if (num == 0)
14690 {
14691 }
14693 if (num == 0)
14694 {
14695 }
14696 int height = Main.LocalPlayer.height;
14697 int num2 = 1;
14698 if (height == 0)
14699 {
14700 }
14701 if (height == 0)
14702 {
14703 }
14704 if (height == 0)
14705 {
14706 }
14707 if (mapTopLeft == null)
14708 {
14709 }
14710 if (mapTopLeft == null)
14711 {
14712 }
14713 if (num2 == 0)
14714 {
14715 }
14716 if (mapTopLeft == null)
14717 {
14718 }
14721 if (mapTopLeft == null)
14722 {
14723 }
14726 if (rectangle2 == null)
14727 {
14728 }
14730 string textValue = Language.GetTextValue("GameUI.PotionOfReturnExitPortal");
14732 if ("GameUI.PotionOfReturnExitPortal" == null)
14733 {
14734 }
14736 if ("GameUI.PotionOfReturnExitPortal" == null)
14737 {
14738 }
14739 }
14740
14741 // Token: 0x06001FDD RID: 8157 RVA: 0x000C4D6C File Offset: 0x000C2F6C
14743 {
14744 if (!true)
14745 {
14746 }
14748 if (potionOfReturnHomePosition != null)
14749 {
14750 if (potionOfReturnHomePosition == null)
14751 {
14752 }
14753 int height = Main.LocalPlayer.height;
14754 int num = 1;
14755 if (height == 0)
14756 {
14757 }
14758 if (height == 0)
14759 {
14760 }
14761 if (height == 0)
14762 {
14763 }
14764 if (mapTopLeft == null)
14765 {
14766 }
14767 if (mapTopLeft == null)
14768 {
14769 }
14770 if (num == 0)
14771 {
14772 }
14773 if (mapTopLeft == null)
14774 {
14775 }
14778 if (mapTopLeft == null)
14779 {
14780 }
14783 if (rectangle2 == null)
14784 {
14785 }
14787 string textValue = Language.GetTextValue("GameUI.PotionOfReturnHomePortal");
14789 if ("GameUI.PotionOfReturnHomePortal" == null)
14790 {
14791 }
14793 if ("GameUI.PotionOfReturnHomePortal" == null)
14794 {
14795 }
14796 }
14797 }
14798
14799 // Token: 0x06001FDE RID: 8158 RVA: 0x000C4E24 File Offset: 0x000C3024
14801 {
14802 int num = 1;
14803 if (num == 0)
14804 {
14805 }
14807 if (lastHitBall != null)
14808 {
14810 if (num == 0)
14811 {
14812 }
14813 if (num == 0)
14814 {
14815 }
14816 if (mapTopLeft == null)
14817 {
14818 }
14819 if (mapTopLeft == null)
14820 {
14821 }
14822 if (mapTopLeft == null)
14823 {
14824 }
14828 int type = lastHitBall.type;
14832 string name = lastHitBall.Name;
14835 }
14836 }
14837
14838 // Token: 0x06001FDF RID: 8159 RVA: 0x000C4EC4 File Offset: 0x000C30C4
14839 public static void TriggerPing(Microsoft.Xna.Framework.Vector2 position)
14840 {
14841 if (!true)
14842 {
14843 }
14844 bool netClient = Main.NetClient;
14845 }
14846
14847 // Token: 0x06001FE0 RID: 8160 RVA: 0x000C4EE0 File Offset: 0x000C30E0
14848 public static void DrawNPCHeadFriendly(Entity theNPC, byte alpha, float headScale, SpriteEffects dir, int npcID, float x, float y)
14849 {
14850 if (!true)
14851 {
14852 }
14853 }
14854
14855 // Token: 0x06001FE1 RID: 8161 RVA: 0x000C4EF4 File Offset: 0x000C30F4
14856 public static void DrawNPCHeadBoss(Entity theNPC, byte alpha, float headScale, float rotation, SpriteEffects effects, int npcID, float x, float y)
14857 {
14858 if (!true)
14859 {
14860 }
14861 }
14862
14863 // Token: 0x06001FE2 RID: 8162 RVA: 0x000C4F08 File Offset: 0x000C3108
14865 {
14866 if (!true)
14867 {
14868 }
14869 }
14870
14871 // Token: 0x06001FE3 RID: 8163 RVA: 0x000C4F94 File Offset: 0x000C3194
14873 {
14874 /*
14875An exception occurred when decompiling this method (06001FE3)
14876
14877ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Graphics.Color Terraria.Main::GetPlayerHeadBordersColor(Terraria.Player)
14878
14879 ---> System.Exception: Basic block has to end with unconditional control flow.
14880{
14881 IL_0052:
14882 brtrue(IL_0000, ldloc:int32[exp:bool](var_6))
14883}
14884
14885 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
14886 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
14887 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
14888 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
14889 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
14890 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
14891 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
14892 --- End of inner exception stack trace ---
14893 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
14894 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
14895*/;
14896 }
14897
14898 // Token: 0x06001FE4 RID: 8164 RVA: 0x000C4FF8 File Offset: 0x000C31F8
14899 public static string DrawMap_FindChestName(LocalizedText[] chestNames, Tile chestTile, int x, int y, int fullTileWidth = 36)
14900 {
14901 int num = 1;
14902 if (num == 0)
14903 {
14904 }
14905 if (num == 0)
14906 {
14907 }
14908 short num2;
14909 if (num2 != 0)
14910 {
14911 }
14912 string text;
14913 return text;
14914 }
14915
14916 // Token: 0x06001FE5 RID: 8165 RVA: 0x000C5018 File Offset: 0x000C3218
14918 {
14919 int num = 1;
14920 if (num == 0)
14921 {
14922 }
14923 if (num == 0)
14924 {
14925 }
14926 }
14927
14928 // Token: 0x06001FE6 RID: 8166 RVA: 0x000C5060 File Offset: 0x000C3260
14930 {
14931 if (!true)
14932 {
14933 }
14936 float[] liquidAlpha = Main.liquidAlpha;
14937 int <HolyTileCount>k__BackingField = Main.SceneMetrics.<HolyTileCount>k__BackingField;
14939 if (<HolyTileCount>k__BackingField == 0)
14940 {
14941 }
14942 }
14943
14944 // Token: 0x06001FE7 RID: 8167 RVA: 0x000C54D4 File Offset: 0x000C36D4
14945 protected void RenderTiles()
14946 {
14947 int num = 1;
14948 if (num == 0)
14949 {
14950 }
14951 if (num == 0)
14952 {
14953 this.RenderBlack();
14956 graphicsDevice.SetRenderTarget(renderTarget2D);
14959 int num2 = 1;
14960 int num3 = 1;
14961 long num4 = 0L;
14962 long num5 = 0L;
14963 tilesRenderer.PreDrawTiles(num2 != 0, num4 != 0L, num3 != 0);
14965 int num6 = 1;
14966 int num7 = 1;
14967 long num8 = 0L;
14968 tilesRenderer2.Draw(num6 != 0, num8 != 0L, num7 != 0, (int)num5);
14971 int num9 = 1;
14972 int num10 = 1;
14973 long num11 = 0L;
14974 tilesRenderer3.PostDrawTiles(num9 != 0, num11 != 0L, num10 != 0);
14977 }
14978 }
14979
14980 // Token: 0x06001FE8 RID: 8168 RVA: 0x000C5594 File Offset: 0x000C3794
14981 protected void RenderTiles2()
14982 {
14983 int num = 1;
14984 if (num == 0)
14985 {
14986 }
14987 if (num == 0)
14988 {
14991 graphicsDevice.SetRenderTarget(renderTarget2D);
14994 int num2 = 1;
14995 long num3 = 0L;
14996 long num4 = 0L;
14997 long num5 = 0L;
14998 tilesRenderer.PreDrawTiles(num3 != 0L, num4 != 0L, num2 != 0);
15000 int num6 = 1;
15001 long num7 = 0L;
15002 long num8 = 0L;
15003 tilesRenderer2.Draw(num7 != 0L, num8 != 0L, num6 != 0, (int)num5);
15006 int num9 = 1;
15007 long num10 = 0L;
15008 long num11 = 0L;
15009 tilesRenderer3.PostDrawTiles(num10 != 0L, num11 != 0L, num9 != 0);
15012 }
15013 }
15014
15015 // Token: 0x06001FE9 RID: 8169 RVA: 0x000C564C File Offset: 0x000C384C
15016 protected void RenderWater()
15017 {
15018 int num = 1;
15019 if (num == 0)
15020 {
15021 }
15022 if (num == 0)
15023 {
15026 int num2 = 1;
15027 long num3 = 0L;
15028 this.DrawWaters(num3 != 0L);
15030 if (num2 == 0)
15031 {
15032 }
15035 }
15036 }
15037
15038 // Token: 0x06001FEA RID: 8170 RVA: 0x000C56A0 File Offset: 0x000C38A0
15039 public static int CalculateWaterStyle(bool ignoreFountains = false)
15040 {
15041 if (!true)
15042 {
15043 }
15044 int <ActiveFountainColor>k__BackingField = Main.SceneMetrics.<ActiveFountainColor>k__BackingField;
15045 if (<ActiveFountainColor>k__BackingField == 0 || <ActiveFountainColor>k__BackingField == 0)
15046 {
15047 }
15048 return Main.bgStyle;
15049 }
15050
15051 // Token: 0x06001FEB RID: 8171 RVA: 0x000021DB File Offset: 0x000003DB
15052 public static bool IsLiquidStyleWater(int liquidStyle)
15053 {
15054 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
15055 }
15056
15057 // Token: 0x06001FEC RID: 8172 RVA: 0x000C5774 File Offset: 0x000C3974
15058 private void DrawWaters(bool isBackground = false)
15059 {
15060 if (!true)
15061 {
15062 }
15063 Main.drewLava = false;
15064 bool flushWater = this.FlushWater;
15065 if (flushWater)
15066 {
15067 if (!flushWater)
15068 {
15069 }
15074 float[] liquidAlpha = Main.liquidAlpha;
15075 float[] liquidAlpha2 = Main.liquidAlpha;
15076 return;
15077 }
15078 float[] liquidAlpha3 = Main.liquidAlpha;
15080 }
15081
15082 // Token: 0x06001FED RID: 8173 RVA: 0x000C58DC File Offset: 0x000C3ADC
15083 protected void DrawLiquid(bool bg = false, int Style = 0, float Alpha = 1f, bool drawSinglePassLiquids = true)
15084 {
15085 if (!true)
15086 {
15087 }
15088 bool notRetro = Lighting.NotRetro;
15089 if (!true)
15090 {
15091 }
15092 }
15093
15094 // Token: 0x06001FEE RID: 8174 RVA: 0x000C594C File Offset: 0x000C3B4C
15095 public static void DrawTileInWater(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 drawOffset, int x, int y, byte liquid, short frameX, short frameY)
15096 {
15097 if (!true)
15098 {
15099 }
15100 int num = 8;
15101 if (num == 0)
15102 {
15103 }
15104 if (num == 0)
15105 {
15106 }
15107 if (num == 0)
15108 {
15109 }
15110 }
15111
15112 // Token: 0x06001FEF RID: 8175 RVA: 0x000C596C File Offset: 0x000C3B6C
15113 public void oldDrawWater(bool bg = false, int Style = 0, float Alpha = 1f)
15114 {
15115 if (!true)
15116 {
15117 }
15118 long num = 0L;
15119 if (!true)
15120 {
15121 }
15122 float gfxQuality = Main.gfxQuality;
15123 float gfxQuality2 = Main.gfxQuality;
15124 float gfxQuality3 = Main.gfxQuality;
15125 float gfxQuality4 = Main.gfxQuality;
15127 int num2 = 32640;
15128 int num3 = 32768;
15134 int num4 = 5;
15135 if (num2 == 0)
15136 {
15137 }
15138 if (num2 != 0)
15139 {
15140 return;
15141 }
15142 int num5 = 5;
15143 if (num4 == 0)
15144 {
15145 }
15146 if (num5 != 0)
15147 {
15148 return;
15149 }
15150 if (num4 == 0)
15151 {
15152 }
15153 if (num3 == 0 || num3 == 0)
15154 {
15155 }
15156 uint packedValue = Lighting.GetColor(num4, (int)num).PackedValue;
15157 long num6 = -16777215L;
15158 if (num6 == 0L)
15159 {
15160 }
15161 bool drewLava = Main.drewLava;
15162 if (num6 == 0L)
15163 {
15164 }
15167 if (num3 == 0)
15168 {
15169 }
15175 }
15176
15177 // Token: 0x06001FF0 RID: 8176 RVA: 0x000C5CE8 File Offset: 0x000C3EE8
15178 protected bool FullTile(int x, int y)
15179 {
15180 int num = 1;
15181 if (num == 0)
15182 {
15183 }
15184 Tile tile;
15185 bool isLoaded = tile.IsLoaded;
15186 if (num == 0)
15187 {
15188 }
15189 Tile tile2;
15190 if (tile2.blockType() != 0)
15191 {
15192 return;
15193 }
15194 if (num == 0)
15195 {
15196 }
15197 Tile tile3;
15198 bool isLoaded2 = tile3.IsLoaded;
15199 if (num == 0)
15200 {
15201 }
15202 Tile tile4;
15203 if (tile4.blockType() == 0)
15204 {
15205 if (num == 0)
15206 {
15207 }
15208 Tile tile5;
15209 bool isLoaded3 = tile5.IsLoaded;
15210 return;
15211 }
15212 }
15213
15214 // Token: 0x06001FF1 RID: 8177 RVA: 0x000C5D38 File Offset: 0x000C3F38
15215 protected void DrawBlack(bool force = false)
15216 {
15217 if (!true)
15218 {
15219 }
15220 int num = 1;
15221 if (num == 0)
15222 {
15223 }
15224 int value = num.m_value;
15225 }
15226
15227 // Token: 0x06001FF2 RID: 8178 RVA: 0x000C5E94 File Offset: 0x000C4094
15228 public static bool ShouldShowInvisibleWalls()
15229 {
15230 /*
15231An exception occurred when decompiling this method (06001FF2)
15232
15233ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::ShouldShowInvisibleWalls()
15234
15235 ---> System.Exception: Basic block has to end with unconditional control flow.
15236{
15237 IL_0016:
15238 stloc:bool(var_1_20, ldfld:bool(Player::CanSeeInvisibleBlocks, callgetter:Player(Main::get_LocalPlayer)))
15239}
15240
15241 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
15242 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
15243 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
15244 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
15245 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
15246 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
15247 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
15248 --- End of inner exception stack trace ---
15249 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
15250 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
15251*/;
15252 }
15253
15254 // Token: 0x06001FF3 RID: 8179 RVA: 0x000C5EC4 File Offset: 0x000C40C4
15255 protected void RenderBlack()
15256 {
15257 if (!true)
15258 {
15259 }
15260 if (!true)
15261 {
15264 graphicsDevice.SetRenderTarget(renderTarget2D);
15271 }
15272 }
15273
15274 // Token: 0x06001FF4 RID: 8180 RVA: 0x000C5F1C File Offset: 0x000C411C
15275 protected void DrawWalls()
15276 {
15277 this.WallsRenderer.DrawWalls();
15278 }
15279
15280 // Token: 0x06001FF5 RID: 8181 RVA: 0x000C5F34 File Offset: 0x000C4134
15281 protected void RenderWalls()
15282 {
15283 int num = 1;
15284 if (num == 0)
15285 {
15286 }
15287 if (num == 0)
15288 {
15291 graphicsDevice.SetRenderTarget(renderTarget2D);
15295 wallsRenderer.DrawWalls();
15296 return;
15297 }
15298 }
15299
15300 // Token: 0x06001FF6 RID: 8182 RVA: 0x000C5FA8 File Offset: 0x000C41A8
15301 protected void ReleaseTargets()
15302 {
15304 if (renderTarget2D != null)
15305 {
15307 }
15309 if (renderTarget2D2 != null)
15310 {
15312 }
15314 if (renderTarget2D3 != null)
15315 {
15317 }
15319 if (renderTarget2D4 != null)
15320 {
15322 }
15324 if (renderTarget2D5 != null)
15325 {
15327 }
15329 if (renderTarget2D6 != null)
15330 {
15332 }
15333 }
15334
15335 // Token: 0x06001FF7 RID: 8183 RVA: 0x000C602C File Offset: 0x000C422C
15336 protected void InitTargets()
15337 {
15338 if (!true)
15339 {
15340 }
15341 if (!true)
15342 {
15343 }
15346 }
15347
15348 // Token: 0x06001FF8 RID: 8184 RVA: 0x000C6050 File Offset: 0x000C4250
15350 {
15351 if (!true)
15352 {
15353 }
15355 if (!true)
15356 {
15357 }
15359 }
15360
15361 // Token: 0x06001FF9 RID: 8185 RVA: 0x000C6080 File Offset: 0x000C4280
15362 protected void InitTargets(int width, int height)
15363 {
15364 if (!true)
15365 {
15366 }
15368 if (!true)
15369 {
15370 }
15372 }
15373
15374 // Token: 0x06001FFA RID: 8186 RVA: 0x000C60B0 File Offset: 0x000C42B0
15375 protected void DrawWires()
15376 {
15377 if (!true)
15378 {
15379 }
15380 if (!true)
15381 {
15382 }
15385 int myPlayer = Main.myPlayer;
15386 if (hideWires2)
15387 {
15388 if (!hideWires2)
15389 {
15390 }
15391 int myPlayer2 = Main.myPlayer;
15392 return;
15393 }
15394 int num = 1;
15395 if (num == 0)
15396 {
15397 }
15398 float gfxQuality = Main.gfxQuality;
15399 float gfxQuality2 = Main.gfxQuality;
15400 if (num == 0)
15401 {
15402 }
15403 if (!true)
15404 {
15405 }
15406 if (!true)
15407 {
15408 }
15410 int num2 = 15744;
15411 int num3 = 32640;
15417 if (num3 == 0)
15418 {
15419 }
15420 if (num3 != 0)
15421 {
15422 return;
15423 }
15424 if (num2 == 0)
15425 {
15426 }
15427 if (num3 != 0)
15428 {
15429 return;
15430 }
15431 if (num2 == 0)
15432 {
15433 }
15434 if (num3 == 0)
15435 {
15436 }
15437 float num4 = Lighting.Brightness(1073741824, 1073741824);
15438 if (num2 != 0)
15439 {
15440 }
15441 Microsoft.Xna.Framework.Graphics.Color color = Lighting.GetColor(1073741824, 1073741824);
15442 if (num2 != 0)
15443 {
15444 return;
15445 }
15446 if (1073741824 != 0)
15447 {
15448 return;
15449 }
15450 int num5;
15451 if (num5 != 0)
15452 {
15453 return;
15454 }
15457 }
15458
15459 // Token: 0x06001FFB RID: 8187 RVA: 0x000C6518 File Offset: 0x000C4718
15461 {
15462 return 43;
15463 }
15464
15465 // Token: 0x06001FFC RID: 8188 RVA: 0x000C6530 File Offset: 0x000C4730
15466 public static void ResetWindCounter(bool resetExtreme = false)
15467 {
15468 int num = FastRandom.CreateWithRandomSeed().Next(900, 2701);
15469 }
15470
15471 // Token: 0x06001FFD RID: 8189 RVA: 0x000C6554 File Offset: 0x000C4754
15472 public static void NewLightning()
15473 {
15474 if (!true)
15475 {
15476 }
15478 if (!true)
15479 {
15480 }
15481 if (!true)
15482 {
15483 }
15484 int num;
15485 if (num == 0)
15486 {
15487 return;
15488 }
15489 int num2;
15490 if (num2 != 0)
15491 {
15492 return;
15493 }
15494 int num3;
15495 if (num3 == 0)
15496 {
15497 }
15498 }
15499
15500 // Token: 0x06001FFE RID: 8190 RVA: 0x000C657C File Offset: 0x000C477C
15502 {
15503 int num = 1;
15504 if (num == 0)
15505 {
15506 }
15508 if (currentDayRateIteration != 0)
15509 {
15510 return;
15511 }
15512 bool active = this._active;
15513 if (num == 0)
15514 {
15515 }
15516 int myPlayer = Main.myPlayer;
15517 long num2 = 32752L;
15518 if (active)
15519 {
15520 }
15521 int num3;
15522 if (num2 != 0L)
15523 {
15524 num3 = 16256;
15525 if (num3 == 0)
15526 {
15527 }
15528 if (num3 == 0)
15529 {
15530 }
15531 int num4;
15532 int num5;
15533 int num6;
15534 int num7;
15536 int num8;
15537 int num9;
15538 int num10;
15539 int num11;
15541 return;
15542 }
15543 if (num3 == 0)
15544 {
15545 }
15546 if (num3 == 0)
15547 {
15548 }
15549 if (num3 == 0)
15550 {
15551 }
15552 if (num3 == 0)
15553 {
15554 }
15555 int num12;
15556 int num13;
15557 int num14;
15558 int num15;
15560 int num16;
15561 int num17;
15562 int num18;
15563 int num19;
15565 }
15566
15567 // Token: 0x06001FFF RID: 8191 RVA: 0x000C6864 File Offset: 0x000C4A64
15568 public void LoadBackground(int i)
15569 {
15570 int num = 1;
15571 if (num == 0)
15572 {
15573 }
15574 if (num == 0)
15575 {
15576 return;
15577 }
15578 }
15579
15580 // Token: 0x06002000 RID: 8192 RVA: 0x000C6884 File Offset: 0x000C4A84
15581 public void LoadItem(int i)
15582 {
15583 int num = 1;
15584 if (num == 0)
15585 {
15586 }
15587 if (num == 0)
15588 {
15589 return;
15590 }
15591 }
15592
15593 // Token: 0x06002001 RID: 8193 RVA: 0x000C689C File Offset: 0x000C4A9C
15594 public void LoadNPC(int i)
15595 {
15596 int num = 1;
15597 if (num == 0)
15598 {
15599 }
15600 if (num == 0)
15601 {
15602 return;
15603 }
15604 }
15605
15606 // Token: 0x06002002 RID: 8194 RVA: 0x000C68B4 File Offset: 0x000C4AB4
15607 public void LoadProjectile(int i)
15608 {
15609 int num = 1;
15610 if (num == 0)
15611 {
15612 }
15613 if (num == 0)
15614 {
15615 return;
15616 }
15617 }
15618
15619 // Token: 0x06002003 RID: 8195 RVA: 0x000C68CC File Offset: 0x000C4ACC
15620 public void LoadGore(int i)
15621 {
15622 int num = 1;
15623 if (num == 0)
15624 {
15625 }
15626 if (num == 0)
15627 {
15628 return;
15629 }
15630 }
15631
15632 // Token: 0x06002004 RID: 8196 RVA: 0x000C68E4 File Offset: 0x000C4AE4
15633 public void LoadWall(int i)
15634 {
15635 int num = 1;
15636 if (num == 0)
15637 {
15638 }
15639 if (num == 0)
15640 {
15641 return;
15642 }
15643 }
15644
15645 // Token: 0x06002005 RID: 8197 RVA: 0x000C68FC File Offset: 0x000C4AFC
15646 public void LoadTiles(int i)
15647 {
15648 int num = 1;
15649 if (num == 0)
15650 {
15651 }
15652 if (num == 0)
15653 {
15654 return;
15655 }
15656 }
15657
15658 // Token: 0x06002006 RID: 8198 RVA: 0x000C6914 File Offset: 0x000C4B14
15659 public void LoadItemFlames(int i)
15660 {
15661 int num = 1;
15662 if (num == 0)
15663 {
15664 }
15665 if (num == 0)
15666 {
15667 return;
15668 }
15669 }
15670
15671 // Token: 0x06002007 RID: 8199 RVA: 0x000C6930 File Offset: 0x000C4B30
15672 public void LoadWings(int i)
15673 {
15674 int num = 1;
15675 if (num == 0)
15676 {
15677 }
15678 if (num == 0)
15679 {
15680 return;
15681 }
15682 }
15683
15684 // Token: 0x06002008 RID: 8200 RVA: 0x000C6948 File Offset: 0x000C4B48
15685 public void LoadHair(int i)
15686 {
15687 int num = 1;
15688 if (num == 0)
15689 {
15690 }
15691 if (num == 0)
15692 {
15693 return;
15694 }
15695 }
15696
15697 // Token: 0x06002009 RID: 8201 RVA: 0x000C6960 File Offset: 0x000C4B60
15698 public void LoadArmorHead(int i)
15699 {
15700 int num = 1;
15701 if (num == 0)
15702 {
15703 }
15704 if (num == 0)
15705 {
15706 return;
15707 }
15708 }
15709
15710 // Token: 0x0600200A RID: 8202 RVA: 0x000C6978 File Offset: 0x000C4B78
15711 public void LoadArmorBody(int i)
15712 {
15713 int num = 1;
15714 if (num == 0)
15715 {
15716 }
15717 if (num == 0)
15718 {
15719 return;
15720 }
15721 }
15722
15723 // Token: 0x0600200B RID: 8203 RVA: 0x000C6994 File Offset: 0x000C4B94
15724 public void LoadArmorLegs(int i)
15725 {
15726 int num = 1;
15727 if (num == 0)
15728 {
15729 }
15730 if (num == 0)
15731 {
15732 return;
15733 }
15734 }
15735
15736 // Token: 0x0600200C RID: 8204 RVA: 0x000C69AC File Offset: 0x000C4BAC
15737 public void LoadAccHandsOn(int i)
15738 {
15739 int num = 1;
15740 if (num == 0)
15741 {
15742 }
15743 if (num != 0)
15744 {
15745 if (num == 0)
15746 {
15747 }
15748 if (num == 0)
15749 {
15750 return;
15751 }
15752 }
15753 }
15754
15755 // Token: 0x0600200D RID: 8205 RVA: 0x000C69CC File Offset: 0x000C4BCC
15756 public void LoadAccHandsOff(int i)
15757 {
15758 int num = 1;
15759 if (num == 0)
15760 {
15761 }
15762 if (num == 0)
15763 {
15764 if (num == 0)
15765 {
15766 }
15767 if (num == 0)
15768 {
15769 return;
15770 }
15771 }
15772 }
15773
15774 // Token: 0x0600200E RID: 8206 RVA: 0x000C69EC File Offset: 0x000C4BEC
15775 public void LoadAccBack(int i)
15776 {
15777 int num = 1;
15778 if (num == 0)
15779 {
15780 }
15781 if (num == 0)
15782 {
15783 return;
15784 }
15785 }
15786
15787 // Token: 0x0600200F RID: 8207 RVA: 0x000C6A04 File Offset: 0x000C4C04
15788 public void LoadAccFront(int i)
15789 {
15790 int num = 1;
15791 if (num == 0)
15792 {
15793 }
15794 if (num == 0)
15795 {
15796 return;
15797 }
15798 }
15799
15800 // Token: 0x06002010 RID: 8208 RVA: 0x000C6A1C File Offset: 0x000C4C1C
15801 public void LoadAccShoes(int i)
15802 {
15803 int num = 1;
15804 if (num == 0)
15805 {
15806 }
15807 if (num == 0)
15808 {
15809 return;
15810 }
15811 }
15812
15813 // Token: 0x06002011 RID: 8209 RVA: 0x000C6A34 File Offset: 0x000C4C34
15814 public void LoadAccWaist(int i)
15815 {
15816 int num = 1;
15817 if (num == 0)
15818 {
15819 }
15820 if (num == 0)
15821 {
15822 return;
15823 }
15824 }
15825
15826 // Token: 0x06002012 RID: 8210 RVA: 0x000C6A4C File Offset: 0x000C4C4C
15827 public void LoadAccShield(int i)
15828 {
15829 int num = 1;
15830 if (num == 0)
15831 {
15832 }
15833 if (num == 0)
15834 {
15835 return;
15836 }
15837 }
15838
15839 // Token: 0x06002013 RID: 8211 RVA: 0x000C6A64 File Offset: 0x000C4C64
15840 public void LoadAccNeck(int i)
15841 {
15842 int num = 1;
15843 if (num == 0)
15844 {
15845 }
15846 if (num == 0)
15847 {
15848 return;
15849 }
15850 }
15851
15852 // Token: 0x06002014 RID: 8212 RVA: 0x000C6A7C File Offset: 0x000C4C7C
15853 public void LoadAccFace(int i)
15854 {
15855 int num = 1;
15856 if (num == 0)
15857 {
15858 }
15859 if (num == 0)
15860 {
15861 return;
15862 }
15863 }
15864
15865 // Token: 0x06002015 RID: 8213 RVA: 0x000C6A94 File Offset: 0x000C4C94
15866 public void LoadAccBalloon(int i)
15867 {
15868 int num = 1;
15869 if (num == 0)
15870 {
15871 }
15872 if (num == 0)
15873 {
15874 return;
15875 }
15876 }
15877
15878 // Token: 0x06002016 RID: 8214 RVA: 0x000C6AAC File Offset: 0x000C4CAC
15879 public void LoadAccBeard(int i)
15880 {
15881 int num = 1;
15882 if (num == 0)
15883 {
15884 }
15885 if (num == 0)
15886 {
15887 return;
15888 }
15889 }
15890
15891 // Token: 0x06002017 RID: 8215 RVA: 0x000C6AC4 File Offset: 0x000C4CC4
15892 public void LoadFlameRing()
15893 {
15894 int num = 1;
15895 if (num == 0)
15896 {
15897 }
15898 if (num == 0)
15899 {
15900 return;
15901 }
15902 }
15903
15904 // Token: 0x06002018 RID: 8216 RVA: 0x000C6ADC File Offset: 0x000C4CDC
15905 protected void DrawSurfaceBG()
15906 {
15907 int num = 1;
15908 if (num == 0)
15909 {
15910 }
15911 if (num != 0)
15912 {
15913 if (num == 0)
15914 {
15915 }
15916 bool gameMenu = Main.gameMenu;
15917 if (num == 0)
15918 {
15919 }
15920 if (num == 0)
15921 {
15922 return;
15923 }
15924 }
15925 else if (num == 0)
15926 {
15927 }
15928 }
15929
15930 // Token: 0x06002019 RID: 8217 RVA: 0x000C6F84 File Offset: 0x000C5184
15931 private static float DrawSurfaceBG_GetFogPower()
15932 {
15933 if (!true)
15934 {
15935 }
15937 if (!true)
15938 {
15939 return;
15940 }
15941 }
15942
15943 // Token: 0x0600201A RID: 8218 RVA: 0x000C6FA0 File Offset: 0x000C51A0
15945 {
15946 int num = this.bgTopY;
15947 int num2 = this.bgLoops;
15948 this.bgTopY = num;
15949 if (num == 0)
15950 {
15951 }
15952 int num3 = this.bgStartX;
15953 int num4 = this.bgTopY;
15954 Rectangle? backgroundRect = this.GetBackgroundRect(bgTextureIndex);
15955 int num5 = this.bgLoops;
15956 int num6 = this.bgTopY;
15957 this.bgTopY = num6;
15958 }
15959
15960 // Token: 0x0600201B RID: 8219 RVA: 0x000C6FF8 File Offset: 0x000C51F8
15962 {
15963 return 130;
15964 }
15965
15966 // Token: 0x0600201C RID: 8220 RVA: 0x000C7014 File Offset: 0x000C5214
15968 {
15969 if (!true)
15970 {
15971 return;
15972 }
15973 }
15974
15975 // Token: 0x0600201D RID: 8221 RVA: 0x000C7028 File Offset: 0x000C5228
15977 {
15978 if (!true)
15979 {
15980 }
15981 float num = this.scAdj;
15982 long num2 = 32752L;
15983 long num3 = 858993459L;
15984 this.bgTopY = (int)num2;
15985 this.bgParallax = (double)num3;
15986 if (num2 != 0L)
15987 {
15988 return;
15989 }
15990 double num4 = this.bgParallax;
15992 double num5 = this.bgParallax;
15993 double num6 = Math.IEEERemainder(num4, 1300.0);
15994 long num7 = 32752L;
15995 this.bgStartX = (int)num7;
15996 int num8 = 1024;
15998 bool gameMenu = Main.gameMenu;
16002 if (num8 == 0)
16003 {
16004 }
16005 long num9 = 0L;
16009 if (num8 == 0)
16010 {
16011 }
16012 long num10 = 0L;
16013 this.DrawSurfaceBG_DrawBackMountainsLayer((int)num10);
16016 if (num8 == 0)
16017 {
16018 }
16019 long num11 = 0L;
16020 this.DrawSurfaceBG_DrawBackMountainsLayer((int)num11);
16023 if (num8 == 0)
16024 {
16025 }
16026 long num12 = 0L;
16027 this.DrawSurfaceBG_DrawBackMountainsLayer((int)num12);
16030 if (num8 == 0)
16031 {
16032 }
16033 int num13 = 23;
16037 if (num8 == 0)
16038 {
16039 }
16040 int num14 = 24;
16044 if (num8 == 0)
16045 {
16046 }
16047 long num15 = 0L;
16048 this.DrawSurfaceBG_DrawBackMountainsLayer((int)num15);
16051 if (num8 == 0)
16052 {
16053 }
16054 int num16 = 24;
16058 if (num8 == 0)
16059 {
16060 }
16061 int num17 = 246;
16063 if (num7 == 0L)
16064 {
16065 }
16066 }
16067
16068 // Token: 0x0600201E RID: 8222 RVA: 0x000C71CC File Offset: 0x000C53CC
16070 {
16071 if (!true)
16072 {
16073 }
16074 bool gameMenu = Main.gameMenu;
16075 int num = this.bgStartX;
16076 this.bgStartX = num;
16077 if (num == 0)
16078 {
16079 }
16081 if (num == 0)
16082 {
16083 }
16084 double num2 = this.bgParallax;
16088 long num3 = 0L;
16092 int num4 = 22;
16096 int num5 = 25;
16100 long num6 = 0L;
16104 long num7 = 0L;
16108 int num8 = 42;
16112 int num9 = 247;
16116 long num10 = 0L;
16117 this.DrawSurfaceBG_DrawBackMountainsLayer((int)num10);
16120 long num11 = 0L;
16121 this.DrawSurfaceBG_DrawBackMountainsLayer((int)num11);
16124 long num12 = 0L;
16125 this.DrawSurfaceBG_DrawBackMountainsLayer((int)num12);
16126 }
16127
16128 // Token: 0x0600201F RID: 8223 RVA: 0x000C730C File Offset: 0x000C550C
16130 {
16131 if (!true)
16132 {
16133 }
16134 }
16135
16136 // Token: 0x06002020 RID: 8224 RVA: 0x000C733C File Offset: 0x000C553C
16138 {
16139 int num = 28;
16140 if (270 == 0)
16141 {
16142 }
16143 int num2 = 32640;
16144 long num3 = -1717986919L;
16145 this.bgParallax = (double)num3;
16147 double num4 = this.bgParallax;
16149 double num5 = this.bgParallax;
16150 if (num2 == 0)
16151 {
16152 }
16154 float num7 = this.scAdj;
16155 int num8 = 32768;
16157 bool gameMenu = Main.gameMenu;
16160 if (this.bgLoops == 0)
16161 {
16162 }
16163 if (num8 == 0)
16164 {
16165 }
16166 int num9 = this.bgTopY;
16167 long num10 = 0L;
16168 int num11 = this.bgStartX;
16169 Rectangle? backgroundRect = this.GetBackgroundRect((int)num10);
16170 if (this.bgLoops == 0)
16171 {
16172 }
16173 int num12 = 28;
16174 if (17279 == 0)
16175 {
16176 }
16177 long num13 = 60293L;
16178 this.bgParallax = (double)num13;
16180 double num14 = this.bgParallax;
16182 double num15 = this.bgParallax;
16184 long num17 = 32752L;
16185 float num18 = this.scAdj;
16186 int num19 = 32768;
16188 bool gameMenu2 = Main.gameMenu;
16189 int num20 = this.bgStartX;
16190 this.bgTopY = (int)num17;
16192 if (num20 == 0)
16193 {
16194 }
16195 if (num20 != 0)
16196 {
16197 if (num20 == 0)
16198 {
16199 }
16202 if (this.bgLoops == 0)
16203 {
16204 }
16205 if (num19 == 0)
16206 {
16207 }
16208 int num21 = this.bgTopY;
16209 long num22 = 0L;
16210 int num23 = this.bgStartX;
16211 Rectangle? backgroundRect2 = this.GetBackgroundRect((int)num22);
16212 if (this.bgLoops == 0)
16213 {
16214 }
16215 int num24 = 28;
16216 if (270 == 0)
16217 {
16218 }
16219 long num25 = 36700L;
16220 this.bgParallax = (double)num25;
16222 double num26 = this.bgParallax;
16224 double num27 = this.bgParallax;
16226 long num29 = 32752L;
16227 float num30 = this.scAdj;
16228 int num31 = 32768;
16230 bool gameMenu3 = Main.gameMenu;
16231 int num32 = this.bgStartX;
16232 this.bgTopY = (int)num29;
16234 if (num32 == 0)
16235 {
16236 }
16237 if (num32 != 0)
16238 {
16239 if (num32 == 0)
16240 {
16241 }
16244 if (this.bgLoops == 0)
16245 {
16246 }
16247 if (num31 == 0)
16248 {
16249 }
16250 int num33 = this.bgTopY;
16251 long num34 = 0L;
16252 int num35 = this.bgStartX;
16253 Rectangle? backgroundRect3 = this.GetBackgroundRect((int)num34);
16254 int num36 = this.bgLoops;
16255 return;
16256 }
16257 }
16258 }
16259
16260 // Token: 0x06002021 RID: 8225 RVA: 0x000C75D4 File Offset: 0x000C57D4
16262 {
16263 int num = 1;
16264 if (num == 0)
16265 {
16266 }
16267 int num2 = 16288;
16268 float num3 = this.scAdj;
16269 int num4 = 32640;
16270 long num5 = -1717986919L;
16271 this.bgParallax = (double)num5;
16272 this.bgTopY = num;
16274 this.LoadBackground(pushBGTopHack);
16275 if (num2 == 0)
16276 {
16277 }
16278 double num6 = this.bgParallax;
16280 double num7 = this.bgParallax;
16281 double num8 = Math.IEEERemainder(num6, (double)0f);
16282 int num9 = this.bgTopY;
16283 this.bgTopY = num9;
16284 int num10 = this.bgTopY;
16286 if (num10 == 0)
16287 {
16288 }
16289 bool gameMenu = Main.gameMenu;
16291 if (num10 == 0)
16292 {
16293 }
16296 if (this.bgLoops == 0)
16297 {
16298 }
16299 if (num4 == 0)
16300 {
16301 }
16302 int num11 = this.bgTopY;
16303 int num12 = this.bgStartX;
16304 int num13 = this.bgLoops;
16305 }
16306
16307 // Token: 0x06002022 RID: 8226 RVA: 0x000C78AC File Offset: 0x000C5AAC
16309 {
16310 int num = 1;
16311 if (num == 0)
16312 {
16313 }
16314 int num2 = 16288;
16315 float num3 = this.scAdj;
16316 int num4 = 32768;
16317 long num5 = -1717986919L;
16318 this.bgParallax = (double)num5;
16319 this.bgTopY = num;
16321 this.LoadBackground(pushBGTopHack);
16322 if (num2 == 0)
16323 {
16324 }
16325 double num6 = this.bgParallax;
16327 double num7 = this.bgParallax;
16328 double num8 = Math.IEEERemainder(num6, (double)0f);
16329 bool gameMenu = Main.gameMenu;
16330 this.bgTopY = num4;
16331 }
16332
16333 // Token: 0x06002023 RID: 8227 RVA: 0x000C7B58 File Offset: 0x000C5D58
16335 {
16336 }
16337
16338 // Token: 0x06002024 RID: 8228 RVA: 0x000C7C5C File Offset: 0x000C5E5C
16340 {
16341 int num = 1;
16342 if (num == 0)
16343 {
16344 }
16345 int num2 = 16288;
16346 float num3 = this.scAdj;
16347 long num4 = -1717986919L;
16348 this.bgParallax = (double)num4;
16349 this.bgTopY = num;
16351 this.LoadBackground(pushBGTopHack);
16352 if (num2 == 0)
16353 {
16354 }
16355 double num5 = this.bgParallax;
16357 double num6 = this.bgParallax;
16358 double num7 = Math.IEEERemainder(num5, (double)0f);
16359 bool gameMenu = Main.gameMenu;
16362 if (this.bgLoops == 0)
16363 {
16364 }
16365 int num8 = this.bgTopY;
16366 long num9 = 0L;
16367 int num10 = this.bgStartX;
16368 Rectangle? backgroundRect = this.GetBackgroundRect((int)num9);
16369 int num11 = this.bgLoops;
16370 }
16371
16372 // Token: 0x06002025 RID: 8229 RVA: 0x000C7EDC File Offset: 0x000C60DC
16374 {
16375 if (!true)
16376 {
16377 }
16378 long num = 18350L;
16379 int num2 = 32640;
16380 this.bgParallax = (double)num;
16381 if (num2 != 0)
16382 {
16383 return;
16384 }
16385 double num3 = this.bgParallax;
16387 double num4 = this.bgParallax;
16389 float num6 = this.scAdj;
16390 int num7 = 32768;
16391 bool gameMenu = Main.gameMenu;
16394 if (this.bgLoops == 0)
16395 {
16396 }
16397 if (num7 == 0)
16398 {
16399 }
16400 int num8 = this.bgStartX;
16401 int num9 = this.bgTopY;
16402 if (this.bgLoops == 0)
16403 {
16404 }
16405 int num10 = 32640;
16406 long num11 = 36700L;
16407 this.bgParallax = (double)num11;
16408 if (num10 != 0)
16409 {
16410 return;
16411 }
16412 double num12 = this.bgParallax;
16414 double num13 = this.bgParallax;
16416 long num15 = 32752L;
16417 float num16 = this.scAdj;
16418 int num17 = 32768;
16419 bool gameMenu2 = Main.gameMenu;
16420 int num18 = this.bgStartX;
16421 this.bgTopY = (int)num15;
16423 if (num18 == 0)
16424 {
16425 }
16428 if (this.bgLoops == 0)
16429 {
16430 }
16431 if (num17 == 0)
16432 {
16433 }
16434 int num19 = this.bgStartX;
16435 int num20 = this.bgTopY;
16436 int num21 = this.bgLoops;
16437 }
16438
16439 // Token: 0x06002026 RID: 8230 RVA: 0x000C803C File Offset: 0x000C623C
16441 {
16442 int num = 1;
16443 if (num == 0)
16444 {
16445 }
16446 long num2 = -1717986919L;
16447 int num3 = 32640;
16448 this.bgParallax = (double)num2;
16450 if (num == 0)
16451 {
16452 }
16453 double num4 = this.bgParallax;
16455 double num5 = this.bgParallax;
16456 if (num3 == 0)
16457 {
16458 }
16460 float num7 = this.scAdj;
16461 int num8 = 32768;
16463 bool gameMenu = Main.gameMenu;
16464 int num9 = this.bgTopY;
16465 this.bgTopY = num9;
16468 if (this.bgLoops == 0)
16469 {
16470 }
16471 if (num8 == 0)
16472 {
16473 }
16474 int num10 = this.bgTopY;
16475 long num11 = 0L;
16476 int num12 = this.bgStartX;
16477 Rectangle? backgroundRect = this.GetBackgroundRect((int)num11);
16478 int num13 = this.bgLoops;
16479 }
16480
16481 // Token: 0x06002027 RID: 8231 RVA: 0x000C82E4 File Offset: 0x000C64E4
16483 {
16484 int num = 1;
16485 if (num == 0)
16486 {
16487 }
16488 int num2 = 16288;
16489 float num3 = this.scAdj;
16490 long num4 = 18350L;
16491 int num5 = 32768;
16492 this.bgParallax = (double)num4;
16493 this.bgTopY = num;
16495 this.LoadBackground(pushBGTopHack);
16496 if (num2 == 0)
16497 {
16498 }
16499 double num6 = this.bgParallax;
16501 double num7 = this.bgParallax;
16502 double num8 = Math.IEEERemainder(num6, (double)0f);
16503 long num9 = 32752L;
16504 this.bgStartX = (int)num9;
16505 bool gameMenu = Main.gameMenu;
16506 this.bgTopY = (int)num9;
16507 if (num9 == 0L)
16508 {
16509 }
16511 int num10 = 32768;
16514 if (this.bgLoops == 0)
16515 {
16516 }
16517 if (num5 == 0)
16518 {
16519 }
16520 int num11 = this.bgStartX;
16521 int num12 = this.bgTopY;
16522 int num13 = this.bgLoops;
16523 }
16524
16525 // Token: 0x06002028 RID: 8232 RVA: 0x000C8580 File Offset: 0x000C6780
16527 {
16528 if (!true)
16529 {
16530 }
16531 if (!true)
16532 {
16533 }
16536 }
16537
16538 // Token: 0x06002029 RID: 8233 RVA: 0x000C85A8 File Offset: 0x000C67A8
16540 {
16541 int num = 1;
16542 if (num == 0)
16543 {
16544 }
16545 float num2 = this.scAdj;
16546 int num3 = 32768;
16547 long num4 = -1717986919L;
16548 this.bgParallax = (double)num4;
16549 this.bgTopY = num;
16551 this.LoadBackground(pushBGTopHack);
16552 if (num3 != 0)
16553 {
16554 if (num3 == 0)
16555 {
16556 }
16557 if (num3 != 0)
16558 {
16559 if (num3 == 0)
16560 {
16561 }
16562 int num5 = 32640;
16563 int num6 = 32768;
16564 if (num5 == 0)
16565 {
16566 }
16567 double num7 = this.bgParallax;
16569 double num8 = this.bgParallax;
16570 double num9 = Math.IEEERemainder(num7, (double)0f);
16571 this.bgStartX = int.MinValue;
16572 bool gameMenu = Main.gameMenu;
16573 this.bgTopY = int.MinValue;
16574 int num10 = this.bgTopY;
16576 if (num10 == 0)
16577 {
16578 }
16580 this.bgLoops = int.MinValue;
16582 if (this.bgLoops == 0)
16583 {
16584 }
16585 if (num6 == 0)
16586 {
16587 }
16588 int num11 = this.bgTopY;
16589 int num12 = this.bgStartX;
16590 long num13 = 0L;
16591 int num14 = this.bgLoops;
16592 if (num14 == 0)
16593 {
16594 }
16595 int num15 = 44564;
16596 float num16 = this.scAdj;
16597 long num17 = 60293L;
16598 int num18 = 32768;
16599 this.bgParallax = (double)num17;
16602 this.LoadBackground((int)num13);
16603 if (num15 == 0)
16604 {
16605 }
16606 double num19 = this.bgParallax;
16608 double num20 = this.bgParallax;
16609 double num21 = Math.IEEERemainder(num19, (double)0f);
16610 int num22 = 32768;
16611 this.bgStartX = int.MinValue;
16612 bool gameMenu2 = Main.gameMenu;
16613 int num23 = this.bgStartX;
16616 int num24 = this.bgTopY;
16618 if (num24 == 0)
16619 {
16620 }
16621 if (num22 == 0)
16622 {
16623 if (num22 == 0)
16624 {
16625 }
16626 }
16627 if (num24 == 0)
16628 {
16629 }
16631 this.bgLoops = int.MinValue;
16633 int num27;
16634 if (num18 != 0)
16635 {
16636 if (this.bgLoops == 0)
16637 {
16638 }
16639 int num25 = this.bgStartX;
16640 int num26 = this.bgTopY;
16641 num27 = this.bgLoops;
16642 }
16643 if (num27 == 0)
16644 {
16645 }
16646 int num28 = 34079;
16647 float num29 = this.scAdj;
16648 int num30 = 32640;
16649 long num31 = 36700L;
16650 this.bgParallax = (double)num31;
16653 this.LoadBackground(num18);
16654 int num32;
16655 if (num28 == 0)
16656 {
16657 if (num28 == 0)
16658 {
16659 }
16660 num32 = 150;
16661 }
16662 if (num32 == 0)
16663 {
16664 }
16665 if (num32 == 0)
16666 {
16667 }
16668 double num33 = this.bgParallax;
16670 double num34 = this.bgParallax;
16671 double num35 = Math.IEEERemainder(num33, (double)0f);
16672 int num36 = 32768;
16673 this.bgStartX = int.MinValue;
16674 bool gameMenu3 = Main.gameMenu;
16675 int num37 = this.bgStartX;
16678 int num38 = this.bgTopY;
16680 if (num38 == 0)
16681 {
16682 }
16684 this.bgLoops = int.MinValue;
16686 if (this.bgLoops == 0)
16687 {
16688 }
16689 if (num30 == 0)
16690 {
16691 }
16692 int num39 = this.bgTopY;
16693 int num40 = this.bgStartX;
16694 int num41 = this.bgLoops;
16695 return;
16696 }
16697 }
16698 }
16699
16700 // Token: 0x0600202A RID: 8234 RVA: 0x000C88F0 File Offset: 0x000C6AF0
16702 {
16703 /*
16704An exception occurred when decompiling this method (0600202A)
16705
16706ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Nullable`1<Microsoft.Xna.Framework.Rectangle> Terraria.Main::GetBackgroundRect(System.Int32)
16707
16708 ---> System.Exception: Basic block has to end with unconditional control flow.
16709{
16710 Block_0:
16711 stloc:int32(var_8_0C, ldc.i4:int32(2))
16712 stloc:int64(var_10_0F, ldc.i4:int64(0))
16713 call:void(Rectangle::Inflate, ldloc:Rectangle[exp:valuetype Microsoft.Xna.Framework.Rectangle&](var_9), ldloc:int64[exp:int32](var_10_0F), ldloc:int32(var_8_0C))
16714}
16715
16716 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
16717 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
16718 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
16719 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
16720 --- End of inner exception stack trace ---
16721 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
16722 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
16723*/;
16724 }
16725
16726 // Token: 0x0600202B RID: 8235 RVA: 0x000C8918 File Offset: 0x000C6B18
16728 {
16729 /*
16730An exception occurred when decompiling this method (0600202B)
16731
16732ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt32 Terraria.Main::GetBackgroundCounter()
16733
16734 ---> System.Exception: Basic block has to end with unconditional control flow.
16735{
16736 IL_0003:
16737 stloc:bool(var_0_08, callgetter:bool(Main::get_gameMenu))
16738 brtrue(IL_0000, ldc.i4:bool(1))
16739}
16740
16741 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
16742 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
16743 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
16744 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
16745 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
16746 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
16747 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
16748 --- End of inner exception stack trace ---
16749 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
16750 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
16751*/;
16752 }
16753
16754 // Token: 0x0600202C RID: 8236 RVA: 0x000C8930 File Offset: 0x000C6B30
16756 {
16757 if (!true)
16758 {
16759 }
16760 int num = 16288;
16761 float num2 = this.scAdj;
16762 this.bgTopY = num;
16763 long num3 = 8192L;
16764 this.bgParallax = (double)num3;
16765 if (num3 != 0L)
16766 {
16767 return;
16768 }
16769 long num4 = 16336L;
16770 this.bgParallax = (double)num4;
16771 if (num4 == 0L)
16772 {
16773 }
16774 long num5 = 16384L;
16775 this.bgParallax = (double)num5;
16776 if (num5 != 0L)
16777 {
16778 return;
16779 }
16780 long num6 = 16336L;
16781 this.bgParallax = (double)num6;
16782 if (num6 == 0L)
16783 {
16784 }
16785 if (num6 == 0L)
16786 {
16787 }
16788 if (num6 == 0L)
16789 {
16790 }
16791 double num7 = this.bgParallax;
16793 double num8 = this.bgParallax;
16795 long num10 = 16537L;
16796 float num11 = this.scAdj;
16797 this.bgTopY = (int)num10;
16798 long num12 = 16537L;
16799 float num13 = this.scAdj;
16800 this.bgTopY = (int)num12;
16801 long num14 = 16537L;
16802 float num15 = this.scAdj;
16803 long num16 = 32752L;
16804 this.bgTopY = (int)num16;
16805 if (num16 == 0L)
16806 {
16807 }
16808 bool gameMenu = Main.gameMenu;
16811 int num17 = this.bgLoops;
16812 if (num14 == 0L)
16813 {
16814 }
16815 }
16816
16817 // Token: 0x0600202D RID: 8237 RVA: 0x000C8C38 File Offset: 0x000C6E38
16819 {
16820 if (!true)
16821 {
16822 }
16823 bool gameMenu = Main.gameMenu;
16824 if (!true)
16825 {
16826 }
16832 if (50484 == 0)
16833 {
16834 }
16836 }
16837
16838 // Token: 0x0600202E RID: 8238 RVA: 0x000C8C88 File Offset: 0x000C6E88
16840 {
16841 if (!true)
16842 {
16843 }
16844 long num = 0L;
16845 if (!true)
16846 {
16847 }
16848 bool flag = Main.ShouldShowInvisibleWalls();
16849 int[] hitTileObjectData = hitter.HitTileObjectData;
16850 long num2 = 0L;
16851 bool flag2 = WorldGen.InWorld(0, (int)num, (int)num2);
16852 if (hitTileObjectData == null)
16853 {
16854 }
16855 if (hitTileObjectData == null)
16856 {
16857 }
16858 Tile tile;
16859 bool flag3 = tile.active();
16860 }
16861
16862 // Token: 0x0600202F RID: 8239 RVA: 0x000C8DC4 File Offset: 0x000C6FC4
16863 private static void CheckMonoliths()
16864 {
16865 if (!true)
16866 {
16867 }
16868 int myPlayer = Main.myPlayer;
16869 int myPlayer2 = Main.myPlayer;
16870 int myPlayer3 = Main.myPlayer;
16871 int myPlayer4 = Main.myPlayer;
16872 int myPlayer5 = Main.myPlayer;
16873 int myPlayer6 = Main.myPlayer;
16874 int myPlayer7 = Main.myPlayer;
16875 int myPlayer8 = Main.myPlayer;
16876 }
16877
16878 // Token: 0x170004DB RID: 1243
16879 // (get) Token: 0x06002030 RID: 8240 RVA: 0x000C8E30 File Offset: 0x000C7030
16880 public static bool IsGraphicsDeviceAvailable
16881 {
16882 get
16883 {
16884 return true;
16885 }
16886 }
16887
16888 // Token: 0x06002031 RID: 8241 RVA: 0x000C8E40 File Offset: 0x000C7040
16890 {
16891 }
16892
16893 // Token: 0x06002032 RID: 8242 RVA: 0x000C8E50 File Offset: 0x000C7050
16894 protected override void Draw(GameTime gameTime)
16895 {
16897 if (!isDrawingOrUpdating)
16898 {
16900 {
16901 }
16902 int num = 1;
16903 this._isDrawingOrUpdating = num != 0;
16904 this.DoDraw(gameTime);
16905 if (num == 0)
16906 {
16907 }
16908 if (num != 0)
16909 {
16910 }
16911 return;
16912 }
16913 }
16914
16915 // Token: 0x06002033 RID: 8243 RVA: 0x000C8E84 File Offset: 0x000C7084
16917 {
16918 this.DrawSplash(gameTime);
16920 }
16921
16922 // Token: 0x06002034 RID: 8244 RVA: 0x000C9B28 File Offset: 0x000C7D28
16923 private static void DrawItemTextPopups(float scaleTarget)
16924 {
16929 string text2;
16930 string text = text2 + " (" + text2 + ")";
16931 if (")" == null)
16932 {
16933 }
16934 if (")" == null)
16935 {
16936 }
16938 int num = 17279;
16947 if (num == 0)
16948 {
16949 }
16951 if (num == 0)
16952 {
16953 }
16954 }
16955
16956 // Token: 0x06002035 RID: 8245 RVA: 0x000C9C94 File Offset: 0x000C7E94
16957 private static void DoDraw_UpdateCameraPosition()
16958 {
16959 if (!true)
16960 {
16961 }
16962 int num = 1;
16963 if (num == 0)
16964 {
16965 }
16966 if (num == 0)
16967 {
16968 }
16969 bool gameMenu = Main.gameMenu;
16970 if (num == 0)
16971 {
16972 }
16974 if (num == 0)
16975 {
16976 }
16977 int myPlayer = Main.myPlayer;
16979 Rect rect;
16980 float height = rect.height;
16981 if (42190744 == 0)
16982 {
16983 }
16985 if (42190744 == 0)
16986 {
16987 }
16989 if (42190744 == 0)
16990 {
16991 }
16992 bool hairWindow = Main.hairWindow;
16993 if (42190744 == 0)
16994 {
16995 }
16997 if (42190744 == 0)
16998 {
16999 }
17000 bool flag = Main.npcChatText != "";
17001 if (42190744 == 0)
17002 {
17003 }
17004 int myPlayer2 = Main.myPlayer;
17011 }
17012
17013 // Token: 0x06002036 RID: 8246 RVA: 0x000CA4C8 File Offset: 0x000C86C8
17014 public static bool IsItDay()
17015 {
17016 if (!true)
17017 {
17018 return;
17019 }
17020 }
17021
17022 // Token: 0x06002037 RID: 8247 RVA: 0x000CA4DC File Offset: 0x000C86DC
17023 public static double starGameMath(double value = 1.0)
17024 {
17025 /*
17026An exception occurred when decompiling this method (06002037)
17027
17028ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double Terraria.Main::starGameMath(System.Double)
17029
17030 ---> System.Exception: Basic block has to end with unconditional control flow.
17031{
17032 Block_0:
17033 brtrue(IL_0000, ldc.i4:bool(1))
17034}
17035
17036 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
17037 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
17038 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
17039 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
17040 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
17041 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
17042 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
17043 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
17044 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
17045 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
17046 --- End of inner exception stack trace ---
17047 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
17048 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
17049*/;
17050 }
17051
17052 // Token: 0x06002038 RID: 8248 RVA: 0x000CA4F4 File Offset: 0x000C86F4
17054 {
17055 if (!true)
17056 {
17057 }
17058 int num = sceneArea.bgTopY;
17059 float totalWidth = sceneArea.totalWidth;
17060 long num2;
17061 if (this != null)
17062 {
17063 num2 = 32752L;
17064 return;
17065 }
17066 if (num2 == 0L)
17067 {
17068 }
17069 double num4;
17070 double num3 = Math.Pow(num4, 250.0);
17071 if (32752 == 0)
17072 {
17073 }
17074 int num5 = 4829;
17075 int num6;
17076 if (num5 == 0)
17077 {
17078 if (num6 == 0)
17079 {
17080 }
17081 return;
17082 }
17083 if (num5 == 0)
17084 {
17085 }
17086 if (num5 == 0)
17087 {
17088 }
17089 num6 = 1;
17090 int num7;
17091 if (num7 != 0)
17092 {
17093 return;
17094 }
17095 long num8 = 0L;
17096 int num9;
17097 if (num9 == 0)
17098 {
17099 }
17100 Star.SpawnStars((int)num8);
17101 }
17102
17103 // Token: 0x06002039 RID: 8249 RVA: 0x000CA734 File Offset: 0x000C8934
17104 [Il2CppSetOption(Option.ArrayBoundsChecks, false)]
17105 [Il2CppSetOption(Option.NullChecks, false)]
17107 {
17108 int num = 1;
17109 if (num == 0)
17110 {
17111 }
17113 if (num == 0)
17114 {
17115 }
17117 if (num == 0)
17118 {
17119 }
17121 if (num == 0)
17122 {
17123 }
17125 }
17126
17127 // Token: 0x0600203A RID: 8250 RVA: 0x000CA7C8 File Offset: 0x000C89C8
17129 {
17130 }
17131
17132 // Token: 0x0600203B RID: 8251 RVA: 0x000CA7D8 File Offset: 0x000C89D8
17134 {
17135 if (theStar != null)
17136 {
17137 bool hidden = theStar.hidden;
17138 if (!hidden)
17139 {
17140 if (!hidden)
17141 {
17142 }
17143 int num = 155;
17144 float twinkle = theStar.twinkle;
17145 float fadeIn = theStar.fadeIn;
17146 int num2 = 32640;
17147 if (32768 == 0)
17148 {
17149 }
17151 if (num == 0)
17152 {
17153 float twinkle2 = theStar.twinkle;
17154 return;
17155 }
17156 if (num == 0)
17157 {
17158 }
17159 if (num2 == 0)
17160 {
17161 }
17162 return;
17163 }
17164 }
17165 }
17166
17167 // Token: 0x0600203C RID: 8252 RVA: 0x000CAAAC File Offset: 0x000C8CAC
17168 private static void ApplyColorOfTheSkiesToTiles()
17169 {
17170 if (!true)
17171 {
17172 }
17173 }
17174
17175 // Token: 0x0600203D RID: 8253 RVA: 0x000CAAC4 File Offset: 0x000C8CC4
17177 {
17178 if (!true)
17179 {
17180 }
17183 int num = 17026;
17184 if (num == 0)
17185 {
17186 }
17187 if (screenHeight == 0)
17188 {
17189 }
17190 if (num == 0)
17191 {
17192 }
17193 int num2 = 16256;
17194 if (screenHeight == 0)
17195 {
17196 }
17197 bool gameMenu = Main.gameMenu;
17198 if (num2 == 0)
17199 {
17200 }
17201 if (num2 == 0)
17202 {
17203 }
17204 }
17205
17206 // Token: 0x0600203E RID: 8254 RVA: 0x000CAB10 File Offset: 0x000C8D10
17207 private void Debug_PrettifyMap()
17208 {
17209 }
17210
17211 // Token: 0x0600203F RID: 8255 RVA: 0x000CAB20 File Offset: 0x000C8D20
17212 private static void DrawNetplayStatusText()
17213 {
17214 if (!true)
17215 {
17216 }
17218 if (!true)
17219 {
17220 }
17221 }
17222
17223 // Token: 0x06002040 RID: 8256 RVA: 0x000CAB3C File Offset: 0x000C8D3C
17225 {
17226 int num = 1;
17227 if (num == 0)
17228 {
17229 }
17230 if (num != 0)
17231 {
17232 int myPlayer = Main.myPlayer;
17233 int num2 = 1;
17234 if (num2 == 0)
17235 {
17236 }
17237 int value = num2.m_value;
17238 if (!true)
17239 {
17240 }
17241 }
17242 }
17243
17244 // Token: 0x06002041 RID: 8257 RVA: 0x000CAB74 File Offset: 0x000C8D74
17245 private void DrawRainInMenu()
17246 {
17247 int num = 1;
17248 bool active = this._active;
17249 if (num == 0)
17250 {
17251 }
17252 Rain[] rain = Main.rain;
17253 Rain[] rain2 = Main.rain;
17254 if (rain2 == null)
17255 {
17256 }
17257 int alpha = rain2.alpha;
17259 if (rain2 == null)
17260 {
17261 }
17262 float scale = rain2.scale;
17263 int alpha2 = rain2.alpha;
17264 int num2 = 1;
17265 if (num2 == 0)
17266 {
17267 }
17268 int value = num2.m_value;
17269 if (active)
17270 {
17271 }
17272 }
17273
17274 // Token: 0x06002042 RID: 8258 RVA: 0x000CABF0 File Offset: 0x000C8DF0
17276 {
17277 int num = 1;
17278 this.CacheNPCDraws();
17279 this.CacheProjDraws();
17281 int num2 = 1;
17282 this.DrawCachedNPCs(drawCacheNPCsMoonMoon, num2 != 0);
17283 this.DoDraw_WallsAndBlacks();
17284 this.DrawWoF();
17285 this.DrawBackGore();
17286 if (num == 0)
17287 {
17288 }
17290 int num3 = 1;
17291 this.DrawCachedNPCs(drawCacheNPCsBehindNonSolidTiles, num3 != 0);
17292 this.DoDraw_Tiles_NonSolid();
17293 this.DoDraw_Waterfalls();
17294 int myPlayer = Main.myPlayer;
17296 Matrix transform = Main.Transform;
17300 }
17301
17302 // Token: 0x06002043 RID: 8259 RVA: 0x000CACC8 File Offset: 0x000C8EC8
17303 private void DoDraw_Waterfalls()
17304 {
17306 }
17307
17308 // Token: 0x06002044 RID: 8260 RVA: 0x000CACDC File Offset: 0x000C8EDC
17309 private void DoDraw_Tiles_Solid()
17310 {
17311 int num = 1;
17313 if (num == 0)
17314 {
17315 }
17317 Matrix transform = Main.Transform;
17322 }
17323
17324 // Token: 0x06002045 RID: 8261 RVA: 0x000CAD94 File Offset: 0x000C8F94
17326 {
17327 if (!true)
17328 {
17329 }
17331 Matrix transform = Main.Transform;
17332 int num = 1;
17333 if (num != 0)
17334 {
17335 if (num == 0)
17336 {
17337 }
17338 long num2 = 0L;
17340 if (num == 0)
17341 {
17342 }
17343 long num3 = 0L;
17344 long num4 = 0L;
17345 long num5 = 0L;
17346 tilesRenderer.PreDrawTiles(num3 != 0L, num2 != 0L, num4 != 0L);
17348 long num6 = 0L;
17349 long num7 = 0L;
17350 tilesRenderer2.Draw(num6 != 0L, num2 != 0L, num7 != 0L, (int)num5);
17353 return;
17354 }
17356 }
17357
17358 // Token: 0x06002046 RID: 8262 RVA: 0x000CAE78 File Offset: 0x000C9078
17360 {
17361 int num = 1;
17363 int num2 = 1;
17364 this.DrawCachedProjs(drawCacheProjsBehindNPCs, num2 != 0);
17365 if (num == 0)
17366 {
17367 }
17369 Matrix transform = Main.Transform;
17372 long num3 = 0L;
17373 this.DrawNPCs(num3 != 0L);
17375 long num4 = 0L;
17376 this.DrawCachedNPCs(drawCacheNPCProjectiles, num4 != 0L);
17379 }
17380
17381 // Token: 0x06002047 RID: 8263 RVA: 0x000CAEEC File Offset: 0x000C90EC
17383 {
17384 int num = 1;
17386 int num2 = 1;
17387 this.DrawCachedProjs(drawCacheProjsBehindNPCsAndTiles, num2 != 0);
17388 if (num == 0)
17389 {
17390 }
17392 Matrix transform = Main.Transform;
17395 int num3 = 1;
17396 this.DrawNPCs(num3 != 0);
17399 }
17400
17401 // Token: 0x06002048 RID: 8264 RVA: 0x000CAF48 File Offset: 0x000C9148
17402 private void DrawBackGore()
17403 {
17404 if (!true)
17405 {
17406 }
17407 this.DrawGoreBehind();
17408 }
17409
17410 // Token: 0x06002049 RID: 8265 RVA: 0x000CAF68 File Offset: 0x000C9168
17412 {
17413 if (!true)
17414 {
17415 }
17416 if (!true)
17417 {
17418 }
17420 if (!true)
17421 {
17422 }
17424 this.WallsRenderer.DrawWalls();
17426 }
17427
17428 // Token: 0x0600204A RID: 8266 RVA: 0x000CAFD4 File Offset: 0x000C91D4
17430 {
17431 if (!true)
17432 {
17433 }
17434 int num = 17046;
17435 sunColor.R = (byte)num;
17436 sunColor.G = (byte)num;
17437 sunColor.B = (byte)num;
17438 int num2 = 16988;
17439 int num3 = 16908;
17440 sunColor.R = (byte)num3;
17441 sunColor.B = (byte)num3;
17442 sunColor.G = (byte)num2;
17443 }
17444
17445 // Token: 0x0600204B RID: 8267 RVA: 0x000CB348 File Offset: 0x000C9548
17446 public static void GetAreaToLight([Out] int firstTileX, [Out] int lastTileX, [Out] int firstTileY, [Out] int lastTileY)
17447 {
17448 int num = 1;
17449 if (num == 0)
17450 {
17451 }
17454 if (num == 0)
17455 {
17456 }
17458 if (num == 0)
17459 {
17460 }
17463 if (num == 0)
17464 {
17465 }
17466 int num2 = 15744;
17467 int num3 = 32640;
17471 }
17472
17473 // Token: 0x0600204C RID: 8268 RVA: 0x000CB3C0 File Offset: 0x000C95C0
17474 private void DoLightTiles()
17475 {
17476 if (!true)
17477 {
17478 }
17480 Main.flushLighting = false;
17481 if (-2147483648 == 0)
17482 {
17483 }
17485 Main.renderCount = 0;
17486 int num;
17487 int num2;
17488 int num3;
17489 int num4;
17491 }
17492
17493 // Token: 0x0600204D RID: 8269 RVA: 0x000CB40C File Offset: 0x000C960C
17494 private static void ClampScreenPositionToWorld()
17495 {
17496 if (!true)
17497 {
17498 }
17503 Main.screenPosition = vector;
17504 }
17505
17506 // Token: 0x0600204E RID: 8270 RVA: 0x000CB448 File Offset: 0x000C9648
17507 private void DrawBG()
17508 {
17509 if (!true)
17510 {
17511 }
17512 int num = Math.Min(Main.screenHeight, 0);
17515 float num2 = this.scAdj;
17516 }
17517
17518 // Token: 0x0600204F RID: 8271 RVA: 0x000CB5C4 File Offset: 0x000C97C4
17520 {
17521 if (!true)
17522 {
17523 }
17524 int bgStyle = Main.bgStyle;
17525 }
17526
17527 // Token: 0x06002050 RID: 8272 RVA: 0x000CB61C File Offset: 0x000C981C
17529 {
17530 if (!true)
17531 {
17532 }
17533 int bgStyle = Main.bgStyle;
17534 }
17535
17536 // Token: 0x06002051 RID: 8273 RVA: 0x000CB640 File Offset: 0x000C9840
17538 {
17539 if (!true)
17540 {
17541 }
17542 int bgStyle = Main.bgStyle;
17545 int num = 32768;
17550 if (num == 0)
17551 {
17552 }
17553 if (63488 == 0)
17554 {
17555 }
17556 int myPlayer = Main.myPlayer;
17557 return 6;
17558 }
17559
17560 // Token: 0x06002052 RID: 8274 RVA: 0x000CB754 File Offset: 0x000C9954
17561 private void DrawBG_ModifyBGFarBackLayerAlpha(int desiredBG, [Optional] int? desiredBG2, [Optional] float? transitionAmountOverride)
17562 {
17563 if (!true)
17564 {
17565 }
17566 }
17567
17568 // Token: 0x06002053 RID: 8275 RVA: 0x000CB780 File Offset: 0x000C9980
17569 public void DrawInfernoRings()
17570 {
17571 }
17572
17573 // Token: 0x06002054 RID: 8276 RVA: 0x000CB7B4 File Offset: 0x000C99B4
17574 private static void UpdateInvasion()
17575 {
17576 int num = 1;
17577 if (num == 0)
17578 {
17579 }
17580 if (num == 0)
17581 {
17582 }
17583 long num2 = 0L;
17584 NPC.SetEventFlagCleared(true, (int)num2);
17585 if (num == 0)
17586 {
17587 }
17588 bool netHost = Main.NetHost;
17590 }
17591
17592 // Token: 0x06002055 RID: 8277 RVA: 0x000CB854 File Offset: 0x000C9A54
17593 private static void InvasionWarning()
17594 {
17595 int num = 1;
17596 if (num == 0)
17597 {
17598 }
17599 if (num != 0)
17600 {
17602 return;
17603 }
17604 }
17605
17606 // Token: 0x06002056 RID: 8278 RVA: 0x000CB89C File Offset: 0x000C9A9C
17607 public static bool CanStartInvasion(int type = 1, bool ignoreDelay = false)
17608 {
17609 /*
17610An exception occurred when decompiling this method (06002056)
17611
17612ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main::CanStartInvasion(System.Int32,System.Boolean)
17613
17614 ---> System.Exception: Basic block has to end with unconditional control flow.
17615{
17616 Block_1:
17617 brtrue(IL_0000, ldloc:int32[exp:bool](var_0_01))
17618}
17619
17620 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
17621 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
17622 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
17623 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
17624 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
17625 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
17626 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
17627 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
17628 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
17629 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
17630 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
17631 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
17632 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
17633 --- End of inner exception stack trace ---
17634 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
17635 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
17636*/;
17637 }
17638
17639 // Token: 0x06002057 RID: 8279 RVA: 0x000CB8C8 File Offset: 0x000C9AC8
17640 public static void StartInvasion(int type = 1)
17641 {
17642 int num = 1;
17643 if (num == 0)
17644 {
17645 }
17646 if (num == 0)
17647 {
17648 }
17649 if (num != 0)
17650 {
17651 return;
17652 }
17653 if (num == 0)
17654 {
17655 }
17656 if (num != 0)
17657 {
17658 if (num == 0)
17659 {
17660 }
17661 if (num == 0 || num == 0)
17662 {
17663 }
17664 }
17665 if (num == 0)
17666 {
17667 }
17668 }
17669
17670 // Token: 0x06002058 RID: 8280 RVA: 0x000CB918 File Offset: 0x000C9B18
17671 public static void FakeLoadInvasionStart()
17672 {
17673 if (!true)
17674 {
17675 }
17676 }
17677
17678 // Token: 0x06002059 RID: 8281 RVA: 0x000CB930 File Offset: 0x000C9B30
17679 private static void UpdateClient()
17680 {
17681 int num = 1;
17682 if (num == 0)
17683 {
17684 }
17685 int myPlayer = Main.myPlayer;
17686 if (num == 0)
17687 {
17688 }
17689 int num2 = 1;
17690 if (num == 0)
17691 {
17692 }
17693 if (num2 == 0)
17694 {
17695 }
17696 if (num == 0)
17697 {
17698 }
17699 if (num == 0)
17700 {
17701 if (num == 0)
17702 {
17703 }
17704 int myPlayer2 = Main.myPlayer;
17705 if (num2 == 0)
17706 {
17707 }
17708 }
17709 int num3 = 900;
17710 int myPlayer3 = Main.myPlayer;
17711 if (num2 == 0)
17712 {
17713 }
17714 int myPlayer4 = Main.myPlayer;
17715 int myPlayer5 = Main.myPlayer;
17716 bool netHost = Main.NetHost;
17717 if (num2 == 0)
17718 {
17719 }
17720 if (num2 == 0)
17721 {
17722 }
17723 if (num3 != 0 || num3 == 0)
17724 {
17725 }
17726 if (7201 == 0)
17727 {
17728 }
17730 }
17731
17732 // Token: 0x0600205A RID: 8282 RVA: 0x000CB9B8 File Offset: 0x000C9BB8
17733 private static void CheckPlayerItemOwnership()
17734 {
17735 int num = 1;
17736 if (num == 0)
17737 {
17738 }
17739 int myPlayer = Main.myPlayer;
17740 if (num == 0)
17741 {
17742 }
17743 }
17744
17745 // Token: 0x0600205B RID: 8283 RVA: 0x000CB9D8 File Offset: 0x000C9BD8
17746 private static void CheckAssignItemOwnership()
17747 {
17748 if (!true)
17749 {
17750 }
17751 }
17752
17753 // Token: 0x0600205C RID: 8284 RVA: 0x000CB9EC File Offset: 0x000C9BEC
17754 private static void UpdateServer()
17755 {
17756 int num = 1;
17757 if (num == 0)
17758 {
17759 }
17760 if (46021 == 0)
17761 {
17762 if (num == 0)
17763 {
17764 }
17765 if (num == 0)
17766 {
17767 }
17768 }
17769 if (num == 0)
17770 {
17771 }
17772 if (num == 0)
17773 {
17774 }
17775 }
17776
17777 // Token: 0x0600205D RID: 8285 RVA: 0x000CBA3C File Offset: 0x000C9C3C
17778 public static void NewText(string newText, byte R = 255, byte G = 255, byte B = 255)
17779 {
17780 if (!true)
17781 {
17782 }
17783 }
17784
17785 // Token: 0x0600205E RID: 8286 RVA: 0x000CBA50 File Offset: 0x000C9C50
17786 public static void NewTextMultiline(string text, bool force = false, [Optional] Microsoft.Xna.Framework.Graphics.Color c, int WidthLimit = -1)
17787 {
17788 if (!true)
17789 {
17790 }
17791 }
17792
17793 // Token: 0x0600205F RID: 8287 RVA: 0x000CBA64 File Offset: 0x000C9C64
17794 public static void StopRain()
17795 {
17796 if (!true)
17797 {
17798 }
17799 }
17800
17801 // Token: 0x06002060 RID: 8288 RVA: 0x000CBA74 File Offset: 0x000C9C74
17802 public static void StartRain()
17803 {
17804 if (!true)
17805 {
17806 }
17807 int num;
17808 if (num == 0)
17809 {
17810 }
17811 int num2;
17812 if (num2 == 0)
17813 {
17814 }
17815 int num3;
17816 if (num3 == 0)
17817 {
17818 }
17819 int num4;
17820 if (num4 == 0)
17821 {
17822 }
17823 int num5;
17824 if (num5 == 0)
17825 {
17826 }
17827 int num6;
17828 if (num6 == 0)
17829 {
17830 }
17831 Main.ChangeRain();
17832 }
17833
17834 // Token: 0x06002061 RID: 8289 RVA: 0x000CBB08 File Offset: 0x000C9D08
17835 private static void ChangeRain()
17836 {
17837 if (!true)
17838 {
17839 }
17840 if (!true)
17841 {
17842 }
17843 int num;
17844 if (num != 0)
17845 {
17846 return;
17847 }
17848 }
17849
17850 // Token: 0x06002062 RID: 8290 RVA: 0x000CBB2C File Offset: 0x000C9D2C
17851 public static void StartSlimeRain(bool announce = true)
17852 {
17853 }
17854
17855 // Token: 0x06002063 RID: 8291 RVA: 0x000CBB4C File Offset: 0x000C9D4C
17856 public static void StopSlimeRain(bool announce = true)
17857 {
17858 if (!true)
17859 {
17860 }
17861 }
17862
17863 // Token: 0x06002064 RID: 8292 RVA: 0x000CBB64 File Offset: 0x000C9D64
17864 private static void UpdateTime()
17865 {
17867 int num = 30;
17868 if (num == 0 || num == 0)
17869 {
17870 }
17871 if (num == 0 || num == 0)
17872 {
17873 }
17874 bool logicHost = Main.LogicHost;
17875 bool gameMenu = Main.gameMenu;
17876 }
17877
17878 // Token: 0x06002065 RID: 8293 RVA: 0x000CBF10 File Offset: 0x000CA110
17880 {
17881 int num = 1;
17882 if (num == 0)
17883 {
17884 }
17885 if (num == 0)
17886 {
17887 return;
17888 }
17889 if (num == 0)
17890 {
17891 }
17892 if (num == 0)
17893 {
17894 return;
17895 }
17896 }
17897
17898 // Token: 0x06002066 RID: 8294 RVA: 0x000CBF34 File Offset: 0x000CA134
17899 public static void SkipToTime(int timeToSet, bool setIsDayTime)
17900 {
17901 if (!true)
17902 {
17903 }
17904 if (!true)
17905 {
17906 }
17907 if (!true)
17908 {
17909 }
17912 }
17913
17914 // Token: 0x06002067 RID: 8295 RVA: 0x000CBF70 File Offset: 0x000CA170
17916 {
17917 if (!true)
17918 {
17919 }
17920 if (!true)
17921 {
17922 if (!true)
17923 {
17924 }
17925 bool flag = NPC.AnyNPCs(398);
17926 if (!true)
17927 {
17928 }
17929 }
17930 return true;
17931 }
17932
17933 // Token: 0x06002068 RID: 8296 RVA: 0x000CBFA0 File Offset: 0x000CA1A0
17934 public static void UpdateTime_StartNight(bool stopEvents)
17935 {
17936 if (!true)
17937 {
17938 }
17939 int num = 4600;
17940 if (num != 0)
17941 {
17942 if (num == 0)
17943 {
17944 }
17946 }
17948 Star.NightSetup();
17952 int num2;
17953 if (num2 == 0)
17954 {
17955 bool logicHost = Main.LogicHost;
17956 }
17958 int num3 = 1;
17959 stopEvents.m_value = num3 != 0;
17960 if (num3 == 0)
17961 {
17962 }
17963 if (num3 != 0)
17964 {
17965 if (num3 == 0)
17966 {
17967 }
17968 bool logicHost2 = Main.LogicHost;
17970 }
17971 if (num3 == 0)
17972 {
17973 }
17975 if (num3 == 0)
17976 {
17977 }
17978 bool flag = Main.IsFastForwardingTime();
17979 bool logicHost3 = Main.LogicHost;
17980 bool logicHost4 = Main.LogicHost;
17981 int num4;
17982 if (num4 == 0)
17983 {
17984 bool logicHost5 = Main.LogicHost;
17985 return;
17986 }
17987 bool netHost = Main.NetHost;
17988 }
17989
17990 // Token: 0x06002069 RID: 8297 RVA: 0x000CC180 File Offset: 0x000CA380
17991 public static void UpdateTime_StartDay(bool stopEvents)
17992 {
17993 int num = 1;
17994 if (num == 0)
17995 {
17996 }
17998 if (num == 0)
17999 {
18000 }
18005 bool logicHost = Main.LogicHost;
18009 Main.checkXMas();
18012 int num2 = 1;
18013 if (num2 == 0)
18014 {
18015 }
18016 bool logicHost2 = Main.LogicHost;
18017 bool netHost = Main.NetHost;
18018 bool logicHost3 = Main.LogicHost;
18020 int num3;
18021 if (num3 != 0)
18022 {
18023 int num4;
18024 if (num4 != 0)
18025 {
18026 return;
18027 }
18029 int num5;
18030 if (num5 != 0)
18031 {
18032 return;
18033 }
18034 if (num5 == 0)
18035 {
18036 }
18037 int num6;
18038 if (num6 != 0)
18039 {
18040 int num7;
18041 while (num7 != 0)
18042 {
18043 }
18044 }
18046 return;
18047 }
18048 else
18049 {
18050 int num5 = 1;
18052 if (num5 != 0)
18053 {
18054 if (num5 != 0)
18055 {
18056 if (num2 != 0)
18057 {
18058 if (num5 == 0)
18059 {
18060 }
18061 return;
18062 }
18063 }
18064 else if (num5 == 0)
18065 {
18066 }
18067 if (num5 == 0)
18068 {
18069 }
18070 if (num5 == 0)
18071 {
18072 }
18073 return;
18074 }
18075 bool netHost2 = Main.NetHost;
18076 return;
18077 }
18078 }
18079
18080 // Token: 0x0600206A RID: 8298 RVA: 0x000CC2A4 File Offset: 0x000CA4A4
18081 private static void HandleMeteorFall()
18082 {
18083 int num = 1;
18084 if (num == 0)
18085 {
18086 }
18087 bool logicHost = Main.LogicHost;
18088 if (num == 0)
18089 {
18090 }
18091 if (num != 0)
18092 {
18093 int num2;
18094 if (num != 0)
18095 {
18096 num2 = 1;
18097 num.m_value = num2;
18098 return;
18099 }
18100 if (num2 != 0)
18101 {
18102 return;
18103 }
18104 }
18106 }
18107
18108 // Token: 0x0600206B RID: 8299 RVA: 0x000CC2DC File Offset: 0x000CA4DC
18109 private static void UpdateSlimeRainWarning()
18110 {
18111 if (!true)
18112 {
18113 }
18114 }
18115
18116 // Token: 0x0600206C RID: 8300 RVA: 0x000CC314 File Offset: 0x000CA514
18118 {
18119 if (!true)
18120 {
18121 return;
18122 }
18123 }
18124
18125 // Token: 0x0600206D RID: 8301 RVA: 0x000CC328 File Offset: 0x000CA528
18126 private static void UpdateTime_SpawnTownNPCs()
18127 {
18128 if (!true)
18129 {
18130 }
18132 bool logicHost = Main.LogicHost;
18133 }
18134
18135 // Token: 0x0600206E RID: 8302 RVA: 0x000CC5F8 File Offset: 0x000CA7F8
18136 public static int DamageVar(float dmg, float luck = 0f)
18137 {
18138 if (!true)
18139 {
18140 }
18141 int num;
18142 return num;
18143 }
18144
18145 // Token: 0x0600206F RID: 8303 RVA: 0x000021DB File Offset: 0x000003DB
18146 public static double CalculateDamageNPCsTake(int Damage, int Defense)
18147 {
18148 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
18149 }
18150
18151 // Token: 0x06002070 RID: 8304 RVA: 0x000021DB File Offset: 0x000003DB
18152 public static double CalculateDamagePlayersTakeInPVP(int Damage, int Defense)
18153 {
18154 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
18155 }
18156
18157 // Token: 0x06002071 RID: 8305 RVA: 0x000CC610 File Offset: 0x000CA810
18158 public static double CalculateDamagePlayersTake(int Damage, int Defense)
18159 {
18160 /*
18161An exception occurred when decompiling this method (06002071)
18162
18163ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double Terraria.Main::CalculateDamagePlayersTake(System.Int32,System.Int32)
18164
18165 ---> System.Exception: Basic block has to end with unconditional control flow.
18166{
18167 IL_000E:
18168 stloc:bool(var_2_13, callgetter:bool(Main::get_expertMode))
18169}
18170
18171 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
18172 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
18173 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
18174 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
18175 --- End of inner exception stack trace ---
18176 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
18177 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
18178*/;
18179 }
18180
18181 // Token: 0x06002072 RID: 8306 RVA: 0x000CC630 File Offset: 0x000CA830
18182 public void OnTileChangeEvent(int x, int y, int count, TileChangeType eventType)
18183 {
18184 if (!true)
18185 {
18186 }
18187 WorldGen.PlayLiquidChangeSound(eventType, x, y, count);
18188 }
18189
18190 // Token: 0x06002073 RID: 8307 RVA: 0x000CC64C File Offset: 0x000CA84C
18192 {
18193 if (!true)
18194 {
18195 }
18196 }
18197
18198 // Token: 0x06002074 RID: 8308 RVA: 0x000CC65C File Offset: 0x000CA85C
18199 public static void SelectPlayer(PlayerFileData data)
18200 {
18201 int num = 1;
18202 if (num == 0)
18203 {
18204 }
18206 if (num != 0)
18207 {
18208 return;
18209 }
18210 Main.menuMode = 446;
18212 Main.clrInput();
18213 }
18214
18215 // Token: 0x06002075 RID: 8309 RVA: 0x000CC6B8 File Offset: 0x000CA8B8
18216 public static void ToggleFullScreen()
18217 {
18218 if (!true)
18219 {
18220 }
18221 bool flag;
18222 Main.SetFullScreen(flag);
18223 }
18224
18225 // Token: 0x06002076 RID: 8310 RVA: 0x000CC6D0 File Offset: 0x000CA8D0
18226 public static void SetFullScreen(bool fullscreen)
18227 {
18228 if (!true)
18229 {
18230 }
18231 }
18232
18233 // Token: 0x06002077 RID: 8311 RVA: 0x000CC6E0 File Offset: 0x000CA8E0
18234 public static void SetResolution(int width, int height)
18235 {
18236 if (!true)
18237 {
18238 }
18239 }
18240
18241 // Token: 0x06002078 RID: 8312 RVA: 0x000CC6F0 File Offset: 0x000CA8F0
18242 public static void SetDisplayMode(int width, int height, bool fullscreen)
18243 {
18244 int num = 1;
18245 if (num == 0)
18246 {
18247 }
18248 if (num == 0)
18249 {
18250 }
18251 if (!true)
18252 {
18253 }
18255 Viewport viewport = graphicsDevice.Viewport;
18264 Main.mapTime = 0;
18265 Main.renderNow = true;
18266 Main.screenWidth = width;
18267 Main.screenHeight = height;
18271 Main.FixUIScale();
18272 if (height != 0)
18273 {
18276 }
18280 Lighting.Initialize(true);
18281 }
18282
18283 // Token: 0x06002079 RID: 8313 RVA: 0x000CC798 File Offset: 0x000CA998
18284 public static void FixUIScale()
18285 {
18286 if (!true)
18287 {
18288 }
18289 if (!true)
18290 {
18291 }
18292 }
18293
18294 // Token: 0x0600207A RID: 8314 RVA: 0x000CC7AC File Offset: 0x000CA9AC
18295 public void FullscreenStartup()
18296 {
18297 if (!true)
18298 {
18299 }
18300 Preferences configuration = Main.Configuration;
18302 }
18303
18304 // Token: 0x0600207B RID: 8315 RVA: 0x000CC7C8 File Offset: 0x000CA9C8
18306 {
18307 if (!true)
18308 {
18309 }
18310 Main.SetResolution(int.MinValue, 42190744);
18311 }
18312
18313 // Token: 0x0600207C RID: 8316 RVA: 0x000CC7E8 File Offset: 0x000CA9E8
18314 public static void SwitchNetMode(int mode)
18315 {
18316 if (!true)
18317 {
18318 }
18319 }
18320
18321 // Token: 0x0600207D RID: 8317 RVA: 0x000CC7F8 File Offset: 0x000CA9F8
18322 public static void WeGameRequireExitGame()
18323 {
18324 if (!true)
18325 {
18326 }
18327 }
18328
18329 // Token: 0x0600207E RID: 8318 RVA: 0x000CC808 File Offset: 0x000CAA08
18330 // Note: this type is marked as 'beforefieldinit'.
18331 static Main()
18332 {
18333 if (!true)
18334 {
18335 }
18336 if (!true)
18337 {
18338 }
18339 int hashCode = Guid.NewGuid().GetHashCode();
18340 }
18341
18342 // Token: 0x0600207F RID: 8319 RVA: 0x000CCC98 File Offset: 0x000CAE98
18345 {
18347 return true;
18348 }
18349
18350 // Token: 0x06002080 RID: 8320 RVA: 0x000CCCAC File Offset: 0x000CAEAC
18353 {
18355 return true;
18356 }
18357
18358 // Token: 0x06002081 RID: 8321 RVA: 0x000CCCC0 File Offset: 0x000CAEC0
18361 {
18363 return true;
18364 }
18365
18366 // Token: 0x06002082 RID: 8322 RVA: 0x000CCCD4 File Offset: 0x000CAED4
18369 {
18371 return true;
18372 }
18373
18374 // Token: 0x06002083 RID: 8323 RVA: 0x000CCCE8 File Offset: 0x000CAEE8
18377 {
18379 return true;
18380 }
18381
18382 // Token: 0x06002084 RID: 8324 RVA: 0x000CCCFC File Offset: 0x000CAEFC
18385 {
18387 return true;
18388 }
18389
18390 // Token: 0x06002085 RID: 8325 RVA: 0x000CCD10 File Offset: 0x000CAF10
18393 {
18395 return true;
18396 }
18397
18398 // Token: 0x06002086 RID: 8326 RVA: 0x000CCD24 File Offset: 0x000CAF24
18401 {
18403 return true;
18404 }
18405
18406 // Token: 0x06002087 RID: 8327 RVA: 0x000CCD38 File Offset: 0x000CAF38
18409 {
18411 return true;
18412 }
18413
18414 // Token: 0x06002088 RID: 8328 RVA: 0x000CCD4C File Offset: 0x000CAF4C
18417 {
18418 this.GUIChatDraw();
18419 return true;
18420 }
18421
18422 // Token: 0x06002089 RID: 8329 RVA: 0x000CCD60 File Offset: 0x000CAF60
18425 {
18427 return true;
18428 }
18429
18430 // Token: 0x0600208A RID: 8330 RVA: 0x000CCD74 File Offset: 0x000CAF74
18433 {
18435 return true;
18436 }
18437
18438 // Token: 0x0600208B RID: 8331 RVA: 0x000CCD88 File Offset: 0x000CAF88
18441 {
18442 return true;
18443 }
18444
18445 // Token: 0x0600208C RID: 8332 RVA: 0x000CCD98 File Offset: 0x000CAF98
18448 {
18450 return true;
18451 }
18452
18453 // Token: 0x0600208D RID: 8333 RVA: 0x000CCDAC File Offset: 0x000CAFAC
18456 {
18458 return true;
18459 }
18460
18461 // Token: 0x0600208E RID: 8334 RVA: 0x000CCDC0 File Offset: 0x000CAFC0
18464 {
18466 return true;
18467 }
18468
18469 // Token: 0x0600208F RID: 8335 RVA: 0x000CCDD4 File Offset: 0x000CAFD4
18472 {
18473 return true;
18474 }
18475
18476 // Token: 0x040028E9 RID: 10473
18478
18479 // Token: 0x040028EA RID: 10474
18480 public static int CurrentDrawnEntityShader;
18481
18482 // Token: 0x040028EB RID: 10475
18484
18485 // Token: 0x040028EC RID: 10476
18486 public static bool LightingEveryFrame;
18487
18488 // Token: 0x040028ED RID: 10477
18490
18491 // Token: 0x040028EE RID: 10478
18492 public static bool CrouchingEnabled;
18493
18494 // Token: 0x040028EF RID: 10479
18495 public static Main instance;
18496
18497 // Token: 0x040028F0 RID: 10480
18498 public static bool AnnouncementBoxDisabled;
18499
18500 // Token: 0x040028F1 RID: 10481
18501 public static int AnnouncementBoxRange;
18502
18503 // Token: 0x040028F2 RID: 10482
18505
18506 // Token: 0x040028F3 RID: 10483
18507 public static bool drunkWorld;
18508
18509 // Token: 0x040028F4 RID: 10484
18510 public static bool getGoodWorld;
18511
18512 // Token: 0x040028F5 RID: 10485
18514
18515 // Token: 0x040028F6 RID: 10486
18517
18518 // Token: 0x040028F7 RID: 10487
18519 public static PingMapLayer Pings;
18520
18521 // Token: 0x040028F8 RID: 10488
18523
18524 // Token: 0x040028F9 RID: 10489
18526
18527 // Token: 0x040028FA RID: 10490
18529
18530 // Token: 0x040028FB RID: 10491
18531 private static double _lastPingMouseDownTime;
18532
18533 // Token: 0x040028FC RID: 10492
18535
18536 // Token: 0x040028FD RID: 10493
18537 public static bool drawBackGore;
18538
18539 // Token: 0x040028FE RID: 10494
18540 public static ulong LobbyId;
18541
18542 // Token: 0x040028FF RID: 10495
18543 public static bool ServerSideCharacter;
18544
18545 // Token: 0x04002900 RID: 10496
18546 public static string clientUUID;
18547
18548 // Token: 0x04002901 RID: 10497
18549 private static int toolTipDistance;
18550
18551 // Token: 0x04002902 RID: 10498
18552 public static float GlobalTimeWrappedHourly;
18553
18554 // Token: 0x04002903 RID: 10499
18555 public static bool GlobalTimerPaused;
18556
18557 // Token: 0x04002904 RID: 10500
18559
18560 // Token: 0x04002905 RID: 10501
18561 public static ulong TileFrameSeed;
18562
18563 // Token: 0x04002906 RID: 10502
18564 private static ulong _drawCycleCounter;
18565
18566 // Token: 0x04002907 RID: 10503
18567 public static int npcStreamSpeed;
18568
18569 // Token: 0x04002908 RID: 10504
18570 public static bool superFast;
18571
18572 // Token: 0x04002909 RID: 10505
18573 private static float cameraLerp;
18574
18575 // Token: 0x0400290A RID: 10506
18576 private static int cameraLerpTimer;
18577
18578 // Token: 0x0400290B RID: 10507
18579 private static int cameraLerpTimeToggle;
18580
18581 // Token: 0x0400290C RID: 10508
18582 private static bool cameraGamePadLerp;
18583
18584 // Token: 0x0400290D RID: 10509
18585 public static bool[] townNPCCanSpawn;
18586
18587 // Token: 0x0400290E RID: 10510
18588 public static int musicBox2;
18589
18590 // Token: 0x0400290F RID: 10511
18592
18593 // Token: 0x04002910 RID: 10512
18594 public static byte HealthBarDrawSettings;
18595
18596 // Token: 0x04002911 RID: 10513
18597 public static float wFrCounter;
18598
18599 // Token: 0x04002912 RID: 10514
18600 public static float wFrame;
18601
18602 // Token: 0x04002913 RID: 10515
18603 public static float upTimer;
18604
18605 // Token: 0x04002914 RID: 10516
18606 public static float upTimerMax;
18607
18608 // Token: 0x04002915 RID: 10517
18609 public static float upTimerMaxDelay;
18610
18611 // Token: 0x04002916 RID: 10518
18612 public static bool drawDiag;
18613
18614 // Token: 0x04002917 RID: 10519
18615 public static bool drawRelease;
18616
18617 // Token: 0x04002918 RID: 10520
18618 public static bool drawBetterDebug;
18619
18620 // Token: 0x04002919 RID: 10521
18621 public static bool betterDebugRelease;
18622
18623 // Token: 0x0400291A RID: 10522
18624 public static bool drawToScreen;
18625
18626 // Token: 0x0400291B RID: 10523
18627 public static bool targetSet;
18628
18629 // Token: 0x0400291C RID: 10524
18631
18632 // Token: 0x0400291D RID: 10525
18633 public static float essScale;
18634
18635 // Token: 0x0400291E RID: 10526
18636 public static int essDir;
18637
18638 // Token: 0x0400291F RID: 10527
18639 public static float[] cloudBGX;
18640
18641 // Token: 0x04002920 RID: 10528
18642 public static float cloudBGAlpha;
18643
18644 // Token: 0x04002921 RID: 10529
18645 public static float cloudBGActive;
18646
18647 // Token: 0x04002922 RID: 10530
18648 public static int[] cloudBG;
18649
18650 // Token: 0x04002923 RID: 10531
18651 public static int[] treeMntBGSet1;
18652
18653 // Token: 0x04002924 RID: 10532
18654 public static int[] treeMntBGSet2;
18655
18656 // Token: 0x04002925 RID: 10533
18657 public static int[] treeMntBGSet3;
18658
18659 // Token: 0x04002926 RID: 10534
18660 public static int[] treeMntBGSet4;
18661
18662 // Token: 0x04002927 RID: 10535
18663 public static int[] treeBGSet1;
18664
18665 // Token: 0x04002928 RID: 10536
18666 public static int[] treeBGSet2;
18667
18668 // Token: 0x04002929 RID: 10537
18669 public static int[] treeBGSet3;
18670
18671 // Token: 0x0400292A RID: 10538
18672 public static int[] treeBGSet4;
18673
18674 // Token: 0x0400292B RID: 10539
18675 public static int[] corruptBG;
18676
18677 // Token: 0x0400292C RID: 10540
18678 public static int[] jungleBG;
18679
18680 // Token: 0x0400292D RID: 10541
18681 public static int[] snowMntBG;
18682
18683 // Token: 0x0400292E RID: 10542
18684 public static int[] snowBG;
18685
18686 // Token: 0x0400292F RID: 10543
18687 public static int[] hallowBG;
18688
18689 // Token: 0x04002930 RID: 10544
18690 public static int[] crimsonBG;
18691
18692 // Token: 0x04002931 RID: 10545
18693 public static int[] desertBG;
18694
18695 // Token: 0x04002932 RID: 10546
18696 public static int[] mushroomBG;
18697
18698 // Token: 0x04002933 RID: 10547
18699 public static int oceanBG;
18700
18701 // Token: 0x04002934 RID: 10548
18702 public static int[] underworldBG;
18703
18704 // Token: 0x04002935 RID: 10549
18705 public static int[] treeX;
18706
18707 // Token: 0x04002936 RID: 10550
18708 public static int[] treeStyle;
18709
18710 // Token: 0x04002937 RID: 10551
18711 public static int[] caveBackX;
18712
18713 // Token: 0x04002938 RID: 10552
18714 public static int[] caveBackStyle;
18715
18716 // Token: 0x04002939 RID: 10553
18717 public static int iceBackStyle;
18718
18719 // Token: 0x0400293A RID: 10554
18720 public static int hellBackStyle;
18721
18722 // Token: 0x0400293B RID: 10555
18723 public static int jungleBackStyle;
18724
18725 // Token: 0x0400293C RID: 10556
18726 public static string debugWords;
18727
18728 // Token: 0x0400293D RID: 10557
18729 public static bool gamePad;
18730
18731 // Token: 0x0400293E RID: 10558
18732 public static bool xMas;
18733
18734 // Token: 0x0400293F RID: 10559
18735 public static bool halloween;
18736
18737 // Token: 0x04002940 RID: 10560
18738 public static bool forceXMasForToday;
18739
18740 // Token: 0x04002941 RID: 10561
18741 public static bool forceHalloweenForToday;
18742
18743 // Token: 0x04002942 RID: 10562
18744 public static int snowDust;
18745
18746 // Token: 0x04002943 RID: 10563
18747 public static bool changeTheTitle;
18748
18749 // Token: 0x04002944 RID: 10564
18750 public static int keyCount;
18751
18752 // Token: 0x04002945 RID: 10565
18753 public static string[] keyString;
18754
18755 // Token: 0x04002946 RID: 10566
18756 public static int[] keyInt;
18757
18758 // Token: 0x04002947 RID: 10567
18759 public static double UpdateTimeAccumulator;
18760
18761 // Token: 0x04002948 RID: 10568
18762 public static bool drawSkip;
18763
18764 // Token: 0x04002949 RID: 10569
18765 public static int fpsCount;
18766
18767 // Token: 0x0400294A RID: 10570
18768 public static Stopwatch fpsTimer;
18769
18770 // Token: 0x0400294B RID: 10571
18771 public static int dayRate;
18772
18773 // Token: 0x0400294C RID: 10572
18775
18776 // Token: 0x0400294D RID: 10573
18777 public static int maxScreenW;
18778
18779 // Token: 0x0400294E RID: 10574
18780 public static int maxScreenH;
18781
18782 // Token: 0x0400294F RID: 10575
18783 public static int minScreenW;
18784
18785 // Token: 0x04002950 RID: 10576
18786 public static int minScreenH;
18787
18788 // Token: 0x04002951 RID: 10577
18789 public static float iS;
18790
18791 // Token: 0x04002952 RID: 10578
18792 public static int buffScanAreaWidth;
18793
18794 // Token: 0x04002953 RID: 10579
18795 public static int buffScanAreaHeight;
18796
18797 // Token: 0x04002954 RID: 10580
18798 public static float musicPitch;
18799
18800 // Token: 0x04002955 RID: 10581
18801 public static int maxMP;
18802
18803 // Token: 0x04002956 RID: 10582
18804 public static string[] recentWorld;
18805
18806 // Token: 0x04002957 RID: 10583
18807 public static string[] recentIP;
18808
18809 // Token: 0x04002958 RID: 10584
18810 public static int[] recentPort;
18811
18812 // Token: 0x04002959 RID: 10585
18813 public static bool[] recentHardMode;
18814
18815 // Token: 0x0400295A RID: 10586
18816 public static short[] recentGameMode;
18817
18818 // Token: 0x0400295B RID: 10587
18819 public static bool[] recentCrimson;
18820
18821 // Token: 0x0400295C RID: 10588
18822 public static int[] recentSizeX;
18823
18824 // Token: 0x0400295D RID: 10589
18825 public static bool[] recentFavorite;
18826
18827 // Token: 0x0400295E RID: 10590
18828 public static bool shortRender;
18829
18830 // Token: 0x0400295F RID: 10591
18831 public static int ladyBugRainBoost;
18832
18833 // Token: 0x04002960 RID: 10592
18834 public const int BG_STYLES_COUNT = 14;
18835
18836 // Token: 0x04002961 RID: 10593
18837 public static int EquipPage;
18838
18839 // Token: 0x04002962 RID: 10594
18840 public static int EquipPageSelected;
18841
18842 // Token: 0x04002963 RID: 10595
18843 public static int wofNPCIndex;
18844
18845 // Token: 0x04002964 RID: 10596
18846 public static int wofDrawAreaTop;
18847
18848 // Token: 0x04002965 RID: 10597
18849 public static int wofDrawAreaBottom;
18850
18851 // Token: 0x04002966 RID: 10598
18852 public static int wofDrawFrameIndex;
18853
18854 // Token: 0x04002967 RID: 10599
18855 public static int offScreenRange;
18856
18857 // Token: 0x04002968 RID: 10600
18858 public static int maxMapUpdates;
18859
18860 // Token: 0x04002969 RID: 10601
18861 public static int textureMaxWidth;
18862
18863 // Token: 0x0400296A RID: 10602
18864 public static int textureMaxHeight;
18865
18866 // Token: 0x0400296B RID: 10603
18867 public static int mapTargetX;
18868
18869 // Token: 0x0400296C RID: 10604
18870 public static int mapTargetY;
18871
18872 // Token: 0x0400296D RID: 10605
18873 public static bool[,] initMap;
18874
18875 // Token: 0x0400296E RID: 10606
18876 public static float mapMinimapDefaultScale;
18877
18878 // Token: 0x0400296F RID: 10607
18879 private static uint _gameUpdateCount;
18880
18881 // Token: 0x04002970 RID: 10608
18882 public static bool SkipAssemblyLoad;
18883
18884 // Token: 0x04002971 RID: 10609
18886
18887 // Token: 0x04002972 RID: 10610
18889
18890 // Token: 0x04002973 RID: 10611
18891 public static bool craftingHide;
18892
18893 // Token: 0x04002974 RID: 10612
18894 public static bool armorHide;
18895
18896 // Token: 0x04002975 RID: 10613
18897 public static float shimmerAlpha;
18898
18899 // Token: 0x04002976 RID: 10614
18900 public static float shimmerDarken;
18901
18902 // Token: 0x04002977 RID: 10615
18903 public static float shimmerBrightenDelay;
18904
18905 // Token: 0x04002978 RID: 10616
18906 public static float craftingAlpha;
18907
18908 // Token: 0x04002979 RID: 10617
18909 public static float armorAlpha;
18910
18911 // Token: 0x0400297A RID: 10618
18912 public static float[] buffAlpha;
18913
18914 // Token: 0x0400297B RID: 10619
18915 public static bool hardMode;
18916
18917 // Token: 0x0400297C RID: 10620
18919
18920 // Token: 0x0400297D RID: 10621
18922
18923 // Token: 0x0400297E RID: 10622
18925
18926 // Token: 0x0400297F RID: 10623
18928
18929 // Token: 0x04002980 RID: 10624
18931
18932 // Token: 0x04002981 RID: 10625
18933 public static bool maxQ;
18934
18935 // Token: 0x04002982 RID: 10626
18936 public static int DiscoR;
18937
18938 // Token: 0x04002983 RID: 10627
18939 public static int DiscoB;
18940
18941 // Token: 0x04002984 RID: 10628
18942 public static int DiscoG;
18943
18944 // Token: 0x04002985 RID: 10629
18945 public static int teamCooldownLen;
18946
18947 // Token: 0x04002986 RID: 10630
18948 public static bool gamePaused;
18949
18950 // Token: 0x04002987 RID: 10631
18951 public static bool gameInactive;
18952
18953 // Token: 0x04002988 RID: 10632
18954 public static int updatesCountedForFPS;
18955
18956 // Token: 0x04002989 RID: 10633
18957 public static int drawsCountedForFPS;
18958
18959 // Token: 0x0400298A RID: 10634
18960 public static int uCount;
18961
18962 // Token: 0x0400298B RID: 10635
18963 public static int updateRate;
18964
18965 // Token: 0x0400298C RID: 10636
18966 public static int frameRate;
18967
18968 // Token: 0x0400298D RID: 10637
18969 public static bool RGBRelease;
18970
18971 // Token: 0x0400298E RID: 10638
18972 public static bool qRelease;
18973
18974 // Token: 0x0400298F RID: 10639
18975 public static bool netRelease;
18976
18977 // Token: 0x04002990 RID: 10640
18978 public static bool frameRelease;
18979
18980 // Token: 0x04002991 RID: 10641
18981 public static int magmaBGFrame;
18982
18983 // Token: 0x04002992 RID: 10642
18984 public static int magmaBGFrameCounter;
18985
18986 // Token: 0x04002993 RID: 10643
18987 public static int saveTimer;
18988
18989 // Token: 0x04002994 RID: 10644
18990 public static bool autoJoin;
18991
18992 // Token: 0x04002995 RID: 10645
18993 public static bool serverStarting;
18994
18995 // Token: 0x04002996 RID: 10646
18996 public static float leftWorld;
18997
18998 // Token: 0x04002997 RID: 10647
18999 public static float rightWorld;
19000
19001 // Token: 0x04002998 RID: 10648
19002 public static float topWorld;
19003
19004 // Token: 0x04002999 RID: 10649
19005 public static float bottomWorld;
19006
19007 // Token: 0x0400299A RID: 10650
19008 public static int maxTilesX;
19009
19010 // Token: 0x0400299B RID: 10651
19011 public static int maxTilesY;
19012
19013 // Token: 0x0400299C RID: 10652
19014 public static int maxSectionsX;
19015
19016 // Token: 0x0400299D RID: 10653
19017 public static int maxSectionsY;
19018
19019 // Token: 0x0400299E RID: 10654
19020 public static int maxDustToDraw;
19021
19022 // Token: 0x0400299F RID: 10655
19023 public static int maxNetPlayers;
19024
19025 // Token: 0x040029A0 RID: 10656
19026 public static int activePlayerCount;
19027
19028 // Token: 0x040029A1 RID: 10657
19029 public static int maxActivePlayers;
19030
19031 // Token: 0x040029A2 RID: 10658
19032 public static int maxRain;
19033
19034 // Token: 0x040029A3 RID: 10659
19035 public static int slimeWarningTime;
19036
19037 // Token: 0x040029A4 RID: 10660
19038 public static int slimeWarningDelay;
19039
19040 // Token: 0x040029A5 RID: 10661
19041 public static float slimeRainNPCSlots;
19042
19043 // Token: 0x040029A6 RID: 10662
19044 public static bool[] slimeRainNPC;
19045
19046 // Token: 0x040029A7 RID: 10663
19047 public static double slimeRainTime;
19048
19049 // Token: 0x040029A8 RID: 10664
19050 public static bool slimeRain;
19051
19052 // Token: 0x040029A9 RID: 10665
19053 public static int slimeRainKillCount;
19054
19055 // Token: 0x040029AA RID: 10666
19056 public static float cameraX;
19057
19058 // Token: 0x040029AB RID: 10667
19060
19061 // Token: 0x040029AC RID: 10668
19062 public static bool swapMusic;
19063
19064 // Token: 0x040029AD RID: 10669
19065 public static int dungeonX;
19066
19067 // Token: 0x040029AE RID: 10670
19068 public static int dungeonY;
19069
19070 // Token: 0x040029AF RID: 10671
19071 public static Liquid[] liquid;
19072
19073 // Token: 0x040029B0 RID: 10672
19075
19076 // Token: 0x040029B1 RID: 10673
19077 public static bool dedServ;
19078
19079 // Token: 0x040029B2 RID: 10674
19080 public static int spamCount;
19081
19082 // Token: 0x040029B3 RID: 10675
19083 public static int newMusic;
19084
19085 // Token: 0x040029B4 RID: 10676
19086 public static int curMusic;
19087
19088 // Token: 0x040029B5 RID: 10677
19089 public static int dayMusic;
19090
19091 // Token: 0x040029B6 RID: 10678
19092 public static int ugMusic;
19093
19094 // Token: 0x040029B7 RID: 10679
19095 public static bool bannerMouseOver;
19096
19097 // Token: 0x040029B8 RID: 10680
19098 public static string buffString;
19099
19100 // Token: 0x040029B9 RID: 10681
19101 public static string libPath;
19102
19103 // Token: 0x040029BA RID: 10682
19104 public static int lo;
19105
19106 // Token: 0x040029BB RID: 10683
19107 public static int LogoA;
19108
19109 // Token: 0x040029BC RID: 10684
19110 public static int LogoB;
19111
19112 // Token: 0x040029BD RID: 10685
19113 public static bool LogoT;
19114
19115 // Token: 0x040029BE RID: 10686
19116 public static string statusText;
19117
19118 // Token: 0x040029BF RID: 10687
19119 public static string worldName;
19120
19121 // Token: 0x040029C0 RID: 10688
19122 public static int worldID;
19123
19124 // Token: 0x040029C1 RID: 10689
19126
19127 // Token: 0x040029C2 RID: 10690
19128 public static double worldSurface;
19129
19130 // Token: 0x040029C3 RID: 10691
19131 public static double rockLayer;
19132
19133 // Token: 0x040029C4 RID: 10692
19134 public static bool dayTime;
19135
19136 // Token: 0x040029C5 RID: 10693
19137 public static double time;
19138
19139 // Token: 0x040029C6 RID: 10694
19140 public static double timeForVisualEffects;
19141
19142 // Token: 0x040029C7 RID: 10695
19143 public static int moonPhase;
19144
19145 // Token: 0x040029C8 RID: 10696
19146 public static short sunModY;
19147
19148 // Token: 0x040029C9 RID: 10697
19149 public static short moonModY;
19150
19151 // Token: 0x040029CA RID: 10698
19152 public static bool alreadyGrabbingSunOrMoon;
19153
19154 // Token: 0x040029CB RID: 10699
19155 public static bool bloodMoon;
19156
19157 // Token: 0x040029CC RID: 10700
19158 public static bool pumpkinMoon;
19159
19160 // Token: 0x040029CD RID: 10701
19161 public static bool snowMoon;
19162
19163 // Token: 0x040029CE RID: 10702
19164 public static float cloudAlpha;
19165
19166 // Token: 0x040029CF RID: 10703
19167 public static float maxRaining;
19168
19169 // Token: 0x040029D0 RID: 10704
19170 public static float oldMaxRaining;
19171
19172 // Token: 0x040029D1 RID: 10705
19173 public static int rainTime;
19174
19175 // Token: 0x040029D2 RID: 10706
19176 public static bool raining;
19177
19178 // Token: 0x040029D3 RID: 10707
19179 public static bool eclipse;
19180
19181 // Token: 0x040029D4 RID: 10708
19182 public static float eclipseLight;
19183
19184 // Token: 0x040029D5 RID: 10709
19185 public static int checkForSpawns;
19186
19187 // Token: 0x040029D6 RID: 10710
19188 public static int helpText;
19189
19190 // Token: 0x040029D7 RID: 10711
19191 public static int BartenderHelpTextIndex;
19192
19193 // Token: 0x040029D8 RID: 10712
19194 public static float demonTorch;
19195
19196 // Token: 0x040029D9 RID: 10713
19197 public static int demonTorchDir;
19198
19199 // Token: 0x040029DA RID: 10714
19200 public static float martianLight;
19201
19202 // Token: 0x040029DB RID: 10715
19203 public static int martianLightDir;
19204
19205 // Token: 0x040029DC RID: 10716
19206 public static float masterColor;
19207
19208 // Token: 0x040029DD RID: 10717
19209 public static int masterColorDir;
19210
19211 // Token: 0x040029DE RID: 10718
19212 public static int numStars;
19213
19214 // Token: 0x040029DF RID: 10719
19215 public static int weatherCounter;
19216
19217 // Token: 0x040029E0 RID: 10720
19218 public static int numClouds;
19219
19220 // Token: 0x040029E1 RID: 10721
19221 public static int numCloudsTemp;
19222
19223 // Token: 0x040029E2 RID: 10722
19224 public static float windSpeedCurrent;
19225
19226 // Token: 0x040029E3 RID: 10723
19227 public static float windSpeedTarget;
19228
19229 // Token: 0x040029E4 RID: 10724
19230 public static int windCounter;
19231
19232 // Token: 0x040029E5 RID: 10725
19233 public static int extremeWindCounter;
19234
19235 // Token: 0x040029E6 RID: 10726
19236 public static bool windPhysics;
19237
19238 // Token: 0x040029E7 RID: 10727
19239 public static float windPhysicsStrength;
19240
19241 // Token: 0x040029E8 RID: 10728
19242 public static Cloud[] cloud;
19243
19244 // Token: 0x040029E9 RID: 10729
19245 public static bool resetClouds;
19246
19247 // Token: 0x040029EA RID: 10730
19249
19250 // Token: 0x040029EB RID: 10731
19251 public static int fadeCounter;
19252
19253 // Token: 0x040029EC RID: 10732
19254 public static float invAlpha;
19255
19256 // Token: 0x040029ED RID: 10733
19257 public static float invDir;
19258
19259 // Token: 0x040029EE RID: 10734
19260 public static bool allChestStackHover;
19261
19262 // Token: 0x040029EF RID: 10735
19263 public static bool inventorySortMouseOver;
19264
19265 // Token: 0x040029F0 RID: 10736
19266 public static int moonType;
19267
19268 // Token: 0x040029F1 RID: 10737
19269 public static bool UseExperimentalFeatures;
19270
19271 // Token: 0x040029F2 RID: 10738
19272 public static string DefaultSeed;
19273
19274 // Token: 0x040029F3 RID: 10739
19275 public static float[] musicFade;
19276
19277 // Token: 0x040029F4 RID: 10740
19279
19280 // Token: 0x040029F5 RID: 10741
19281 public static bool tilesLoaded;
19282
19283 // Token: 0x040029F6 RID: 10742
19284 public static TileData tile;
19285
19286 // Token: 0x040029F7 RID: 10743
19287 public static Dust[] dust;
19288
19289 // Token: 0x040029F8 RID: 10744
19290 public static Star[] star;
19291
19292 // Token: 0x040029F9 RID: 10745
19293 public static Item[] item;
19294
19295 // Token: 0x040029FA RID: 10746
19297
19298 // Token: 0x040029FB RID: 10747
19299 public static NPC[] npc;
19300
19301 // Token: 0x040029FC RID: 10748
19302 public static Gore[] gore;
19303
19304 // Token: 0x040029FD RID: 10749
19306
19307 // Token: 0x040029FE RID: 10750
19309
19310 // Token: 0x040029FF RID: 10751
19312
19313 // Token: 0x04002A00 RID: 10752
19315
19316 // Token: 0x04002A01 RID: 10753
19317 public static Projectile[] projectile;
19318
19319 // Token: 0x04002A02 RID: 10754
19320 public static int[,] projectileIdentity;
19321
19322 // Token: 0x04002A03 RID: 10755
19323 public static CombatText[] combatText;
19324
19325 // Token: 0x04002A04 RID: 10756
19326 public static Chest[] chest;
19327
19328 // Token: 0x04002A05 RID: 10757
19329 public static Sign[] sign;
19330
19331 // Token: 0x04002A06 RID: 10758
19332 public static int[] itemFrame;
19333
19334 // Token: 0x04002A07 RID: 10759
19335 public static int[] itemFrameCounter;
19336
19337 // Token: 0x04002A08 RID: 10760
19338 public static bool screenMaximized;
19339
19340 // Token: 0x04002A09 RID: 10761
19341 public static bool screenBorderless;
19342
19343 // Token: 0x04002A0A RID: 10762
19345
19346 // Token: 0x04002A0B RID: 10763
19347 public static int teamNamePlateDistance;
19348
19349 // Token: 0x04002A0C RID: 10764
19351
19352 // Token: 0x04002A0D RID: 10765
19354
19355 // Token: 0x04002A0E RID: 10766
19357
19358 // Token: 0x04002A0F RID: 10767
19359 public static object CurrentInputTextTakerOverride;
19360
19361 // Token: 0x04002A10 RID: 10768
19362 public static bool drawingPlayerChat;
19363
19364 // Token: 0x04002A11 RID: 10769
19365 public static bool chatRelease;
19366
19367 // Token: 0x04002A12 RID: 10770
19368 public static string chatText;
19369
19370 // Token: 0x04002A13 RID: 10771
19371 public static bool inputTextEnter;
19372
19373 // Token: 0x04002A14 RID: 10772
19374 public static bool inputTextEscape;
19375
19376 // Token: 0x04002A15 RID: 10773
19377 public static float[] hotbarScale;
19378
19379 // Token: 0x04002A16 RID: 10774
19380 public static byte mouseTextColor;
19381
19382 // Token: 0x04002A17 RID: 10775
19383 public static int mouseTextColorChange;
19384
19385 // Token: 0x04002A18 RID: 10776
19386 public static bool hasFocus;
19387
19388 // Token: 0x04002A19 RID: 10777
19389 public static bool recFastScroll;
19390
19391 // Token: 0x04002A1A RID: 10778
19392 public static bool recBigList;
19393
19394 // Token: 0x04002A1B RID: 10779
19395 public static int recStart;
19396
19397 // Token: 0x04002A1C RID: 10780
19398 public static Recipe[] recipe;
19399
19400 // Token: 0x04002A1D RID: 10781
19401 public static float[] availableRecipeY;
19402
19403 // Token: 0x04002A1E RID: 10782
19404 public static Player[] player;
19405
19406 // Token: 0x04002A1F RID: 10783
19407 public static Player[] playerVisualClone;
19408
19409 // Token: 0x04002A20 RID: 10784
19410 public static bool[] countsAsHostForGameplay;
19411
19412 // Token: 0x04002A21 RID: 10785
19413 public static int[] travelShop;
19414
19415 // Token: 0x04002A22 RID: 10786
19417
19418 // Token: 0x04002A23 RID: 10787
19419 public static int anglerQuest;
19420
19421 // Token: 0x04002A24 RID: 10788
19423
19424 // Token: 0x04002A25 RID: 10789
19426
19427 // Token: 0x04002A26 RID: 10790
19429
19430 // Token: 0x04002A27 RID: 10791
19432
19433 // Token: 0x04002A28 RID: 10792
19435
19436 // Token: 0x04002A29 RID: 10793
19438
19439 // Token: 0x04002A2A RID: 10794
19440 public static ShopHelper ShopHelper;
19441
19442 // Token: 0x04002A2B RID: 10795
19443 public static bool Support4K;
19444
19445 // Token: 0x04002A2C RID: 10796
19446 public static float MinimumZoomComparerX;
19447
19448 // Token: 0x04002A2D RID: 10797
19449 public static float MinimumZoomComparerY;
19450
19451 // Token: 0x04002A2E RID: 10798
19452 public static int LogicCheckScreenWidth;
19453
19454 // Token: 0x04002A2F RID: 10799
19455 public static int LogicCheckScreenHeight;
19456
19457 // Token: 0x04002A30 RID: 10800
19459
19460 // Token: 0x04002A31 RID: 10801
19461 public static float temporaryGUIScaleSlider;
19462
19463 // Token: 0x04002A32 RID: 10802
19465
19466 // Token: 0x04002A33 RID: 10803
19467 public static Item HoverItem;
19468
19469 // Token: 0x04002A34 RID: 10804
19470 private static int backSpaceCount;
19471
19472 // Token: 0x04002A35 RID: 10805
19473 private static float backSpaceRate;
19474
19475 // Token: 0x04002A36 RID: 10806
19476 public static string motd;
19477
19478 // Token: 0x04002A37 RID: 10807
19479 public static bool toggleFullscreen;
19480
19481 // Token: 0x04002A38 RID: 10808
19482 public static int numDisplayModes;
19483
19484 // Token: 0x04002A39 RID: 10809
19485 public static bool menuBGChangedDay;
19486
19487 // Token: 0x04002A3A RID: 10810
19488 public static bool menuBGChangedNight;
19489
19490 // Token: 0x04002A3B RID: 10811
19491 public static bool lockMenuBGChange;
19492
19493 // Token: 0x04002A3C RID: 10812
19495
19496 // Token: 0x04002A3D RID: 10813
19498
19499 // Token: 0x04002A3E RID: 10814
19500 public static string CloudWorldPath;
19501
19502 // Token: 0x04002A3F RID: 10815
19503 private static string _playerPath;
19504
19505 // Token: 0x04002A40 RID: 10816
19506 public static string CloudPlayerPath;
19507
19508 // Token: 0x04002A41 RID: 10817
19509 private static string _oldPlayerPath;
19510
19511 // Token: 0x04002A42 RID: 10818
19512 private static string _oldWorldPath;
19513
19514 // Token: 0x04002A43 RID: 10819
19516
19517 // Token: 0x04002A44 RID: 10820
19519
19520 // Token: 0x04002A45 RID: 10821
19521 public static int PendingResolutionWidth;
19522
19523 // Token: 0x04002A46 RID: 10822
19524 public static int PendingResolutionHeight;
19525
19526 // Token: 0x04002A47 RID: 10823
19527 public static bool PendingBorderlessState;
19528
19529 // Token: 0x04002A48 RID: 10824
19530 public static int invasionType;
19531
19532 // Token: 0x04002A49 RID: 10825
19533 public static double invasionX;
19534
19535 // Token: 0x04002A4A RID: 10826
19536 public static int invasionSize;
19537
19538 // Token: 0x04002A4B RID: 10827
19539 public static int invasionDelay;
19540
19541 // Token: 0x04002A4C RID: 10828
19542 public static int invasionWarn;
19543
19544 // Token: 0x04002A4D RID: 10829
19545 public static int invasionSizeStart;
19546
19547 // Token: 0x04002A4E RID: 10830
19548 public static int invasionProgressIcon;
19549
19550 // Token: 0x04002A4F RID: 10831
19551 public static int invasionProgress;
19552
19553 // Token: 0x04002A50 RID: 10832
19554 public static int invasionProgressMax;
19555
19556 // Token: 0x04002A51 RID: 10833
19557 public static int invasionProgressWave;
19558
19559 // Token: 0x04002A52 RID: 10834
19560 public static int invasionWaveMax;
19561
19562 // Token: 0x04002A53 RID: 10835
19564
19565 // Token: 0x04002A54 RID: 10836
19566 public static float invasionProgressAlpha;
19567
19568 // Token: 0x04002A55 RID: 10837
19570
19571 // Token: 0x04002A56 RID: 10838
19572 public static bool mouseExit;
19573
19574 // Token: 0x04002A57 RID: 10839
19575 public static float exitScale;
19576
19577 // Token: 0x04002A58 RID: 10840
19578 public static bool mouseReforge;
19579
19580 // Token: 0x04002A59 RID: 10841
19581 public static float reforgeScale;
19582
19583 // Token: 0x04002A5A RID: 10842
19584 public static Player clientPlayer;
19585
19586 // Token: 0x04002A5B RID: 10843
19587 public static string getIP;
19588
19589 // Token: 0x04002A5C RID: 10844
19590 public static string getPort;
19591
19592 // Token: 0x04002A5D RID: 10845
19593 public static bool menuMultiplayer;
19594
19595 // Token: 0x04002A5E RID: 10846
19596 public static bool menuServer;
19597
19598 // Token: 0x04002A5F RID: 10847
19599 public static int netMode;
19600
19601 // Token: 0x04002A60 RID: 10848
19602 private static int _targetNetMode;
19603
19604 // Token: 0x04002A61 RID: 10849
19605 private static bool _hasPendingNetmodeChange;
19606
19607 // Token: 0x04002A62 RID: 10850
19608 public static int netPlayCounter;
19609
19610 // Token: 0x04002A63 RID: 10851
19611 public static int lastNPCUpdate;
19612
19613 // Token: 0x04002A64 RID: 10852
19614 public static int lastItemUpdate;
19615
19616 // Token: 0x04002A65 RID: 10853
19617 public static int maxNPCUpdates;
19618
19619 // Token: 0x04002A66 RID: 10854
19620 public static int maxItemUpdates;
19621
19622 // Token: 0x04002A67 RID: 10855
19624
19625 // Token: 0x04002A68 RID: 10856
19627
19628 // Token: 0x04002A69 RID: 10857
19629 public static bool hideUI;
19630
19631 // Token: 0x04002A6A RID: 10858
19632 public static bool releaseUI;
19633
19634 // Token: 0x04002A6B RID: 10859
19635 public static int FrameSkipMode;
19636
19637 // Token: 0x04002A6C RID: 10860
19638 public static bool terrariasFixedTiming;
19639
19640 // Token: 0x04002A6D RID: 10861
19641 private int splashCounter;
19642
19643 // Token: 0x04002A6E RID: 10862
19645
19646 // Token: 0x04002A6F RID: 10863
19648
19649 // Token: 0x04002A70 RID: 10864
19651
19652 // Token: 0x04002A71 RID: 10865
19654
19655 // Token: 0x04002A72 RID: 10866
19656 private static bool shouldSetDefaultUIScale;
19657
19658 // Token: 0x04002A73 RID: 10867
19659 private static float newDefaultUIScale;
19660
19661 // Token: 0x04002A74 RID: 10868
19662 private static bool _target60FPS;
19663
19664 // Token: 0x04002A75 RID: 10869
19665 private static bool startFullscreen;
19666
19667 // Token: 0x04002A76 RID: 10870
19668 public static bool CaptureModeDisabled;
19669
19670 // Token: 0x04002A77 RID: 10871
19671 public static bool unityMouseOver;
19672
19673 // Token: 0x04002A78 RID: 10872
19674 public static bool LocalModeServer;
19675
19676 // Token: 0x04002A79 RID: 10873
19678
19679 // Token: 0x04002A7A RID: 10874
19681
19682 // Token: 0x04002A7B RID: 10875
19684
19685 // Token: 0x04002A7C RID: 10876
19687
19688 // Token: 0x04002A7D RID: 10877
19690
19691 // Token: 0x04002A7E RID: 10878
19692 private static bool? _overrideForExpertMode;
19693
19694 // Token: 0x04002A7F RID: 10879
19695 private static bool? _overrideForMasterMode;
19696
19697 // Token: 0x04002A80 RID: 10880
19698 public static int musicError;
19699
19700 // Token: 0x04002A81 RID: 10881
19701 public static string oldStatusText;
19702
19703 // Token: 0x04002A82 RID: 10882
19704 public static bool localPlayerConnected;
19705
19706 // Token: 0x04002A83 RID: 10883
19707 public static bool autoShutdown;
19708
19709 // Token: 0x04002A84 RID: 10884
19710 public static bool forceServerShutdown;
19711
19712 // Token: 0x04002A85 RID: 10885
19713 public static bool serverBootupInProgress;
19714
19715 // Token: 0x04002A86 RID: 10886
19716 public static int sundialCooldown;
19717
19718 // Token: 0x04002A87 RID: 10887
19719 public static bool fastForwardTimeToDawn;
19720
19721 // Token: 0x04002A88 RID: 10888
19722 public static bool _shouldUseWindyDayMusic;
19723
19724 // Token: 0x04002A89 RID: 10889
19725 public static bool _shouldUseStormMusic;
19726
19727 // Token: 0x04002A8A RID: 10890
19728 public static bool playOldTile;
19729
19730 // Token: 0x04002A8B RID: 10891
19731 public static float ambientWaterfallX;
19732
19733 // Token: 0x04002A8C RID: 10892
19734 public static float ambientWaterfallY;
19735
19736 // Token: 0x04002A8D RID: 10893
19737 public static float ambientWaterfallStrength;
19738
19739 // Token: 0x04002A8E RID: 10894
19740 public static float ambientLavafallX;
19741
19742 // Token: 0x04002A8F RID: 10895
19743 public static float ambientLavafallY;
19744
19745 // Token: 0x04002A90 RID: 10896
19746 public static float ambientLavafallStrength;
19747
19748 // Token: 0x04002A91 RID: 10897
19749 public static float ambientLavaX;
19750
19751 // Token: 0x04002A92 RID: 10898
19752 public static float ambientLavaY;
19753
19754 // Token: 0x04002A93 RID: 10899
19755 public static float ambientLavaStrength;
19756
19757 // Token: 0x04002A94 RID: 10900
19758 public static int ambientCounter;
19759
19760 // Token: 0x04002A95 RID: 10901
19761 private static bool _isWaterfallMusicPlaying;
19762
19763 // Token: 0x04002A96 RID: 10902
19764 private static bool _isLavafallMusicPlaying;
19765
19766 // Token: 0x04002A97 RID: 10903
19768
19769 // Token: 0x04002A98 RID: 10904
19770 public static int ProjectileUpdateLoopIndex;
19771
19772 // Token: 0x04002A99 RID: 10905
19774
19775 // Token: 0x04002A9A RID: 10906
19776 public static int weatherVaneBobframe;
19777
19778 // Token: 0x04002A9B RID: 10907
19780
19781 // Token: 0x04002A9C RID: 10908
19782 private static int _openedFrame;
19783
19784 // Token: 0x04002A9D RID: 10909
19785 private static int _maxCharaceters;
19786
19787 // Token: 0x04002A9E RID: 10910
19788 public static int selectedPlayer;
19789
19790 // Token: 0x04002A9F RID: 10911
19791 public static int selectedWorld;
19792
19793 // Token: 0x04002AA0 RID: 10912
19794 public static string newWorldName;
19795
19796 // Token: 0x04002AA1 RID: 10913
19797 private static int[] specX;
19798
19799 // Token: 0x04002AA2 RID: 10914
19800 private static int[] specY;
19801
19802 // Token: 0x04002AA3 RID: 10915
19804
19805 // Token: 0x04002AA4 RID: 10916
19806 private static bool hidePVPIcons;
19807
19808 // Token: 0x04002AA5 RID: 10917
19809 public static string hoverItemName;
19810
19811 // Token: 0x04002AA6 RID: 10918
19813
19814 // Token: 0x04002AA7 RID: 10919
19815 public static bool mouseText;
19816
19817 // Token: 0x04002AA8 RID: 10920
19818 public static int mH;
19819
19820 // Token: 0x04002AA9 RID: 10921
19821 private static int lastMouseDrawItem;
19822
19823 // Token: 0x04002AAA RID: 10922
19824 private static int lastMouseDrawXOffset;
19825
19826 // Token: 0x04002AAB RID: 10923
19827 public static int focusColor;
19828
19829 // Token: 0x04002AAC RID: 10924
19830 public static int colorDelay;
19831
19832 // Token: 0x04002AAD RID: 10925
19833 public static int setKey;
19834
19835 // Token: 0x04002AAE RID: 10926
19836 public static bool autoPass;
19837
19838 // Token: 0x04002AAF RID: 10927
19839 public static int menuFocus;
19840
19841 // Token: 0x04002AB0 RID: 10928
19842 public static bool blockMouse;
19843
19844 // Token: 0x04002AB1 RID: 10929
19845 public static float MenuXMovement;
19846
19847 // Token: 0x04002AB2 RID: 10930
19848 public static float MapScale;
19849
19850 // Token: 0x04002AB3 RID: 10931
19851 public static bool cancelWormHole;
19852
19853 // Token: 0x04002AB4 RID: 10932
19854 public static float lightning;
19855
19856 // Token: 0x04002AB5 RID: 10933
19857 private static float lightningDecay;
19858
19859 // Token: 0x04002AB6 RID: 10934
19860 private static float lightningSpeed;
19861
19862 // Token: 0x04002AB7 RID: 10935
19863 private static int thunderDelay;
19864
19865 // Token: 0x04002AB8 RID: 10936
19866 public static int thunderDistance;
19867
19868 // Token: 0x04002AB9 RID: 10937
19870
19871 // Token: 0x04002ABA RID: 10938
19872 public static float atmo;
19873
19874 // Token: 0x04002ABB RID: 10939
19875 private static float bgScale;
19876
19877 // Token: 0x04002ABC RID: 10940
19878 private static int bgWidthScaled;
19879
19880 // Token: 0x04002ABD RID: 10941
19882
19883 // Token: 0x04002ABE RID: 10942
19885
19886 // Token: 0x04002ABF RID: 10943
19888
19889 // Token: 0x04002AC0 RID: 10944
19890 private static string _oldNetplayStatusText;
19891
19892 // Token: 0x04002AC1 RID: 10945
19894
19895 // Token: 0x04002AC2 RID: 10946
19896 private static bool _canShowMeteorFall;
19897
19898 // Token: 0x04002AC3 RID: 10947
19899 private const string versionStringBecauseTheyreTheSame = "v1.4.4.9";
19900
19901 // Token: 0x04002AC4 RID: 10948
19902 public const int curRelease = 279;
19903
19904 // Token: 0x04002AC5 RID: 10949
19906
19907 // Token: 0x04002AC6 RID: 10950
19908 public const string assemblyVersionNumber = "1.4.4.9";
19909
19910 // Token: 0x04002AC7 RID: 10951
19911 public const string copyrightText = "Copyright © 2022 Re-Logic";
19912
19913 // Token: 0x04002AC8 RID: 10952
19914 public const ulong WorldGeneratorVersion = 1198295875585UL;
19915
19916 // Token: 0x04002AC9 RID: 10953
19918
19919 // Token: 0x04002ACA RID: 10954
19921
19922 // Token: 0x04002ACB RID: 10955
19923 public const string TerrariaSaveFolderPath = "Terraria";
19924
19925 // Token: 0x04002ACC RID: 10956
19927
19928 // Token: 0x04002ACD RID: 10957
19929 private bool _musicLoaded;
19930
19931 // Token: 0x04002ACE RID: 10958
19932 private bool _artLoaded;
19933
19934 // Token: 0x04002ACF RID: 10959
19936
19937 // Token: 0x04002AD0 RID: 10960
19939 private static bool <CanUpdateGameplay>k__BackingField;
19940
19941 // Token: 0x04002AD1 RID: 10961
19942 private static bool GameAskedToQuit;
19943
19944 // Token: 0x04002AD2 RID: 10962
19945 public static float ForcedMinimumZoom;
19946
19947 // Token: 0x04002AD3 RID: 10963
19949
19950 // Token: 0x04002AD4 RID: 10964
19952
19953 // Token: 0x04002AD5 RID: 10965
19955
19956 // Token: 0x04002AD6 RID: 10966
19957 private static Matrix _uiScaleMatrix;
19958
19959 // Token: 0x04002AD7 RID: 10967
19960 private static float _uiScaleWanted;
19961
19962 // Token: 0x04002AD8 RID: 10968
19963 private static float _uiScaleUsed;
19964
19965 // Token: 0x04002AD9 RID: 10969
19966 public static float GameZoomTarget;
19967
19968 // Token: 0x04002ADA RID: 10970
19969 public static bool InvisibleCursorForGamepad;
19970
19971 // Token: 0x04002ADB RID: 10971
19973
19974 // Token: 0x04002ADC RID: 10972
19976
19977 // Token: 0x04002ADD RID: 10973
19979
19980 // Token: 0x04002ADE RID: 10974
19981 public static string versionNumber;
19982
19983 // Token: 0x04002ADF RID: 10975
19984 public static string versionNumber2;
19985
19986 // Token: 0x04002AE0 RID: 10976
19987 public static string AutogenSeedName;
19988
19989 // Token: 0x04002AE1 RID: 10977
19991
19992 // Token: 0x04002AE2 RID: 10978
19993 public static bool tenthAnniversaryWorld;
19994
19995 // Token: 0x04002AE3 RID: 10979
19996 public static bool dontStarveWorld;
19997
19998 // Token: 0x04002AE4 RID: 10980
19999 public static bool notTheBeesWorld;
20000
20001 // Token: 0x04002AE5 RID: 10981
20002 public static bool remixWorld;
20003
20004 // Token: 0x04002AE6 RID: 10982
20005 public static bool noTrapsWorld;
20006
20007 // Token: 0x04002AE7 RID: 10983
20008 public static bool zenithWorld;
20009
20010 // Token: 0x04002AE8 RID: 10984
20012
20013 // Token: 0x04002AE9 RID: 10985
20014 public static UserInterface MenuUI;
20015
20016 // Token: 0x04002AEA RID: 10986
20018
20019 // Token: 0x04002AEB RID: 10987
20020 public static bool ContentLoaded;
20021
20022 // Token: 0x04002AEC RID: 10988
20024 private static ulong <UnpausedUpdateSeed>k__BackingField;
20025
20026 // Token: 0x04002AED RID: 10989
20028
20029 // Token: 0x04002AEE RID: 10990
20031
20032 // Token: 0x04002AEF RID: 10991
20034
20035 // Token: 0x04002AF0 RID: 10992
20037
20038 // Token: 0x04002AF1 RID: 10993
20040
20041 // Token: 0x04002AF2 RID: 10994
20043
20044 // Token: 0x04002AF3 RID: 10995
20045 public static bool dedServFPS;
20046
20047 // Token: 0x04002AF4 RID: 10996
20048 public static int dedServCount1;
20049
20050 // Token: 0x04002AF5 RID: 10997
20051 public static int dedServCount2;
20052
20053 // Token: 0x04002AF6 RID: 10998
20055
20056 // Token: 0x04002AF7 RID: 10999
20057 public const int maxMusic = 92;
20058
20059 // Token: 0x04002AF8 RID: 11000
20060 public const int MaxBannerTypes = 290;
20061
20062 // Token: 0x04002AF9 RID: 11001
20063 public static readonly int maxBackgrounds;
20064
20065 // Token: 0x04002AFA RID: 11002
20066 public const int MaxShopIDs = 100;
20067
20068 // Token: 0x04002AFB RID: 11003
20070
20071 // Token: 0x04002AFC RID: 11004
20073
20074 // Token: 0x04002AFD RID: 11005
20076
20077 // Token: 0x04002AFE RID: 11006
20079
20080 // Token: 0x04002AFF RID: 11007
20081 public static bool noWindowBorder;
20082
20083 // Token: 0x04002B00 RID: 11008
20085
20086 // Token: 0x04002B01 RID: 11009
20087 private string _cachedTitle;
20088
20089 // Token: 0x04002B02 RID: 11010
20090 public static bool skipMenu;
20091
20092 // Token: 0x04002B03 RID: 11011
20093 public static bool verboseNetplay;
20094
20095 // Token: 0x04002B04 RID: 11012
20096 public static bool stopTimeOuts;
20097
20098 // Token: 0x04002B05 RID: 11013
20099 public static bool showSpam;
20100
20101 // Token: 0x04002B06 RID: 11014
20102 public static bool showItemOwner;
20103
20104 // Token: 0x04002B07 RID: 11015
20105 public static bool runningCollectorsEdition;
20106
20107 // Token: 0x04002B08 RID: 11016
20108 public static bool shouldDrawNetDiagnosticsUI;
20109
20110 // Token: 0x04002B09 RID: 11017
20112
20113 // Token: 0x04002B0A RID: 11018
20115
20116 // Token: 0x04002B0B RID: 11019
20117 public bool gammaTest;
20118
20119 // Token: 0x04002B0C RID: 11020
20120 private const bool USE_ASYNC_LOAD = true;
20121
20122 // Token: 0x04002B0D RID: 11021
20123 public static bool _isAsyncLoadComplete;
20124
20125 // Token: 0x04002B0E RID: 11022
20126 public static bool showSplash;
20127
20128 // Token: 0x04002B0F RID: 11023
20129 public static bool ignoreErrors;
20130
20131 // Token: 0x04002B10 RID: 11024
20132 public static string defaultIP;
20133
20134 // Token: 0x04002B11 RID: 11025
20135 public static int defaultPort;
20136
20137 // Token: 0x04002B12 RID: 11026
20138 public static bool[] projHostile;
20139
20140 // Token: 0x04002B13 RID: 11027
20141 public static bool[] projHook;
20142
20143 // Token: 0x04002B14 RID: 11028
20144 public static bool[] pvpBuff;
20145
20146 // Token: 0x04002B15 RID: 11029
20147 public static bool[] persistentBuff;
20148
20149 // Token: 0x04002B16 RID: 11030
20150 public static bool[] vanityPet;
20151
20152 // Token: 0x04002B17 RID: 11031
20153 public static bool[] lightPet;
20154
20155 // Token: 0x04002B18 RID: 11032
20156 public static bool[] meleeBuff;
20157
20158 // Token: 0x04002B19 RID: 11033
20159 public static bool[] debuff;
20160
20161 // Token: 0x04002B1A RID: 11034
20162 public static bool[] buffNoSave;
20163
20164 // Token: 0x04002B1B RID: 11035
20165 public static bool[] buffNoTimeDisplay;
20166
20167 // Token: 0x04002B1C RID: 11036
20168 public static bool[] buffDoubleApply;
20169
20170 // Token: 0x04002B1D RID: 11037
20172
20173 // Token: 0x04002B1E RID: 11038
20175
20176 // Token: 0x04002B1F RID: 11039
20178
20179 // Token: 0x04002B20 RID: 11040
20181
20182 // Token: 0x04002B21 RID: 11041
20184
20185 // Token: 0x04002B22 RID: 11042
20187
20188 // Token: 0x04002B23 RID: 11043
20190
20191 // Token: 0x04002B24 RID: 11044
20193
20194 // Token: 0x04002B25 RID: 11045
20196
20197 // Token: 0x04002B26 RID: 11046
20199
20200 // Token: 0x04002B27 RID: 11047
20202
20203 // Token: 0x04002B28 RID: 11048
20204 public static bool[,] mapWasContentLost;
20205
20206 // Token: 0x04002B29 RID: 11049
20207 public const int numInfoIcons = 13;
20208
20209 // Token: 0x04002B2A RID: 11050
20211
20212 // Token: 0x04002B2B RID: 11051
20214 private static Action OnEnginePreload;
20215
20216 // Token: 0x04002B2C RID: 11052
20217 private static bool IsEnginePreloaded;
20218
20219 // Token: 0x04002B2D RID: 11053
20222
20223 // Token: 0x04002B2E RID: 11054
20225 private static Action OnEngineLoad;
20226
20227 // Token: 0x04002B2F RID: 11055
20228 private static bool IsEngineLoaded;
20229
20230 // Token: 0x04002B30 RID: 11056
20233
20234 // Token: 0x04002B31 RID: 11057
20236 private static Action OnTickForInternalCodeOnly;
20237
20238 // Token: 0x04002B32 RID: 11058
20240 private static Action<GameTime> OnPreDraw;
20241
20242 // Token: 0x04002B33 RID: 11059
20244 private static Action<GameTime> OnPostDraw;
20245
20246 // Token: 0x04002B34 RID: 11060
20249
20250 // Token: 0x04002B35 RID: 11061
20252 private static Action OnRenderTargetsReleased;
20253
20254 // Token: 0x04002B36 RID: 11062
20257
20258 // Token: 0x04002B37 RID: 11063
20259 private double bgParallax;
20260
20261 // Token: 0x04002B38 RID: 11064
20262 private int bgStartX;
20263
20264 // Token: 0x04002B39 RID: 11065
20265 private int bgLoops;
20266
20267 // Token: 0x04002B3A RID: 11066
20268 private int bgStartY;
20269
20270 // Token: 0x04002B3B RID: 11067
20271 private int bgLoopsY;
20272
20273 // Token: 0x04002B3C RID: 11068
20274 private int bgTopY;
20275
20276 // Token: 0x04002B3D RID: 11069
20277 private const int MF_BYPOSITION = 1024;
20278
20279 // Token: 0x04002B3E RID: 11070
20281
20282 // Token: 0x04002B3F RID: 11071
20284
20285 // Token: 0x04002B40 RID: 11072
20287
20288 // Token: 0x04002B41 RID: 11073
20289 public static TileBatch tileBatch;
20290
20291 // Token: 0x04002B42 RID: 11074
20293
20294 // Token: 0x04002B43 RID: 11075
20296
20297 // Token: 0x04002B44 RID: 11076
20299
20300 // Token: 0x04002B45 RID: 11077
20301 private static Process tServer;
20302
20303 // Token: 0x04002B46 RID: 11078
20305
20306 // Token: 0x04002B47 RID: 11079
20308
20309 // Token: 0x04002B48 RID: 11080
20311
20312 // Token: 0x04002B49 RID: 11081
20314
20315 // Token: 0x04002B4A RID: 11082
20317
20318 // Token: 0x04002B4B RID: 11083
20320
20321 // Token: 0x04002B4C RID: 11084
20322 public static bool afterPartyOfDoom;
20323
20324 // Token: 0x04002B4D RID: 11085
20325 public float chestLootScale;
20326
20327 // Token: 0x04002B4E RID: 11086
20328 public bool chestLootHover;
20329
20330 // Token: 0x04002B4F RID: 11087
20331 public float chestStackScale;
20332
20333 // Token: 0x04002B50 RID: 11088
20334 public bool chestStackHover;
20335
20336 // Token: 0x04002B51 RID: 11089
20337 public float chestDepositScale;
20338
20339 // Token: 0x04002B52 RID: 11090
20341
20342 // Token: 0x04002B53 RID: 11091
20343 public float chestRenameScale;
20344
20345 // Token: 0x04002B54 RID: 11092
20346 public bool chestRenameHover;
20347
20348 // Token: 0x04002B55 RID: 11093
20349 public float chestCancelScale;
20350
20351 // Token: 0x04002B56 RID: 11094
20352 public bool chestCancelHover;
20353
20354 // Token: 0x04002B57 RID: 11095
20355 public int DiscoStyle;
20356
20357 // Token: 0x04002B58 RID: 11096
20358 public const int sectionWidth = 200;
20359
20360 // Token: 0x04002B59 RID: 11097
20361 public const int sectionHeight = 150;
20362
20363 // Token: 0x04002B5A RID: 11098
20364 public const int maxDust = 6000;
20365
20366 // Token: 0x04002B5B RID: 11099
20367 public const int maxCombatText = 100;
20368
20369 // Token: 0x04002B5C RID: 11100
20370 public const int maxItemText = 20;
20371
20372 // Token: 0x04002B5D RID: 11101
20373 public const int maxPlayers = 255;
20374
20375 // Token: 0x04002B5E RID: 11102
20376 public const int maxChests = 8000;
20377
20378 // Token: 0x04002B5F RID: 11103
20379 public const int maxItems = 400;
20380
20381 // Token: 0x04002B60 RID: 11104
20382 public const int maxProjectiles = 1000;
20383
20384 // Token: 0x04002B61 RID: 11105
20385 public const int maxNPCs = 200;
20386
20387 // Token: 0x04002B62 RID: 11106
20388 private const double slimeRainMaxTime = 54000.0;
20389
20390 // Token: 0x04002B63 RID: 11107
20391 private const double slimeRainMinTime = 32400.0;
20392
20393 // Token: 0x04002B64 RID: 11108
20394 private const double slimeRainMaxDelay = 604800.0;
20395
20396 // Token: 0x04002B65 RID: 11109
20397 private const double slimeRainMinDelay = 302400.0;
20398
20399 // Token: 0x04002B66 RID: 11110
20400 private const double LeinforsBalanceRequestForSlimeRainChance = 1.0416666666666667;
20401
20402 // Token: 0x04002B67 RID: 11111
20403 private const double slimeRainChance = 450000.00000000006;
20404
20405 // Token: 0x04002B68 RID: 11112
20406 public const int maxGore = 600;
20407
20408 // Token: 0x04002B69 RID: 11113
20409 public const int InventoryItemSlotsStart = 0;
20410
20411 // Token: 0x04002B6A RID: 11114
20412 public const int InventoryItemSlotsCount = 50;
20413
20414 // Token: 0x04002B6B RID: 11115
20415 public const int InventoryCoinSlotsStart = 50;
20416
20417 // Token: 0x04002B6C RID: 11116
20418 public const int InventoryCoinSlotsCount = 4;
20419
20420 // Token: 0x04002B6D RID: 11117
20421 public const int InventoryAmmoSlotsStart = 54;
20422
20423 // Token: 0x04002B6E RID: 11118
20424 public const int InventoryAmmoSlotsCount = 4;
20425
20426 // Token: 0x04002B6F RID: 11119
20427 public const int InventorySlotsTotal = 58;
20428
20429 // Token: 0x04002B70 RID: 11120
20430 public int invBottom;
20431
20432 // Token: 0x04002B71 RID: 11121
20433 public const int maxLiquidTypes = 15;
20434
20435 // Token: 0x04002B72 RID: 11122
20436 public static bool useBackupFiles;
20437
20438 // Token: 0x04002B73 RID: 11123
20439 public static bool validateSaves;
20440
20441 // Token: 0x04002B74 RID: 11124
20443
20444 // Token: 0x04002B75 RID: 11125
20445 public const double dayLength = 54000.0;
20446
20447 // Token: 0x04002B76 RID: 11126
20448 public const double nightLength = 32400.0;
20449
20450 // Token: 0x04002B77 RID: 11127
20451 public static bool autoGen;
20452
20453 // Token: 0x04002B78 RID: 11128
20454 public static int[] projFrames;
20455
20456 // Token: 0x04002B79 RID: 11129
20457 public static bool[] projPet;
20458
20459 // Token: 0x04002B7A RID: 11130
20460 public const int maxStars = 400;
20461
20462 // Token: 0x04002B7B RID: 11131
20463 public const int maxStarTypes = 4;
20464
20465 // Token: 0x04002B7C RID: 11132
20466 public const int maxClouds = 200;
20467
20468 // Token: 0x04002B7D RID: 11133
20469 [ThreadStatic]
20470 public static UnifiedRandom rand;
20471
20472 // Token: 0x04002B7E RID: 11134
20473 public const int maxMoons = 9;
20474
20475 // Token: 0x04002B7F RID: 11135
20476 public const int numTileColors = 32;
20477
20478 // Token: 0x04002B80 RID: 11136
20479 public const int numTreeStyles = 32;
20480
20481 // Token: 0x04002B81 RID: 11137
20482 public const int numberOfHairstyles = 165;
20483
20484 // Token: 0x04002B82 RID: 11138
20485 public const int maxHairStyles = 165;
20486
20487 // Token: 0x04002B83 RID: 11139
20488 public const int maxCharSelectHair = 51;
20489
20490 // Token: 0x04002B84 RID: 11140
20491 public const int maxHairOfStylistDefault = 123;
20492
20493 // Token: 0x04002B85 RID: 11141
20495
20496 // Token: 0x04002B86 RID: 11142
20497 public static bool[] musicNoCrossFade;
20498
20499 // Token: 0x04002B87 RID: 11143
20501
20502 // Token: 0x04002B88 RID: 11144
20503 public static bool[] tileLighted;
20504
20505 // Token: 0x04002B89 RID: 11145
20506 public static bool[] tileMergeDirt;
20507
20508 // Token: 0x04002B8A RID: 11146
20509 public static bool[] tileCut;
20510
20511 // Token: 0x04002B8B RID: 11147
20512 public static bool[] tileAlch;
20513
20514 // Token: 0x04002B8C RID: 11148
20515 public static int[] tileShine;
20516
20517 // Token: 0x04002B8D RID: 11149
20518 public static bool[] tileShine2;
20519
20520 // Token: 0x04002B8E RID: 11150
20521 public static bool[] wallHouse;
20522
20523 // Token: 0x04002B8F RID: 11151
20524 public static bool[] wallDungeon;
20525
20526 // Token: 0x04002B90 RID: 11152
20527 public static bool[] wallLight;
20528
20529 // Token: 0x04002B91 RID: 11153
20530 public static bool[] wallLighted;
20531
20532 // Token: 0x04002B92 RID: 11154
20533 public static int[] wallBlend;
20534
20535 // Token: 0x04002B93 RID: 11155
20536 public static bool[] tileStone;
20537
20538 // Token: 0x04002B94 RID: 11156
20539 public static bool[] tileAxe;
20540
20541 // Token: 0x04002B95 RID: 11157
20542 public static bool[] tileHammer;
20543
20544 // Token: 0x04002B96 RID: 11158
20545 public static bool[] tileWaterDeath;
20546
20547 // Token: 0x04002B97 RID: 11159
20548 public static bool[] tileLavaDeath;
20549
20550 // Token: 0x04002B98 RID: 11160
20551 public static bool[] tileTable;
20552
20553 // Token: 0x04002B99 RID: 11161
20554 public static bool[] tileBlockLight;
20555
20556 // Token: 0x04002B9A RID: 11162
20557 public static bool[] tileNoSunLight;
20558
20559 // Token: 0x04002B9B RID: 11163
20560 public static bool[] tileDungeon;
20561
20562 // Token: 0x04002B9C RID: 11164
20563 public static bool[] tileSpelunker;
20564
20565 // Token: 0x04002B9D RID: 11165
20566 public static bool[] tileSolidTop;
20567
20568 // Token: 0x04002B9E RID: 11166
20569 public static bool[] tileSolid;
20570
20571 // Token: 0x04002B9F RID: 11167
20572 public static bool[] tileBouncy;
20573
20574 // Token: 0x04002BA0 RID: 11168
20575 public static short[] tileOreFinderPriority;
20576
20577 // Token: 0x04002BA1 RID: 11169
20578 public static byte[] tileLargeFrames;
20579
20580 // Token: 0x04002BA2 RID: 11170
20581 public static byte[] wallLargeFrames;
20582
20583 // Token: 0x04002BA3 RID: 11171
20584 public static bool[] tileRope;
20585
20586 // Token: 0x04002BA4 RID: 11172
20587 public static bool[] tileBrick;
20588
20589 // Token: 0x04002BA5 RID: 11173
20590 public static bool[] tileMoss;
20591
20592 // Token: 0x04002BA6 RID: 11174
20593 public static bool[] tileNoAttach;
20594
20595 // Token: 0x04002BA7 RID: 11175
20596 public static bool[] tileNoFail;
20597
20598 // Token: 0x04002BA8 RID: 11176
20599 public static bool[] tileCracked;
20600
20601 // Token: 0x04002BA9 RID: 11177
20602 public static bool[] tileObsidianKill;
20603
20604 // Token: 0x04002BAA RID: 11178
20605 public static bool[] tileFrameImportant;
20606
20607 // Token: 0x04002BAB RID: 11179
20608 public static bool[] tilePile;
20609
20610 // Token: 0x04002BAC RID: 11180
20611 public static bool[] tileBlendAll;
20612
20613 // Token: 0x04002BAD RID: 11181
20614 public static short[] tileGlowMask;
20615
20616 // Token: 0x04002BAE RID: 11182
20617 public static bool[] tileContainer;
20618
20619 // Token: 0x04002BAF RID: 11183
20620 public static bool[] tileSign;
20621
20622 // Token: 0x04002BB0 RID: 11184
20623 public static bool[][] tileMerge;
20624
20625 // Token: 0x04002BB1 RID: 11185
20626 public static int cageFrames;
20627
20628 // Token: 0x04002BB2 RID: 11186
20629 public static bool critterCage;
20630
20631 // Token: 0x04002BB3 RID: 11187
20632 public static int[] bunnyCageFrame;
20633
20634 // Token: 0x04002BB4 RID: 11188
20635 public static int[] bunnyCageFrameCounter;
20636
20637 // Token: 0x04002BB5 RID: 11189
20638 public static int[] squirrelCageFrame;
20639
20640 // Token: 0x04002BB6 RID: 11190
20641 public static int[] squirrelCageFrameCounter;
20642
20643 // Token: 0x04002BB7 RID: 11191
20644 public static int[] squirrelCageFrameOrange;
20645
20646 // Token: 0x04002BB8 RID: 11192
20648
20649 // Token: 0x04002BB9 RID: 11193
20650 public static int[] mallardCageFrame;
20651
20652 // Token: 0x04002BBA RID: 11194
20653 public static int[] mallardCageFrameCounter;
20654
20655 // Token: 0x04002BBB RID: 11195
20656 public static int[] duckCageFrame;
20657
20658 // Token: 0x04002BBC RID: 11196
20659 public static int[] duckCageFrameCounter;
20660
20661 // Token: 0x04002BBD RID: 11197
20662 public static int[] grebeCageFrame;
20663
20664 // Token: 0x04002BBE RID: 11198
20665 public static int[] grebeCageFrameCounter;
20666
20667 // Token: 0x04002BBF RID: 11199
20668 public static int[] seagullCageFrame;
20669
20670 // Token: 0x04002BC0 RID: 11200
20671 public static int[] seagullCageFrameCounter;
20672
20673 // Token: 0x04002BC1 RID: 11201
20674 public static int[] birdCageFrame;
20675
20676 // Token: 0x04002BC2 RID: 11202
20677 public static int[] birdCageFrameCounter;
20678
20679 // Token: 0x04002BC3 RID: 11203
20680 public static int[] redBirdCageFrame;
20681
20682 // Token: 0x04002BC4 RID: 11204
20683 public static int[] redBirdCageFrameCounter;
20684
20685 // Token: 0x04002BC5 RID: 11205
20686 public static int[] blueBirdCageFrame;
20687
20688 // Token: 0x04002BC6 RID: 11206
20689 public static int[] blueBirdCageFrameCounter;
20690
20691 // Token: 0x04002BC7 RID: 11207
20692 public static int[] macawCageFrame;
20693
20694 // Token: 0x04002BC8 RID: 11208
20695 public static int[] macawCageFrameCounter;
20696
20697 // Token: 0x04002BC9 RID: 11209
20698 public static byte[,] butterflyCageMode;
20699
20700 // Token: 0x04002BCA RID: 11210
20701 public static int[,] butterflyCageFrame;
20702
20703 // Token: 0x04002BCB RID: 11211
20704 public static int[,] butterflyCageFrameCounter;
20705
20706 // Token: 0x04002BCC RID: 11212
20707 public static int[,] dragonflyJarFrameCounter;
20708
20709 // Token: 0x04002BCD RID: 11213
20710 public static int[,] dragonflyJarFrame;
20711
20712 // Token: 0x04002BCE RID: 11214
20713 public static int[,] scorpionCageFrame;
20714
20715 // Token: 0x04002BCF RID: 11215
20716 public static int[,] scorpionCageFrameCounter;
20717
20718 // Token: 0x04002BD0 RID: 11216
20719 public static int[] snailCageFrame;
20720
20721 // Token: 0x04002BD1 RID: 11217
20722 public static int[] snailCageFrameCounter;
20723
20724 // Token: 0x04002BD2 RID: 11218
20725 public static int[] snail2CageFrame;
20726
20727 // Token: 0x04002BD3 RID: 11219
20728 public static int[] snail2CageFrameCounter;
20729
20730 // Token: 0x04002BD4 RID: 11220
20731 public static byte[] fishBowlFrameMode;
20732
20733 // Token: 0x04002BD5 RID: 11221
20734 public static int[] fishBowlFrame;
20735
20736 // Token: 0x04002BD6 RID: 11222
20737 public static int[] fishBowlFrameCounter;
20738
20739 // Token: 0x04002BD7 RID: 11223
20740 public static int[] lavaFishBowlFrame;
20741
20742 // Token: 0x04002BD8 RID: 11224
20743 public static int[] lavaFishBowlFrameCounter;
20744
20745 // Token: 0x04002BD9 RID: 11225
20746 public static int[] frogCageFrame;
20747
20748 // Token: 0x04002BDA RID: 11226
20749 public static int[] frogCageFrameCounter;
20750
20751 // Token: 0x04002BDB RID: 11227
20752 public static int[] mouseCageFrame;
20753
20754 // Token: 0x04002BDC RID: 11228
20755 public static int[] mouseCageFrameCounter;
20756
20757 // Token: 0x04002BDD RID: 11229
20758 public static int[] turtleCageFrame;
20759
20760 // Token: 0x04002BDE RID: 11230
20761 public static int[] turtleCageFrameCounter;
20762
20763 // Token: 0x04002BDF RID: 11231
20764 public static int[] fairyJarFrame;
20765
20766 // Token: 0x04002BE0 RID: 11232
20767 public static int[] fairyJarFrameCounter;
20768
20769 // Token: 0x04002BE1 RID: 11233
20770 public static byte[,] jellyfishCageMode;
20771
20772 // Token: 0x04002BE2 RID: 11234
20773 public static int[,] jellyfishCageFrame;
20774
20775 // Token: 0x04002BE3 RID: 11235
20776 public static int[,] jellyfishCageFrameCounter;
20777
20778 // Token: 0x04002BE4 RID: 11236
20779 public static int[] wormCageFrame;
20780
20781 // Token: 0x04002BE5 RID: 11237
20782 public static int[] wormCageFrameCounter;
20783
20784 // Token: 0x04002BE6 RID: 11238
20785 public static int[] maggotCageFrame;
20786
20787 // Token: 0x04002BE7 RID: 11239
20788 public static int[] maggotCageFrameCounter;
20789
20790 // Token: 0x04002BE8 RID: 11240
20791 public static int[] ratCageFrame;
20792
20793 // Token: 0x04002BE9 RID: 11241
20794 public static int[] ratCageFrameCounter;
20795
20796 // Token: 0x04002BEA RID: 11242
20797 public static int[] ladybugCageFrame;
20798
20799 // Token: 0x04002BEB RID: 11243
20800 public static int[] ladybugCageFrameCounter;
20801
20802 // Token: 0x04002BEC RID: 11244
20803 public static int[] penguinCageFrame;
20804
20805 // Token: 0x04002BED RID: 11245
20806 public static int[] penguinCageFrameCounter;
20807
20808 // Token: 0x04002BEE RID: 11246
20809 public static int[] waterStriderCageFrame;
20810
20811 // Token: 0x04002BEF RID: 11247
20812 public static int[] waterStriderCageFrameCounter;
20813
20814 // Token: 0x04002BF0 RID: 11248
20815 public static int[] seahorseCageFrame;
20816
20817 // Token: 0x04002BF1 RID: 11249
20818 public static int[] seahorseCageFrameCounter;
20819
20820 // Token: 0x04002BF2 RID: 11250
20821 public static int[,] slugCageFrame;
20822
20823 // Token: 0x04002BF3 RID: 11251
20824 public static int[,] slugCageFrameCounter;
20825
20826 // Token: 0x04002BF4 RID: 11252
20827 public static int[] owlCageFrame;
20828
20829 // Token: 0x04002BF5 RID: 11253
20830 public static int[] owlCageFrameCounter;
20831
20832 // Token: 0x04002BF6 RID: 11254
20833 public static int[] grasshopperCageFrame;
20834
20835 // Token: 0x04002BF7 RID: 11255
20836 public static int[] grasshopperCageFrameCounter;
20837
20838 // Token: 0x04002BF8 RID: 11256
20839 public static bool[] tileSand;
20840
20841 // Token: 0x04002BF9 RID: 11257
20842 public static bool[] tileFlame;
20843
20844 // Token: 0x04002BFA RID: 11258
20845 public static bool[] npcCatchable;
20846
20847 // Token: 0x04002BFB RID: 11259
20848 public static int[] tileFrame;
20849
20850 // Token: 0x04002BFC RID: 11260
20851 public static int[] tileFrameCounter;
20852
20853 // Token: 0x04002BFD RID: 11261
20854 public static byte[] wallFrame;
20855
20856 // Token: 0x04002BFE RID: 11262
20857 public static byte[] wallFrameCounter;
20858
20859 // Token: 0x04002BFF RID: 11263
20860 public static int[] backgroundWidth;
20861
20862 // Token: 0x04002C00 RID: 11264
20863 public static int[] backgroundHeight;
20864
20865 // Token: 0x04002C01 RID: 11265
20867
20868 // Token: 0x04002C02 RID: 11266
20870
20871 // Token: 0x04002C03 RID: 11267
20873
20874 // Token: 0x04002C04 RID: 11268
20876
20877 // Token: 0x04002C05 RID: 11269
20878 public static int[] anglerQuestItemNetIDs;
20879
20880 // Token: 0x04002C06 RID: 11270
20881 private static int _renderTargetMaxSize;
20882
20883 // Token: 0x04002C07 RID: 11271
20885
20886 // Token: 0x04002C08 RID: 11272
20888
20889 // Token: 0x04002C09 RID: 11273
20890 public static int[] displayWidth;
20891
20892 // Token: 0x04002C0A RID: 11274
20893 public static int[] displayHeight;
20894
20895 // Token: 0x04002C0B RID: 11275
20896 private static int maxLoadPlayer;
20897
20898 // Token: 0x04002C0C RID: 11276
20899 private static int maxLoadWorld;
20900
20901 // Token: 0x04002C0D RID: 11277
20902 public static int[] npcFrameCount;
20903
20904 // Token: 0x04002C0E RID: 11278
20905 public const int MaxTimeout = 120;
20906
20907 // Token: 0x04002C0F RID: 11279
20908 public static string cUp;
20909
20910 // Token: 0x04002C10 RID: 11280
20911 public static string cLeft;
20912
20913 // Token: 0x04002C11 RID: 11281
20914 public static string cDown;
20915
20916 // Token: 0x04002C12 RID: 11282
20917 public static string cRight;
20918
20919 // Token: 0x04002C13 RID: 11283
20920 public static string cJump;
20921
20922 // Token: 0x04002C14 RID: 11284
20923 public static string cThrowItem;
20924
20925 // Token: 0x04002C15 RID: 11285
20926 public static string cHeal;
20927
20928 // Token: 0x04002C16 RID: 11286
20929 public static string cMana;
20930
20931 // Token: 0x04002C17 RID: 11287
20932 public static string cBuff;
20933
20934 // Token: 0x04002C18 RID: 11288
20935 public static string cHook;
20936
20937 // Token: 0x04002C19 RID: 11289
20938 public static string cTorch;
20939
20940 // Token: 0x04002C1A RID: 11290
20941 public static string cInv;
20942
20943 // Token: 0x04002C1B RID: 11291
20944 public static string cSmart;
20945
20946 // Token: 0x04002C1C RID: 11292
20947 public static string cMount;
20948
20949 // Token: 0x04002C1D RID: 11293
20950 public static string cFavoriteKey;
20951
20952 // Token: 0x04002C1E RID: 11294
20953 public static string cMapZoomIn;
20954
20955 // Token: 0x04002C1F RID: 11295
20956 public static string cMapZoomOut;
20957
20958 // Token: 0x04002C20 RID: 11296
20959 public static string cMapAlphaUp;
20960
20961 // Token: 0x04002C21 RID: 11297
20962 public static string cMapAlphaDown;
20963
20964 // Token: 0x04002C22 RID: 11298
20965 public static string cMapFull;
20966
20967 // Token: 0x04002C23 RID: 11299
20968 public static string cMapStyle;
20969
20970 // Token: 0x04002C24 RID: 11300
20971 public static Keys FavoriteKey;
20972
20973 // Token: 0x04002C25 RID: 11301
20975
20976 // Token: 0x04002C26 RID: 11302
20978
20979 // Token: 0x04002C27 RID: 11303
20981
20982 // Token: 0x04002C28 RID: 11304
20984
20985 // Token: 0x04002C29 RID: 11305
20987
20988 // Token: 0x04002C2A RID: 11306
20990
20991 // Token: 0x04002C2B RID: 11307
20993
20994 // Token: 0x04002C2C RID: 11308
20996
20997 // Token: 0x04002C2D RID: 11309
20999
21000 // Token: 0x04002C2E RID: 11310
21002
21003 // Token: 0x04002C2F RID: 11311
21004 private static bool TrialMode;
21005
21006 // Token: 0x04002C30 RID: 11312
21007 public static string autoGenFileLocation;
21008
21009 // Token: 0x04002C31 RID: 11313
21010 public static bool fastForwardTimeToDusk;
21011
21012 // Token: 0x04002C32 RID: 11314
21013 public static int moondialCooldown;
21014
21015 // Token: 0x04002C33 RID: 11315
21016 private static Stopwatch splashTimer;
21017
21018 // Token: 0x04002C34 RID: 11316
21020
21021 // Token: 0x04002C35 RID: 11317
21022 private static int AnimateCritterPages;
21023
21024 // Token: 0x04002C36 RID: 11318
21025 public static bool PreventUpdatingTargets;
21026
21027 // Token: 0x04002C37 RID: 11319
21029
21030 // Token: 0x04002C38 RID: 11320
21032
21033 // Token: 0x04002C39 RID: 11321
21035
21036 // Token: 0x04002C3A RID: 11322
21037 private int lastMusicPlayed;
21038
21039 // Token: 0x04002C3B RID: 11323
21040 private static float _minWind;
21041
21042 // Token: 0x04002C3C RID: 11324
21043 private static float _maxWind;
21044
21045 // Token: 0x04002C3D RID: 11325
21046 private static float _minRain;
21047
21048 // Token: 0x04002C3E RID: 11326
21049 private static float _maxRain;
21050
21051 // Token: 0x04002C3F RID: 11327
21053
21054 // Token: 0x04002C40 RID: 11328
21055 private int _perfLastFrame;
21056
21057 // Token: 0x04002C41 RID: 11329
21059
21060 // Token: 0x04002C42 RID: 11330
21062
21063 // Token: 0x04002C43 RID: 11331
21065
21066 // Token: 0x04002C44 RID: 11332
21067 private static int AutoSavePlayerTime;
21068
21069 // Token: 0x04002C45 RID: 11333
21070 public static int AutoSaveWorldTime;
21071
21072 // Token: 0x04002C46 RID: 11334
21073 private static List<char> removeChars;
21074
21075 // Token: 0x04002C47 RID: 11335
21076 public float logoRotation;
21077
21078 // Token: 0x04002C48 RID: 11336
21080
21081 // Token: 0x04002C49 RID: 11337
21082 public float logoRotationSpeed;
21083
21084 // Token: 0x04002C4A RID: 11338
21085 public float logoScale;
21086
21087 // Token: 0x04002C4B RID: 11339
21089
21090 // Token: 0x04002C4C RID: 11340
21091 public float logoScaleSpeed;
21092
21093 // Token: 0x04002C4D RID: 11341
21094 private static int maxMenuItems;
21095
21096 // Token: 0x04002C4E RID: 11342
21097 private float[] menuItemScale;
21098
21099 // Token: 0x04002C4F RID: 11343
21100 private int focusMenu;
21101
21102 // Token: 0x04002C50 RID: 11344
21103 private int selectedMenu;
21104
21105 // Token: 0x04002C51 RID: 11345
21106 private int selectedMenu2;
21107
21108 // Token: 0x04002C52 RID: 11346
21109 public static int menuSkip;
21110
21111 // Token: 0x04002C53 RID: 11347
21112 private static bool _needsLanguageSelect;
21113
21114 // Token: 0x04002C54 RID: 11348
21116
21117 // Token: 0x04002C55 RID: 11349
21119
21120 // Token: 0x04002C56 RID: 11350
21122
21123 // Token: 0x04002C57 RID: 11351
21124 public static long TotalMemory;
21125
21126 // Token: 0x04002C58 RID: 11352
21127 public static int TotalMemoryUpdate;
21128
21129 // Token: 0x04002C59 RID: 11353
21130 public static int TotalMemotyFullClear;
21131
21132 // Token: 0x04002C5A RID: 11354
21134
21135 // Token: 0x04002C5B RID: 11355
21137
21138 // Token: 0x04002C5C RID: 11356
21140
21141 // Token: 0x04002C5D RID: 11357
21143
21144 // Token: 0x04002C5E RID: 11358
21146
21147 // Token: 0x04002C5F RID: 11359
21149
21150 // Token: 0x04002C60 RID: 11360
21152
21153 // Token: 0x04002C61 RID: 11361
21155
21156 // Token: 0x04002C62 RID: 11362
21158
21159 // Token: 0x04002C63 RID: 11363
21161
21162 // Token: 0x04002C64 RID: 11364
21164
21165 // Token: 0x04002C65 RID: 11365
21167
21168 // Token: 0x04002C66 RID: 11366
21170
21171 // Token: 0x04002C67 RID: 11367
21173
21174 // Token: 0x04002C68 RID: 11368
21176
21177 // Token: 0x04002C69 RID: 11369
21179
21180 // Token: 0x04002C6A RID: 11370
21182
21183 // Token: 0x04002C6B RID: 11371
21185
21186 // Token: 0x04002C6C RID: 11372
21188
21189 // Token: 0x04002C6D RID: 11373
21191
21192 // Token: 0x04002C6E RID: 11374
21194
21195 // Token: 0x04002C6F RID: 11375
21197
21198 // Token: 0x04002C70 RID: 11376
21200
21201 // Token: 0x04002C71 RID: 11377
21203
21204 // Token: 0x04002C72 RID: 11378
21205 private static int _currentRecipeBeingCrafted;
21206
21207 // Token: 0x04002C73 RID: 11379
21209
21210 // Token: 0x04002C74 RID: 11380
21212
21213 // Token: 0x04002C75 RID: 11381
21215
21216 // Token: 0x04002C76 RID: 11382
21218
21219 // Token: 0x04002C77 RID: 11383
21221
21222 // Token: 0x04002C78 RID: 11384
21224
21225 // Token: 0x04002C79 RID: 11385
21226 private int grabColorSlider;
21227
21228 // Token: 0x04002C7A RID: 11386
21229 private static bool _blockFancyUIWhileLoading;
21230
21231 // Token: 0x04002C7B RID: 11387
21232 private bool[] menuWide;
21233
21234 // Token: 0x04002C7C RID: 11388
21236
21237 // Token: 0x04002C7D RID: 11389
21239
21240 // Token: 0x04002C7E RID: 11390
21241 private float _splashFrameCount;
21242
21243 // Token: 0x04002C7F RID: 11391
21244 private bool quickSplash;
21245
21246 // Token: 0x04002C80 RID: 11392
21248
21249 // Token: 0x04002C81 RID: 11393
21251
21252 // Token: 0x04002C82 RID: 11394
21254
21255 // Token: 0x04002C83 RID: 11395
21257
21258 // Token: 0x04002C84 RID: 11396
21260
21261 // Token: 0x04002C85 RID: 11397
21263
21264 // Token: 0x04002C86 RID: 11398
21265 public bool FlushWater;
21266
21267 // Token: 0x04002C87 RID: 11399
21269
21270 // Token: 0x04002C88 RID: 11400
21272
21273 // Token: 0x04002C89 RID: 11401
21274 private static string[] MonolithFilterNames;
21275
21276 // Token: 0x04002C8A RID: 11402
21277 private static string[] MonolithSkyNames;
21278
21279 // Token: 0x04002C8B RID: 11403
21280 private float screenOff;
21281
21282 // Token: 0x04002C8C RID: 11404
21283 private float scAdj;
21284
21285 // Token: 0x04002C8D RID: 11405
21286 private float cTop;
21287
21288 // Token: 0x04002C8E RID: 11406
21290
21291 // Token: 0x04002C8F RID: 11407
21293
21294 // Token: 0x04002C90 RID: 11408
21295 private static Item clearItem;
21296
21297 // Token: 0x04002C91 RID: 11409
21298 private static int _lastFrameFPSCount;
21299
21300 // Token: 0x04002C92 RID: 11410
21301 private static bool _cameraPanHasBlackTransition;
21302
21303 // Token: 0x04002C93 RID: 11411
21305
21306 // Token: 0x04002C94 RID: 11412
21307 public static bool starGame;
21308
21309 // Token: 0x04002C95 RID: 11413
21310 public static int starsHit;
21311
21312 // Token: 0x04002C96 RID: 11414
21314
21315 // Token: 0x04002C97 RID: 11415
21317
21318 // Token: 0x020003F3 RID: 1011
21319 public static class CurrentFrameFlags
21320 {
21321 // Token: 0x04002C98 RID: 11416
21322 public static int ActivePlayersCount;
21323
21324 // Token: 0x04002C99 RID: 11417
21325 public static int SleepingPlayersCount;
21326
21327 // Token: 0x04002C9A RID: 11418
21328 public static bool AnyActiveBossNPC;
21329
21330 // Token: 0x04002C9B RID: 11419
21332
21333 // Token: 0x020003F4 RID: 1012
21334 public static class Hacks
21335 {
21336 // Token: 0x04002C9C RID: 11420
21338 }
21339 }
21340
21341 // Token: 0x020003F5 RID: 1013
21343 {
21344 // Token: 0x06002090 RID: 8336 RVA: 0x000CCDF4 File Offset: 0x000CAFF4
21345 public OnPlayerSelected(object @object, IntPtr method)
21346 {
21348 this.m_target = @object;
21350 this.method_code = this;
21351 }
21352
21353 // Token: 0x06002091 RID: 8337 RVA: 0x000CCE54 File Offset: 0x000CB054
21355 {
21358 IntPtr method = this.method;
21359 }
21360
21361 // Token: 0x06002092 RID: 8338 RVA: 0x000021DB File Offset: 0x000003DB
21363 {
21364 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
21365 }
21366
21367 // Token: 0x06002093 RID: 8339 RVA: 0x000CCE78 File Offset: 0x000CB078
21368 public void EndInvoke(IAsyncResult result)
21369 {
21370 }
21371 }
21372
21373 // Token: 0x020003F6 RID: 1014
21374 public enum AutoPauseMode
21375 {
21376 // Token: 0x04002C9E RID: 11422
21377 Disabled,
21378 // Token: 0x04002C9F RID: 11423
21379 Menus,
21380 // Token: 0x04002CA0 RID: 11424
21381 Inventory
21382 }
21383
21384 // Token: 0x020003F7 RID: 1015
21386 {
21387 // Token: 0x04002CA2 RID: 11426
21389 // Token: 0x04002CA3 RID: 11427
21391 // Token: 0x04002CA4 RID: 11428
21392 Ready
21393 }
21394
21395 // Token: 0x020003F8 RID: 1016
21396 public struct MouseTextCache
21397 {
21398 // Token: 0x04002CA5 RID: 11429
21399 public bool noOverride;
21400
21401 // Token: 0x04002CA6 RID: 11430
21402 public bool isValid;
21403
21404 // Token: 0x04002CA7 RID: 11431
21405 public string cursorText;
21406
21407 // Token: 0x04002CA8 RID: 11432
21408 public int rare;
21409
21410 // Token: 0x04002CA9 RID: 11433
21411 public byte diff;
21412
21413 // Token: 0x04002CAA RID: 11434
21414 public int X;
21415
21416 // Token: 0x04002CAB RID: 11435
21417 public int Y;
21418
21419 // Token: 0x04002CAC RID: 11436
21421
21422 // Token: 0x04002CAD RID: 11437
21424
21425 // Token: 0x04002CAE RID: 11438
21426 public string buffTooltip;
21427 }
21428
21429 // Token: 0x020003F9 RID: 1017
21431 {
21432 // Token: 0x06002094 RID: 8340 RVA: 0x000CCE88 File Offset: 0x000CB088
21434 {
21435 }
21436
21437 // Token: 0x04002CAF RID: 11439
21439
21440 // Token: 0x04002CB0 RID: 11440
21442
21443 // Token: 0x04002CB1 RID: 11441
21445 }
21446
21447 // Token: 0x020003FA RID: 1018
21448 public struct SceneArea
21449 {
21450 // Token: 0x04002CB2 RID: 11442
21452
21453 // Token: 0x04002CB3 RID: 11443
21454 public float totalWidth;
21455
21456 // Token: 0x04002CB4 RID: 11444
21457 public float totalHeight;
21458
21459 // Token: 0x04002CB5 RID: 11445
21460 public int bgTopY;
21461 }
21462
21463 // Token: 0x020003FB RID: 1019
21465 {
21466 // Token: 0x04002CB6 RID: 11446
21468
21469 // Token: 0x04002CB7 RID: 11447
21471
21472 // Token: 0x04002CB8 RID: 11448
21474
21475 // Token: 0x04002CB9 RID: 11449
21477
21478 // Token: 0x04002CBA RID: 11450
21480
21481 // Token: 0x04002CBB RID: 11451
21483
21484 // Token: 0x04002CBC RID: 11452
21485 public bool BloodMoonActive;
21486
21487 // Token: 0x04002CBD RID: 11453
21489 }
21490
21491 // Token: 0x020003FC RID: 1020
21493 [Serializable]
21494 private sealed class <>c
21495 {
21496 // Token: 0x06002095 RID: 8341 RVA: 0x000CCE9C File Offset: 0x000CB09C
21497 // Note: this type is marked as 'beforefieldinit'.
21498 static <>c()
21499 {
21500 }
21501
21502 // Token: 0x06002096 RID: 8342 RVA: 0x000CCEAC File Offset: 0x000CB0AC
21503 public <>c()
21504 {
21505 }
21506
21507 // Token: 0x06002097 RID: 8343 RVA: 0x000CCEC0 File Offset: 0x000CB0C0
21508 internal bool <LoadWorlds>b__1785_0(string path)
21509 {
21510 if (!true)
21511 {
21512 }
21513 bool flag = path.StartsWith(path, StringComparison.CurrentCultureIgnoreCase);
21514 return path.EndsWith(".wld", StringComparison.CurrentCultureIgnoreCase);
21515 }
21516
21517 // Token: 0x06002098 RID: 8344 RVA: 0x000CCEE8 File Offset: 0x000CB0E8
21518 internal bool <LoadPlayers>b__1787_0(string path)
21519 {
21520 if (!true)
21521 {
21522 }
21523 bool flag = path.StartsWith(path, StringComparison.CurrentCultureIgnoreCase);
21524 return path.EndsWith(".plr", StringComparison.CurrentCultureIgnoreCase);
21525 }
21526
21527 // Token: 0x06002099 RID: 8345 RVA: 0x000021DB File Offset: 0x000003DB
21528 internal Main.BackgroundDrawInfo <.ctor>b__1839_0()
21529 {
21530 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
21531 }
21532
21533 // Token: 0x0600209A RID: 8346 RVA: 0x000CCF10 File Offset: 0x000CB110
21535 {
21536 if (!true)
21537 {
21538 }
21539 }
21540
21541 // Token: 0x0600209B RID: 8347 RVA: 0x000CCF28 File Offset: 0x000CB128
21543 {
21544 if (!true)
21545 {
21546 }
21547 if (Main.LocalGolfState != null)
21548 {
21549 if (!true)
21550 {
21551 }
21553 return;
21554 }
21555 }
21556
21557 // Token: 0x0600209C RID: 8348 RVA: 0x000CCF54 File Offset: 0x000CB154
21559 {
21560 if (!true)
21561 {
21562 }
21564 }
21565
21566 // Token: 0x0600209D RID: 8349 RVA: 0x000CCF6C File Offset: 0x000CB16C
21568 {
21569 if (!true)
21570 {
21571 }
21573 return true;
21574 }
21575
21576 // Token: 0x0600209E RID: 8350 RVA: 0x000CCF84 File Offset: 0x000CB184
21578 {
21579 if (!true)
21580 {
21581 }
21583 return true;
21584 }
21585
21586 // Token: 0x0600209F RID: 8351 RVA: 0x000CCF9C File Offset: 0x000CB19C
21588 {
21589 if (!true)
21590 {
21591 }
21593 return true;
21594 }
21595
21596 // Token: 0x060020A0 RID: 8352 RVA: 0x000CCFB4 File Offset: 0x000CB1B4
21598 {
21599 if (!true)
21600 {
21601 }
21603 return true;
21604 }
21605
21606 // Token: 0x060020A1 RID: 8353 RVA: 0x000CCFCC File Offset: 0x000CB1CC
21608 {
21609 if (!true)
21610 {
21611 }
21613 return true;
21614 }
21615
21616 // Token: 0x060020A2 RID: 8354 RVA: 0x000CCFE4 File Offset: 0x000CB1E4
21618 {
21619 if (!true)
21620 {
21621 }
21623 return true;
21624 }
21625
21626 // Token: 0x060020A3 RID: 8355 RVA: 0x000CCFFC File Offset: 0x000CB1FC
21628 {
21629 if (!true)
21630 {
21631 }
21633 return true;
21634 }
21635
21636 // Token: 0x060020A4 RID: 8356 RVA: 0x000CD014 File Offset: 0x000CB214
21638 {
21639 if (!true)
21640 {
21641 }
21643 return true;
21644 }
21645
21646 // Token: 0x060020A5 RID: 8357 RVA: 0x000CD02C File Offset: 0x000CB22C
21648 {
21649 if (!true)
21650 {
21651 }
21653 return true;
21654 }
21655
21656 // Token: 0x060020A6 RID: 8358 RVA: 0x000CD044 File Offset: 0x000CB244
21658 {
21659 if (!true)
21660 {
21661 }
21663 return true;
21664 }
21665
21666 // Token: 0x060020A7 RID: 8359 RVA: 0x000CD05C File Offset: 0x000CB25C
21668 {
21669 if (!true)
21670 {
21671 }
21673 return true;
21674 }
21675
21676 // Token: 0x060020A8 RID: 8360 RVA: 0x000CD074 File Offset: 0x000CB274
21678 {
21679 if (!true)
21680 {
21681 }
21683 return true;
21684 }
21685
21686 // Token: 0x060020A9 RID: 8361 RVA: 0x000CD08C File Offset: 0x000CB28C
21688 {
21689 if (!true)
21690 {
21691 }
21693 return true;
21694 }
21695
21696 // Token: 0x060020AA RID: 8362 RVA: 0x000CD0A4 File Offset: 0x000CB2A4
21698 {
21699 if (!true)
21700 {
21701 }
21703 return true;
21704 }
21705
21706 // Token: 0x060020AB RID: 8363 RVA: 0x000CD0BC File Offset: 0x000CB2BC
21708 {
21709 if (!true)
21710 {
21711 }
21713 return true;
21714 }
21715
21716 // Token: 0x060020AC RID: 8364 RVA: 0x000CD0D4 File Offset: 0x000CB2D4
21718 {
21719 if (!true)
21720 {
21721 }
21723 return true;
21724 }
21725
21726 // Token: 0x060020AD RID: 8365 RVA: 0x000CD0EC File Offset: 0x000CB2EC
21728 {
21729 if (!true)
21730 {
21731 }
21733 return true;
21734 }
21735
21736 // Token: 0x060020AE RID: 8366 RVA: 0x000CD104 File Offset: 0x000CB304
21738 {
21739 if (!true)
21740 {
21741 }
21743 return true;
21744 }
21745
21746 // Token: 0x060020AF RID: 8367 RVA: 0x000CD11C File Offset: 0x000CB31C
21748 {
21749 if (!true)
21750 {
21751 }
21753 return true;
21754 }
21755
21756 // Token: 0x060020B0 RID: 8368 RVA: 0x000CD134 File Offset: 0x000CB334
21758 {
21759 if (!true)
21760 {
21761 }
21763 return true;
21764 }
21765
21766 // Token: 0x060020B1 RID: 8369 RVA: 0x000CD14C File Offset: 0x000CB34C
21768 {
21769 if (!true)
21770 {
21771 }
21773 return true;
21774 }
21775
21776 // Token: 0x060020B2 RID: 8370 RVA: 0x000CD164 File Offset: 0x000CB364
21778 {
21779 if (!true)
21780 {
21781 }
21783 return true;
21784 }
21785
21786 // Token: 0x060020B3 RID: 8371 RVA: 0x000CD17C File Offset: 0x000CB37C
21788 {
21789 if (!true)
21790 {
21791 }
21793 return true;
21794 }
21795
21796 // Token: 0x060020B4 RID: 8372 RVA: 0x000CD194 File Offset: 0x000CB394
21798 {
21799 if (!true)
21800 {
21801 }
21803 return true;
21804 }
21805
21806 // Token: 0x04002CBE RID: 11454
21807 public static readonly Main.<>c <>9;
21808
21809 // Token: 0x04002CBF RID: 11455
21810 public static Func<string, bool> <>9__1785_0;
21811
21812 // Token: 0x04002CC0 RID: 11456
21813 public static Func<string, bool> <>9__1787_0;
21814
21815 // Token: 0x04002CC1 RID: 11457
21816 public static Func<Main.BackgroundDrawInfo> <>9__1839_0;
21817
21818 // Token: 0x04002CC2 RID: 11458
21819 public static Action <>9__1845_0;
21820
21821 // Token: 0x04002CC3 RID: 11459
21822 public static Action <>9__1845_1;
21823
21824 // Token: 0x04002CC4 RID: 11460
21825 public static LanguageChangeCallback <>9__1854_0;
21826
21827 // Token: 0x04002CC5 RID: 11461
21829
21830 // Token: 0x04002CC6 RID: 11462
21832
21833 // Token: 0x04002CC7 RID: 11463
21835
21836 // Token: 0x04002CC8 RID: 11464
21838
21839 // Token: 0x04002CC9 RID: 11465
21841
21842 // Token: 0x04002CCA RID: 11466
21844
21845 // Token: 0x04002CCB RID: 11467
21847
21848 // Token: 0x04002CCC RID: 11468
21850
21851 // Token: 0x04002CCD RID: 11469
21853
21854 // Token: 0x04002CCE RID: 11470
21856
21857 // Token: 0x04002CCF RID: 11471
21859
21860 // Token: 0x04002CD0 RID: 11472
21862
21863 // Token: 0x04002CD1 RID: 11473
21865
21866 // Token: 0x04002CD2 RID: 11474
21868
21869 // Token: 0x04002CD3 RID: 11475
21871
21872 // Token: 0x04002CD4 RID: 11476
21874
21875 // Token: 0x04002CD5 RID: 11477
21877
21878 // Token: 0x04002CD6 RID: 11478
21880
21881 // Token: 0x04002CD7 RID: 11479
21883
21884 // Token: 0x04002CD8 RID: 11480
21886
21887 // Token: 0x04002CD9 RID: 11481
21889
21890 // Token: 0x04002CDA RID: 11482
21892
21893 // Token: 0x04002CDB RID: 11483
21895
21896 // Token: 0x04002CDC RID: 11484
21898 }
21899
21900 // Token: 0x020003FD RID: 1021
21902 private sealed class <LoadContent_Deferred>d__1863 : IEnumerator<object>, IEnumerator, IDisposable
21903 {
21904 // Token: 0x060020B5 RID: 8373 RVA: 0x000CD1AC File Offset: 0x000CB3AC
21907 {
21908 this.<>1__state = <>1__state;
21909 }
21910
21911 // Token: 0x060020B6 RID: 8374 RVA: 0x000CD1C8 File Offset: 0x000CB3C8
21913 void IDisposable.Dispose()
21914 {
21915 }
21916
21917 // Token: 0x060020B7 RID: 8375 RVA: 0x000CD1D8 File Offset: 0x000CB3D8
21918 private bool MoveNext()
21919 {
21920 int num = this.<>1__state;
21921 Main main = this.<>4__this;
21922 int num2 = 1;
21923 this.<>1__state = num2;
21924 this.<>1__state = num;
21925 if (num == 0)
21926 {
21927 }
21931 this.<initialLoadProcedure>5__5 = enumerator;
21932 this.<>1__state = num;
21933 if (num == 0)
21934 {
21935 }
21938 this.<>1__state = num;
21939 if (num == 0)
21940 {
21941 }
21944 if (num == 0)
21945 {
21946 }
21947 if (num == 0)
21948 {
21949 }
21951 int num3 = 4;
21952 this.<>1__state = num3;
21953 if (num3 == 0)
21954 {
21955 }
21960 int num4 = 1;
21961 if (!this.<doneLoadingMusic>5__2)
21962 {
21963 IEnumerator enumerator3 = this.<musicLoadProcedure>5__3;
21964 bool flag = this.<doneLoadingMusic>5__2;
21965 if (flag)
21966 {
21967 return;
21968 }
21969 if (!flag)
21970 {
21971 }
21975 double totalMilliseconds = timeSpan.TotalMilliseconds;
21976 this.<doneLoadingMusic>5__2 = num4 != 0;
21981 int num5 = 1;
21982 if (!this.<doneinitialLoad>5__4)
21983 {
21984 IEnumerator enumerator4 = this.<initialLoadProcedure>5__5;
21985 this.<doneinitialLoad>5__4 = num5 != 0;
21988 double totalMilliseconds2 = (now7 - lastYield2).TotalMilliseconds;
21989 }
21990 int num6 = 6;
21991 this.<>1__state = num6;
21992 int num7 = 1;
21993 int num8 = 1;
21996 main._artLoaded = num7 != 0;
21997 if (num6 == 0)
21998 {
21999 }
22000 if (num6 == 0)
22001 {
22002 }
22003 }
22004 int num9 = 1;
22005 main._musicLoaded = num9 != 0;
22006 if (num9 == 0)
22007 {
22008 }
22009 if (num9 == 0)
22010 {
22011 return;
22012 }
22013 }
22014
22015 // Token: 0x170004DC RID: 1244
22016 // (get) Token: 0x060020B8 RID: 8376 RVA: 0x000CD3AC File Offset: 0x000CB5AC
22018 {
22020 get
22021 {
22022 return this.<>2__current;
22023 }
22024 }
22025
22026 // Token: 0x060020B9 RID: 8377 RVA: 0x000021DB File Offset: 0x000003DB
22028 void IEnumerator.Reset()
22029 {
22030 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
22031 }
22032
22033 // Token: 0x170004DD RID: 1245
22034 // (get) Token: 0x060020BA RID: 8378 RVA: 0x000CD3C0 File Offset: 0x000CB5C0
22035 object IEnumerator.Current
22036 {
22038 get
22039 {
22040 return this.<>2__current;
22041 }
22042 }
22043
22044 // Token: 0x04002CDD RID: 11485
22045 private int <>1__state;
22046
22047 // Token: 0x04002CDE RID: 11486
22048 private object <>2__current;
22049
22050 // Token: 0x04002CDF RID: 11487
22051 public Main <>4__this;
22052
22053 // Token: 0x04002CE0 RID: 11488
22055
22056 // Token: 0x04002CE1 RID: 11489
22058
22059 // Token: 0x04002CE2 RID: 11490
22061
22062 // Token: 0x04002CE3 RID: 11491
22064 }
22065
22066 // Token: 0x020003FE RID: 1022
22068 private sealed class <LoadMusic_InSteps>d__1866 : IEnumerator<object>, IEnumerator, IDisposable
22069 {
22070 // Token: 0x060020BB RID: 8379 RVA: 0x000CD3D4 File Offset: 0x000CB5D4
22073 {
22074 this.<>1__state = <>1__state;
22075 }
22076
22077 // Token: 0x060020BC RID: 8380 RVA: 0x000CD3F0 File Offset: 0x000CB5F0
22079 void IDisposable.Dispose()
22080 {
22081 }
22082
22083 // Token: 0x060020BD RID: 8381 RVA: 0x000CD400 File Offset: 0x000CB600
22084 private bool MoveNext()
22085 {
22086 /*
22087An exception occurred when decompiling this method (060020BD)
22088
22089ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Main/<LoadMusic_InSteps>d__1866::MoveNext()
22090
22091 ---> System.Exception: Basic block has to end with unconditional control flow.
22092{
22093 IL_004B:
22094 stloc:int64(var_6_51, ldfld:int64(int64::m_value, ldc.i4:int32[exp:int64&](0)))
22095 stloc:int32(var_7_54, ldc.i4:int32(2))
22096 stfld:int32('<LoadMusic_InSteps>d__1866'::<>1__state, ldloc:'<LoadMusic_InSteps>d__1866'(this), ldloc:int32(var_7_54))
22097}
22098
22099 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
22100 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
22101 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
22102 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
22103 --- End of inner exception stack trace ---
22104 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
22105 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
22106*/;
22107 }
22108
22109 // Token: 0x170004DE RID: 1246
22110 // (get) Token: 0x060020BE RID: 8382 RVA: 0x000CD470 File Offset: 0x000CB670
22112 {
22114 get
22115 {
22116 return this.<>2__current;
22117 }
22118 }
22119
22120 // Token: 0x060020BF RID: 8383 RVA: 0x000021DB File Offset: 0x000003DB
22122 void IEnumerator.Reset()
22123 {
22124 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
22125 }
22126
22127 // Token: 0x170004DF RID: 1247
22128 // (get) Token: 0x060020C0 RID: 8384 RVA: 0x000CD484 File Offset: 0x000CB684
22129 object IEnumerator.Current
22130 {
22132 get
22133 {
22134 return this.<>2__current;
22135 }
22136 }
22137
22138 // Token: 0x04002CE4 RID: 11492
22139 private int <>1__state;
22140
22141 // Token: 0x04002CE5 RID: 11493
22142 private object <>2__current;
22143
22144 // Token: 0x04002CE6 RID: 11494
22145 private int <i>5__2;
22146 }
22147 }
22148}
class f__AnonymousType0<< Count > j__TPar
static DrPlatform.DrPlatformType CurrentPlatform
Definition DrPlatform.cs:26
static void SynchroniseFiles()
static void LoadContent(ContentManager content)
List< GUIPageIconGrouping > LeftGroupings
static InterfaceProfile_Layout Active
ItemGrid_Layout.ReorderStyle Reorder
static void UnloadState()
Definition LocalUser.cs:72
static bool UseLargeMinimap
Definition Map_Layout.cs:18
GraphicsDevice graphicsDevice
Definition Game.cs:405
ContentManager content
Definition Game.cs:402
static bool BeginBuffer(GeometryBufferInstance.BatchBuffer bufferListId, int renderCountRefresh)
void SetRenderTarget(RenderTarget2D renderTarget)
static KeyboardState GetState()
Definition Keyboard.cs:12
static Vector2 GetUICursorPosition()
Definition Mouse.cs:358
static float Lerp(float value1, float value2, float amount)
Definition MathHelper.cs:61
static float Min(float value1, float value2)
Definition MathHelper.cs:76
DraggableItemGrid_Layout TextGrid
static MultiplayerChat_Layout Instance
static string ReadLine()
Definition Console.cs:170
static void WriteLine(object value)
Definition Console.cs:134
static void Write(string value)
Definition Console.cs:118
static int ToInt32(object value)
Definition Convert.cs:1412
IntPtr method_code
Definition Delegate.cs:386
IntPtr invoke_impl
Definition Delegate.cs:371
static string Combine(string path1, string path2)
Definition Path.cs:41
static char[] GetInvalidFileNameChars()
Definition Path.cs:314
static byte Min(byte val1, byte val2)
Definition Math.cs:152
static double Pow(double x, double y)
Definition Math.cs:336
static double IEEERemainder(double x, double y)
Definition Math.cs:56
static int Sign(double value)
Definition Math.cs:252
static string Replace(string input, string pattern, string replacement)
Definition Regex.cs:269
StringBuilder Append(char value, int repeatCount)
static void Initialize()
Definition Animation.cs:12
void SetupShop(int type)
Definition Chest.cs:1219
static void Initialize()
Definition Chest.cs:24
static bool InTileBounds(int x, int y, int lx, int ly, int hx, int hy)
Vector2 Center
Definition Entity.cs:134
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460
static void Initialize()
Definition Framing.cs:12
void Draw(bool solidLayer, bool forRenderTargets, bool intoRenderTargets, int waterStyleOverride=-1)
void PostDrawTiles(bool solidLayer, bool forRenderTargets, bool intoRenderTargets)
void PreDrawTiles(bool solidLayer, bool forRenderTargets, bool intoRenderTargets)
void DrawWalls(Vector2 screenPosition, Vector2 offSet, int firstTileX, int firstTileY, int lastTileX, int lastTileY)
static bool IsGolfBallResting(Projectile golfBall)
static LockOnHelper.LockOnMode UseMode
static TriggersPack Triggers
static void CacheOriginalScreenDimensions()
static void CacheMousePositionForZoom()
static void RebuildItemCreativeSortingIDsAfterRecipesAreSetUp()
static void Initialize()
Definition TorchID.cs:11
static PlayerFileData CreateAndSave(Player player)
void Put(string name, object value)
bool Save(bool canCreateFile=true)
static WorldFileData FromInvalidWorld(string path, bool cloudSave)
static WorldFileData GetAllMetadata(string file, bool cloudSave)
Definition WorldFile.cs:114
static void CreateAssetServices(GameServiceContainer services)
static IEnumerator LoadAssetsWhileInInitialBlackScreen_InSteps()
static void LoadSplashAssets(bool asyncLoadForSounds)
bool melee
Definition Item.cs:2123
bool expert
Definition Item.cs:2054
static bool IsAGolfingItem(Item item)
Definition Item.cs:681
int fishingPole
Definition Item.cs:2165
string BestiaryNotes
Definition Item.cs:2330
int useAmmo
Definition Item.cs:2352
int headSlot
Definition Item.cs:2279
string HoverName
Definition Item.cs:40
int createWall
Definition Item.cs:2243
bool social
Definition Item.cs:2102
bool magic
Definition Item.cs:2126
int createTile
Definition Item.cs:2240
bool IsAir
Definition Item.cs:1820
bool IsACoin
Definition Item.cs:655
bool instanced
Definition Item.cs:2060
bool favorited
Definition Item.cs:2063
bool summon
Definition Item.cs:2132
bool accessory
Definition Item.cs:2069
int playerIndexTheItemIsReservedFor
Definition Item.cs:2333
byte useStyle
Definition Item.cs:2213
bool ranged
Definition Item.cs:2129
int tooltipContext
Definition Item.cs:2159
float shimmerTime
Definition Item.cs:2419
int legSlot
Definition Item.cs:2285
bool shimmered
Definition Item.cs:2416
int mountType
Definition Item.cs:2376
int bodySlot
Definition Item.cs:2282
bool notAmmo
Definition Item.cs:2084
int timeSinceItemSpawned
Definition Item.cs:2153
static void InitializeLegacyLocalization()
Definition Lang.cs:515
static Color GetColor(Point tileCoords)
Definition Lighting.cs:423
static void Initialize(bool resized=false)
Definition Lighting.cs:214
static bool UsingNewLighting
Definition Lighting.cs:178
static bool NotRetro
Definition Lighting.cs:150
static void ResetLighting()
Definition Lighting.cs:108
static LightMode Mode
Definition Lighting.cs:129
static void LightTiles(int firstX, int lastX, int firstY, int lastY)
Definition Lighting.cs:235
static float Brightness(int x, int y)
Definition Lighting.cs:284
static string GetTextValue(string key)
Definition Language.cs:54
Microsoft.Xna.Framework.Graphics.Color[] backgroundColorSlicesStatic
Definition Main.cs:21441
static Matrix CurrentBackgroundMatrixForCreditsRoll
Definition Main.cs:21337
static bool HadAnActiveInteractibleProjectile
Definition Main.cs:21331
void EndInvoke(IAsyncResult result)
Definition Main.cs:21368
void Invoke(PlayerFileData player)
Definition Main.cs:21354
IAsyncResult BeginInvoke(PlayerFileData player, AsyncCallback callback, object @object)
Definition Main.cs:21362
OnPlayerSelected(object @object, IntPtr method)
Definition Main.cs:21345
int grabColorSlider
Definition Main.cs:21226
static bool HasSmartInteractTarget
Definition Main.cs:5636
static bool drawBackGore
Definition Main.cs:18537
static string versionNumber
Definition Main.cs:19981
static int AnnouncementBoxRange
Definition Main.cs:18501
static string CloudWorldPath
Definition Main.cs:19500
static string GetWorldPathFromName(string worldName, bool cloudSave)
Definition Main.cs:6327
static bool IsItAHappyWindyDay
Definition Main.cs:7159
static int keyCount
Definition Main.cs:18750
static int[] blueBirdCageFrameCounter
Definition Main.cs:20689
bool< SetupDrawInterfaceLayers > b__2162_23()
Definition Main.cs:18392
static int rainTime
Definition Main.cs:19173
static int invasionProgressIcon
Definition Main.cs:19548
static void AnglerQuestSwap()
Definition Main.cs:5339
IEnumerator LoadContent_Deferred()
Definition Main.cs:6993
void DrawSurfaceBG_BackMountainsStep1(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack)
Definition Main.cs:15976
static float temporaryGUIScaleSlider
Definition Main.cs:19461
static CreativeUnlocksTracker LocalPlayerCreativeTracker
Definition Main.cs:5295
static bool showFrameRate
Definition Main.cs:1581
static void DrawNPCDirect_HallowBoss(SpriteBatch mySpriteBatch, NPC rCurrentNPC, Microsoft.Xna.Framework.Vector2 screenPos, int typeCache, Microsoft.Xna.Framework.Graphics.Color npcColor, Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect)
Definition Main.cs:9391
static Cloud[] cloud
Definition Main.cs:19242
bool quickSplash
Definition Main.cs:21244
static int cameraLerpTimeToggle
Definition Main.cs:18579
static void DrawWOFRopeToTheHungry(int i)
Definition Main.cs:11298
static int musicBox2
Definition Main.cs:18588
void DrawProj_StardustGuardianPunching(Projectile proj)
Definition Main.cs:10183
byte instrumentMouseFixHack
Definition Main.cs:21217
static SceneMetrics SceneMetrics
Definition Main.cs:1791
static string _playerPath
Definition Main.cs:19503
static bool render
Definition Main.cs:881
static int WaveQuality
Definition Main.cs:461
static int[,] butterflyCageFrameCounter
Definition Main.cs:20704
void EnsureRenderTargetContent()
Definition Main.cs:15349
static int TryInteractingWithVoidLens(Projectile proj)
Definition Main.cs:10802
bool< SetupDrawInterfaceLayers > b__2162_38()
Definition Main.cs:18463
void DrawSimpleSurfaceBackground(Microsoft.Xna.Framework.Vector2 areaPosition, int areaWidth, int areaHeight)
Definition Main.cs:14917
int[] backTexture
Definition Main.cs:391
void RenderBlack()
Definition Main.cs:15255
static int wofDrawAreaBottom
Definition Main.cs:18849
static void PrintTimedMessage(string message, params object[] arguments)
Definition Main.cs:11029
static float mapFullscreenScale
Definition Main.cs:1483
static void AnimateTiles()
Definition Main.cs:8043
static bool ingameOptionsWindow
Definition Main.cs:811
static int TileInteractionLX
Definition Main.cs:3091
static int _targetNetMode
Definition Main.cs:19602
static Microsoft.Xna.Framework.Vector2 DrawWhip_WhipMace(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
Definition Main.cs:10627
static void DrawInterface_1_1_DrawEmoteBubblesInWorld()
Definition Main.cs:13247
float scAdj
Definition Main.cs:21283
static bool[] buffDoubleApply
Definition Main.cs:20168
static int focusColor
Definition Main.cs:19827
bool< SetupDrawInterfaceLayers > b__2162_12()
Definition Main.cs:18360
static bool DrawInterface_12_IngameFancyUI()
Definition Main.cs:13021
static float invAlpha
Definition Main.cs:19254
static DrawAnimation _coinOnWorldAnimation
Definition Main.cs:20869
static void DoUpdate_AutoSave()
Definition Main.cs:8325
static bool mapInit
Definition Main.cs:1217
float logoRotationDirection
Definition Main.cs:21079
static bool halloween
Definition Main.cs:18735
static float MouseBuildingGridAlpha
Definition Main.cs:282
double bgParallax
Definition Main.cs:20259
static void DoUpdate_AnimateBackgrounds()
Definition Main.cs:8284
float screenOff
Definition Main.cs:21280
static float targetScreenYOffset
Definition Main.cs:1931
static Action OnEnginePreload
Definition Main.cs:4666
static int checkForSpawns
Definition Main.cs:19185
static bool SettingsUnlock_WorldEvil
Definition Main.cs:128
static List< char > removeChars
Definition Main.cs:21073
static float cameraX
Definition Main.cs:19056
static float windPhysicsStrength
Definition Main.cs:19239
static void TrySyncingMyPlayer()
Definition Main.cs:7790
static Stopwatch fpsTimer
Definition Main.cs:18768
static void OpenClothesWindow()
Definition Main.cs:12357
static bool[] tileBlockLight
Definition Main.cs:20554
static int maxSectionsY
Definition Main.cs:19017
static bool[] tileCracked
Definition Main.cs:20599
bool _needToSetupDrawInterfaceLayers
Definition Main.cs:21208
static bool dedServFPS
Definition Main.cs:20045
static float lBar
Definition Main.cs:3679
static int musicBoxNotModifiedByVolume
Definition Main.cs:18591
static int npcStreamSpeed
Definition Main.cs:18567
void ResetSettings()
Definition Main.cs:6027
static int[] turtleCageFrame
Definition Main.cs:20758
static bool LogoT
Definition Main.cs:19113
static int[] bunnyCageFrameCounter
Definition Main.cs:20635
static int[] seahorseCageFrame
Definition Main.cs:20815
static int caveBackground
Definition Main.cs:1735
static GameTipsDisplay gameTips
Definition Main.cs:19773
static bool[] vanityPet
Definition Main.cs:20150
static void shine([Out] Microsoft.Xna.Framework.Vector3 newColor, int type, int frameX)
Definition Main.cs:8950
static Point ScreenSize
Definition Main.cs:13977
static bool InvisibleCursorForGamepad
Definition Main.cs:19969
const double slimeRainChance
Definition Main.cs:20403
static float mouseItemTime
Definition Main.cs:2169
static bool[] tileDungeon
Definition Main.cs:20560
static int cameraLerpTimer
Definition Main.cs:18576
static float windSpeedCurrent
Definition Main.cs:19224
static bool raining
Definition Main.cs:19176
RenderTarget2D tile2Target
Definition Main.cs:20183
static int selectedPlayer
Definition Main.cs:19788
float chestDepositScale
Definition Main.cs:20337
static float SmoothedMushroomLightInfluence
Definition Main.cs:19248
static bool clearMap
Definition Main.cs:1203
void setServerWorldRollbacks(string rollBacksToKeep)
Definition Main.cs:6344
static List< INeedRenderTargetContent > ContentThatNeedsRenderTargets
Definition Main.cs:21292
static List< WorldFileData > WorldList
Definition Main.cs:19494
void DrawTiles(bool solidLayer, bool forRenderTargets, bool intoRenderTargets, int waterStyleOverride=-1)
Definition Main.cs:9040
static int mapDelay
Definition Main.cs:114
static bool toggleFullscreen
Definition Main.cs:19479
static bool releaseUI
Definition Main.cs:19632
const int sectionWidth
Definition Main.cs:20358
static float lightningDecay
Definition Main.cs:19857
static Microsoft.Xna.Framework.Vector2 DrawWhip_RainbowWhip(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
Definition Main.cs:10553
static Microsoft.Xna.Framework.Graphics.Color hcColor
Definition Main.cs:20307
static bool[] tileNoSunLight
Definition Main.cs:20557
float chestStackScale
Definition Main.cs:20331
static Microsoft.Xna.Framework.Graphics.Color GetPlayerHeadBordersColor(Player plr)
Definition Main.cs:14872
static bool IsEnginePreloaded
Definition Main.cs:20217
static Action< Microsoft.Xna.Framework.Vector2, float > OnPostFullscreenMapDraw
Definition Main.cs:4930
static double time
Definition Main.cs:19137
void CheckBunny()
Definition Main.cs:6019
static Microsoft.Xna.Framework.Vector2 ViewSize
Definition Main.cs:3799
static Microsoft.Xna.Framework.Graphics.Color[] teamColor
Definition Main.cs:20442
bool< SetupDrawInterfaceLayers > b__2162_26()
Definition Main.cs:18416
static bool IsItRaining
Definition Main.cs:3982
static bool LogicClient
Definition Main.cs:5513
static byte[,] jellyfishCageMode
Definition Main.cs:20770
static Recipe[] recipe
Definition Main.cs:19398
void DoUpdate(GameTime gameTime)
Definition Main.cs:7601
static Preferences _inputProfiles
Definition Main.cs:2846
static bool[] tileMergeDirt
Definition Main.cs:20506
static int LogoA
Definition Main.cs:19107
static bool netRelease
Definition Main.cs:18975
void DrawInterface_16_MapOrMinimap()
Definition Main.cs:12956
static Microsoft.Xna.Framework.Vector2 DrawPlayerItemPos(float gravdir, int itemtype)
Definition Main.cs:5220
static bool verboseNetplay
Definition Main.cs:20093
static Star[] star
Definition Main.cs:19290
static void WriteFancyWorldLoadErrorToConsole()
Definition Main.cs:6629
static bool slimeRain
Definition Main.cs:19050
static string cMapZoomIn
Definition Main.cs:20953
static float bottomWorld
Definition Main.cs:19005
static int invasionProgressDisplayLeft
Definition Main.cs:19563
static int maxSectionsX
Definition Main.cs:19014
void DrawBackGore()
Definition Main.cs:17402
static bool critterCage
Definition Main.cs:20629
static int musicError
Definition Main.cs:19698
static bool[,] mapWasContentLost
Definition Main.cs:20204
const int numTreeStyles
Definition Main.cs:20479
static int maxTilesY
Definition Main.cs:19011
static bool windPhysics
Definition Main.cs:19236
void OpenRecent()
Definition Main.cs:5745
static bool temporaryGUIScaleSliderUpdate
Definition Main.cs:19464
static void DrawInterface_18_DiagnoseVideo()
Definition Main.cs:12908
static FavoritesFile CloudFavoritesData
Definition Main.cs:20011
static void UpdateClient()
Definition Main.cs:17679
static int essDir
Definition Main.cs:18636
static string DrawMap_FindChestName(LocalizedText[] chestNames, Tile chestTile, int x, int y, int fullTileWidth=36)
Definition Main.cs:14899
static int GetProjectileDesiredShader(Projectile proj)
Definition Main.cs:9139
void DrawWorldCursor(bool magnify=false)
Definition Main.cs:12571
static int[] treeBGSet1
Definition Main.cs:18663
bool< SetupDrawInterfaceLayers > b__2162_17()
Definition Main.cs:18376
static float craftingAlpha
Definition Main.cs:18906
static int lo
Definition Main.cs:19104
static float shimmerDarken
Definition Main.cs:18900
static float _uiScaleWanted
Definition Main.cs:19960
void DrawInterface_39_MouseOver()
Definition Main.cs:12556
static float ambientWaterfallX
Definition Main.cs:19731
static string _oldNetplayStatusText
Definition Main.cs:19890
static bool GamepadDisableCursorItemIcon
Definition Main.cs:4028
static bool inputTextEscape
Definition Main.cs:19374
static int TotalMemotyFullClear
Definition Main.cs:21130
static int mapTargetY
Definition Main.cs:18870
static float screenYOffset
Definition Main.cs:1945
void DrawDust()
Definition Main.cs:11520
const int MaxShopIDs
Definition Main.cs:20066
static float grabMapInitialY
Definition Main.cs:1301
float controllerSunGrabPositionX
Definition Main.cs:21313
static void DoUpdate_WhilePaused()
Definition Main.cs:7683
static void DoUpdate_AnimateItemIcons()
Definition Main.cs:7534
void DrawSuperSpecialProjectiles(List< int > projCache, bool startSpriteBatch=true)
Definition Main.cs:11203
static void UpdateTime()
Definition Main.cs:17864
static byte[] wallLargeFrames
Definition Main.cs:20581
static PingMapLayer Pings
Definition Main.cs:18519
void DrawWires()
Definition Main.cs:15375
static int[] seagullCageFrame
Definition Main.cs:20668
bool _artLoaded
Definition Main.cs:19932
float logoScaleDirection
Definition Main.cs:21088
static NPCHeadRenderer TownNPCHeadRenderer
Definition Main.cs:19686
static float cursorAlpha
Definition Main.cs:3273
static bool UseHeatDistortion
Definition Main.cs:489
static ulong _drawCycleCounter
Definition Main.cs:18564
static bool drawingPlayerChat
Definition Main.cs:19362
static int[] ratCageFrameCounter
Definition Main.cs:20794
static void DrawInterface_Resources_Breath()
Definition Main.cs:12204
static int maxDustToDraw
Definition Main.cs:19020
List< int > DrawCacheNPCProjectiles
Definition Main.cs:20980
static int colorDelay
Definition Main.cs:19830
static ColorSlidersSet mouseBorderColorSlider
Definition Main.cs:19626
static int bgWidthScaled
Definition Main.cs:19878
static int SmartInteractProj
Definition Main.cs:3035
static MoonPhase GetMoonPhase()
Definition Main.cs:5162
uint GetBackgroundCounter()
Definition Main.cs:16727
static void CheckPlayerItemOwnership()
Definition Main.cs:17733
void DrawMapIcons_PotionOfReturnHomePosition(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 mapTopLeft, Microsoft.Xna.Framework.Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, string mouseTextString)
Definition Main.cs:14742
static int[] penguinCageFrame
Definition Main.cs:20803
const int InventoryCoinSlotsStart
Definition Main.cs:20415
static float ambientLavafallStrength
Definition Main.cs:19746
static bool serverStarting
Definition Main.cs:18993
static void DrawTileGridOption(bool magnify=false)
Definition Main.cs:13121
static Microsoft.Xna.Framework.Vector2 DrawWhip_CoolWhip(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
Definition Main.cs:10505
static int numStars
Definition Main.cs:19212
TilePaintSystemV2 TilePaintSystem
Definition Main.cs:21136
static string cTorch
Definition Main.cs:20938
static int WorldListSortMethod(WorldFileData data1, WorldFileData data2)
Definition Main.cs:5720
static int[,] slugCageFrame
Definition Main.cs:20821
void DrawSplash_LoadingStar(Microsoft.Xna.Framework.Graphics.Color splashColor)
Definition Main.cs:14245
static double starGameMath(double value=1.0)
Definition Main.cs:17023
static void SetGraphicsProfile(GraphicsProfile profile, bool forceSet)
Definition Main.cs:5321
static void DrawWOFTongueToPlayer(int i)
Definition Main.cs:11303
static float masterColor
Definition Main.cs:19206
void DrawSurfaceBG_Corrupt(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
Definition Main.cs:16539
static GameTime gameTimeCache
Definition Main.cs:18558
static void HandleMeteorFall()
Definition Main.cs:18081
static bool autoShutdown
Definition Main.cs:19707
static bool shortRender
Definition Main.cs:18828
void LoadFlameRing()
Definition Main.cs:15892
void DrawBG_ModifyBGFarBackLayerAlpha(int desiredBG, [Optional] int? desiredBG2, [Optional] float? transitionAmountOverride)
Definition Main.cs:17561
static int[] treeBGSet3
Definition Main.cs:18669
static float ambientLavafallY
Definition Main.cs:19743
static float cameraLerp
Definition Main.cs:18573
static GolfState LocalGolfState
Definition Main.cs:2617
static int mapTimeMax
Definition Main.cs:1175
static void UpdateDragonflyJarFrames()
Definition Main.cs:7493
static Microsoft.Xna.Framework.Vector2 DrawWhip_WhipSword(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
Definition Main.cs:10603
static bool gameInactive
Definition Main.cs:18951
static float cloudAlpha
Definition Main.cs:19164
static bool[] townNPCCanSpawn
Definition Main.cs:18585
static byte[] wallFrame
Definition Main.cs:20854
void DoDebugFunctions()
Definition Main.cs:7770
static int spawnTileY
Definition Main.cs:2365
static void NotifyOfEvent(GameNotificationType type)
Definition Main.cs:7596
static void Initialize_TileAndNPCData1()
Definition Main.cs:6890
static int[] duckCageFrame
Definition Main.cs:20656
static bool frameRelease
Definition Main.cs:18978
static float sBar
Definition Main.cs:3665
static bool npcChatFocus1
Definition Main.cs:2477
static bool blockInput
Definition Main.cs:2421
ThreadedRenderManager.BatchProcessCallback _processBatchFinishedCallback
Definition Main.cs:21250
static float windSpeedTarget
Definition Main.cs:19227
void InitTargets(int width, int height)
Definition Main.cs:15362
static bool NetHostOnly
Definition Main.cs:5482
void PostUpdateAllProjectiles()
Definition Main.cs:7785
static ShopHelper ShopHelper
Definition Main.cs:19440
static int[] underworldBG
Definition Main.cs:18702
const ulong WorldGeneratorVersion
Definition Main.cs:19914
int _musicReplayDelay
Definition Main.cs:21034
static bool resetClouds
Definition Main.cs:19245
static void DrawNPCDirect_Deerclops(SpriteBatch mySpriteBatch, NPC rCurrentNPC, Microsoft.Xna.Framework.Vector2 screenPos, int typeCache, Microsoft.Xna.Framework.Graphics.Color npcColor, Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect)
Definition Main.cs:9306
static Microsoft.Xna.Framework.Graphics.Color[] oldClothesColor
Definition Main.cs:3497
static long TotalMemory
Definition Main.cs:21124
static string ReadLineInput()
Definition Main.cs:6657
static float GraveyardVisualIntensity
Definition Main.cs:1819
static void UpdateTime_StartNight(bool stopEvents)
Definition Main.cs:17934
static int interactedDresserTopLeftX
Definition Main.cs:3525
static int _openedFrame
Definition Main.cs:19782
static bool TryGetBuffTime(int buffSlotOnPlayer, [Out] int buffTimeValue)
Definition Main.cs:12133
List< Player > drawPlayersPotion
Definition Main.cs:21154
static int maxMapUpdates
Definition Main.cs:18858
static int[] frogCageFrameCounter
Definition Main.cs:20749
static bool[] tileSolidTop
Definition Main.cs:20566
void UpdateBGVisibility_BackLayer(int? targetBiomeOverride, float? transitionAmountOverride)
Definition Main.cs:17528
static Effect tileShader
Definition Main.cs:4379
void DrawSurfaceBG_Crimson(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
Definition Main.cs:16261
static List< int > itemAnimationsRegistered
Definition Main.cs:20875
const int BG_STYLES_COUNT
Definition Main.cs:18834
static void DrawPendingMouseText(bool worldMouse=false)
Definition Main.cs:12492
void ClientInitialize()
Definition Main.cs:6904
static int lastMouseDrawItem
Definition Main.cs:19821
static FileMetadata MapFileMetadata
Definition Main.cs:349
const int maxGore
Definition Main.cs:20406
const int maxStarTypes
Definition Main.cs:20463
static Main.OnPlayerSelected _pendingCharacterSelect
Definition Main.cs:18534
static bool npcChatFocus2
Definition Main.cs:2491
static Microsoft.Xna.Framework.Graphics.Color ColorOfSurfaceBackgroundsBase
Definition Main.cs:19884
static bool[] npcCatchable
Definition Main.cs:20845
static float cloudBGAlpha
Definition Main.cs:18642
static int numCloudsTemp
Definition Main.cs:19221
static int desiredWorldTilesUpdateRate
Definition Main.cs:18774
static double invasionX
Definition Main.cs:19533
float GetForestToForestBackgroundLerperValue()
Definition Main.cs:15967
void DoUpdate_HandleInput()
Definition Main.cs:7949
static void ClearPendingPlayerSelectCallbacks()
Definition Main.cs:18191
static bool forceXMasForToday
Definition Main.cs:18738
bool< SetupDrawInterfaceLayers > b__2162_25()
Definition Main.cs:18408
static float musicPitch
Definition Main.cs:18798
static string npcChatText
Definition Main.cs:2463
static int npcChatCornerItem
Definition Main.cs:2561
static void DrawItemTextPopups(float scaleTarget)
Definition Main.cs:16923
static bool[] tileWaterDeath
Definition Main.cs:20545
static int maxItemUpdates
Definition Main.cs:19620
static Chest[] chest
Definition Main.cs:19326
static int selectedWorld
Definition Main.cs:19791
static WorldFileData ActiveWorldFileData
Definition Main.cs:19497
int mouseNPCType
Definition Main.cs:4638
static bool npcChatRelease
Definition Main.cs:2379
void DrawProj_FairyQueenLance(Projectile proj)
Definition Main.cs:10272
void RenderTiles()
Definition Main.cs:14945
void DrawInterface_40_InteractItemIcon()
Definition Main.cs:12497
static bool HasKeyboard
Definition Main.cs:8469
void DrawPlayers_BehindNPCs()
Definition Main.cs:9178
static int TileInteractionLY
Definition Main.cs:3105
static bool cSmartCursorModeIsToggleAndNotHold
Definition Main.cs:2909
static int[] travelShop
Definition Main.cs:19413
static int loadMapLastX
Definition Main.cs:1035
int firstTileY
Definition Main.cs:5055
static float ambientWaterfallY
Definition Main.cs:19734
static int[] birdCageFrameCounter
Definition Main.cs:20677
void HackForGamepadInputHell()
Definition Main.cs:12800
static bool _shouldUseWindyDayMusic
Definition Main.cs:19722
const int maxMoons
Definition Main.cs:20473
void LoadProjectile(int i)
Definition Main.cs:15607
static void RegisterItemAnimation(int index, DrawAnimation animation)
Definition Main.cs:5241
static bool SettingDontScaleMainMenuUp
Definition Main.cs:170
static string motd
Definition Main.cs:19476
static int[,] scorpionCageFrame
Definition Main.cs:20713
static int maxLoadWorld
Definition Main.cs:20899
static float ambientVolume
Definition Main.cs:1847
static bool[] tileCut
Definition Main.cs:20509
static int[] npcFrameCount
Definition Main.cs:20902
const string copyrightText
Definition Main.cs:19911
static string ValueToCoins(long value)
Definition Main.cs:14623
static bool menuBGChangedNight
Definition Main.cs:19488
static bool[] projPet
Definition Main.cs:20457
const double dayLength
Definition Main.cs:20445
static int PlayerOverheadChatMessageDisplayTime
Definition Main.cs:19356
static int updatesCountedForFPS
Definition Main.cs:18954
void SetMouseNPC_ToHousingQuery()
Definition Main.cs:4656
const int numInfoIcons
Definition Main.cs:20207
static bool[] projHostile
Definition Main.cs:20138
static float upTimer
Definition Main.cs:18603
static bool NetHost
Definition Main.cs:5544
static bool targetSet
Definition Main.cs:18627
static void SkipToTime(int timeToSet, bool setIsDayTime)
Definition Main.cs:17899
void DoDraw_WallsTilesNPCs()
Definition Main.cs:17275
static int stackCounter
Definition Main.cs:2099
void oldDrawWater(bool bg=false, int Style=0, float Alpha=1f)
Definition Main.cs:15113
static bool Setting_UseReducedMaxLiquids
Definition Main.cs:19353
void DrawProj_TrueNightsEdge(Projectile proj)
Definition Main.cs:9765
static void DrawProj_FlailChains(Projectile proj, Microsoft.Xna.Framework.Vector2 mountedCenter)
Definition Main.cs:10092
bool _musicLoaded
Definition Main.cs:19929
static FavoritesFile LocalFavoriteData
Definition Main.cs:337
static int LogoB
Definition Main.cs:19110
static UserInterface InGameUI
Definition Main.cs:20017
static int[,] jellyfishCageFrameCounter
Definition Main.cs:20776
void LoadNPC(int i)
Definition Main.cs:15594
static Microsoft.Xna.Framework.Vector2 CurrentPan
Definition Main.cs:503
static Ref< Effect > VertexPixelShaderRef
Definition Main.cs:20039
static void DrawWOFBody()
Definition Main.cs:11262
static Microsoft.Xna.Framework.Vector2 sceneWallPos
Definition Main.cs:18927
static Microsoft.Xna.Framework.Graphics.Color tileColor
Definition Main.cs:19125
static void DrawInterface_26_InterfaceLogic3()
Definition Main.cs:12811
static AnchoredEntitiesCollection sleepingManager
Definition Main.cs:19653
static bool menuBGChangedDay
Definition Main.cs:19485
static Main()
Definition Main.cs:18331
static float[] buffAlpha
Definition Main.cs:18912
static void ResetGameCounter()
Definition Main.cs:6753
static bool Quitting
Definition Main.cs:3371
static bool SmartInteractShowingGenuine
Definition Main.cs:2965
static bool _preventCraftingBecauseClickWasUsedToChangeFocusedRecipe
Definition Main.cs:21202
void LoadBackground(int i)
Definition Main.cs:15568
bool< SetupDrawInterfaceLayers > b__2162_24()
Definition Main.cs:18400
static bool ShouldShowInvisibleWalls()
Definition Main.cs:15228
static int minScreenW
Definition Main.cs:18783
static Item[] item
Definition Main.cs:19293
static StringBuilder UIStringBuilder
Definition Main.cs:19905
static int[] frogCageFrame
Definition Main.cs:20746
static bool screenMaximized
Definition Main.cs:19338
static float oldMaxRaining
Definition Main.cs:19170
static bool[] tileTable
Definition Main.cs:20551
static Microsoft.Xna.Framework.Vector2 ViewPosition
Definition Main.cs:3771
static void SetRecommendedZoomContext(Matrix matrix)
Definition Main.cs:3839
static void InputTextSignCancel()
Definition Main.cs:8398
static int _maxCharaceters
Definition Main.cs:19785
static bool HasHWCursor
Definition Main.cs:13840
void DrawItems()
Definition Main.cs:11459
static int invasionSizeStart
Definition Main.cs:19545
static bool mouseExit
Definition Main.cs:19572
static INetDiagnosticsUI _activeNetDiagnosticsUI
Definition Main.cs:20111
void FullscreenStartup()
Definition Main.cs:18295
static float DrawSurfaceBG_GetFogPower()
Definition Main.cs:15931
static bool[] slimeRainNPC
Definition Main.cs:19044
RenderTarget2D[,] mapTarget
Definition Main.cs:20198
static bool[] countsAsHostForGameplay
Definition Main.cs:19410
static int lastNPCUpdate
Definition Main.cs:19611
static void LoadWorlds()
Definition Main.cs:5700
static float essScale
Definition Main.cs:18633
static float ambientLavaStrength
Definition Main.cs:19755
void DrawRain()
Definition Main.cs:11467
void DoDraw_Tiles_NonSolid()
Definition Main.cs:17325
static bool TryFreeingElderSlime(int npcIndex)
Definition Main.cs:12023
static void StartClientGameplay()
Definition Main.cs:14013
static bool betterDebugRelease
Definition Main.cs:18621
static bool TrialMode
Definition Main.cs:21004
static bool autoPass
Definition Main.cs:19836
Stopwatch _worldUpdateTimeTester
Definition Main.cs:21052
void DrawInterface(GameTime gameTime)
Definition Main.cs:12425
static int[] grasshopperCageFrameCounter
Definition Main.cs:20836
static bool[] tileSpelunker
Definition Main.cs:20563
static bool[] pvpBuff
Definition Main.cs:20144
static int buffScanAreaWidth
Definition Main.cs:18792
void DrawInterface_21_HairWindow()
Definition Main.cs:12869
RenderTarget2D backgroundTarget
Definition Main.cs:20189
static KeyboardState inputText
Definition Main.cs:19515
static bool IsTrialMode()
Definition Main.cs:6206
static int[] squirrelCageFrameCounterOrange
Definition Main.cs:20647
static int stackDelay
Definition Main.cs:2113
WaterfallManager waterfallManager
Definition Main.cs:4232
static bool SettingBlockGamepadsEntirely
Definition Main.cs:156
void UnloadSplashScreenTextures()
Definition Main.cs:14204
static SpriteBatch spriteBatch
Definition Main.cs:20283
Microsoft.Xna.Framework.Graphics.Texture2D[] oldBackTextureValues
Definition Main.cs:433
static uint GameUpdateCount
Definition Main.cs:4762
static float invasionProgressAlpha
Definition Main.cs:19566
static Effect pixelShader
Definition Main.cs:4317
static bool gamePad
Definition Main.cs:18729
static void CheckAssignItemOwnership()
Definition Main.cs:17746
static IAudioSystem audioSystem
Definition Main.cs:20494
static bool anglerQuestFinished
Definition Main.cs:2603
void DoUpdateInWorld(Stopwatch sw)
Definition Main.cs:7847
static bool[] meleeBuff
Definition Main.cs:20156
static string cHook
Definition Main.cs:20935
void DrawHealthBar(float X, float Y, int Health, int MaxHealth, float alpha, float scale=1f, bool noFlip=false, bool inUISpace=false)
Definition Main.cs:9099
static VertexColors _glowPaintColors
Definition Main.cs:21268
static void DrawNPCDirect_Faeling(SpriteBatch mySpriteBatch, NPC rCurrentNPC, Microsoft.Xna.Framework.Vector2 screenPos, int typeCache, Microsoft.Xna.Framework.Graphics.Color npcColor, Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect)
Definition Main.cs:9357
static void LockCraftingForThisCraftClickDuration()
Definition Main.cs:11983
static bool[] buffNoTimeDisplay
Definition Main.cs:20165
MagicMissileDrawer magicMissileDrawer
Definition Main.cs:21169
static GraphicsProfile _currentGraphicsProfile
Definition Main.cs:20887
static UserInterface MenuUI
Definition Main.cs:20014
static int _itemIconCacheTime
Definition Main.cs:3609
RainbowRodDrawer rainbowRodDrawer
Definition Main.cs:21175
static double worldSurface
Definition Main.cs:19128
static int numClouds
Definition Main.cs:19218
static void PostDrawMenu(Point screenSizeCache, Point screenSizeCacheAfterScaling)
Definition Main.cs:14108
static string cInv
Definition Main.cs:20941
static void FlushBatches()
Definition Main.cs:5092
void AutoHost()
Definition Main.cs:6545
static void DrawSmartCursor()
Definition Main.cs:13402
static string playerPathName
Definition Main.cs:5349
void DrawPlayerChat()
Definition Main.cs:11939
static void AnimateTiles_CritterCages()
Definition Main.cs:7480
static Microsoft.Xna.Framework.Graphics.Color cursorColor
Definition Main.cs:3245
static void ResetKeyBindings()
Definition Main.cs:14172
static int[] ladybugCageFrameCounter
Definition Main.cs:20800
static bool IsLiquidStyleWater(int liquidStyle)
Definition Main.cs:15052
void DrawItem_AnimateSlot(int slot, int gameFramesPerSpriteFrame, int spriteFramesAmount)
Definition Main.cs:11348
float logoRotation
Definition Main.cs:21076
void OnTileChangeEvent(int x, int y, int count, TileChangeType eventType)
Definition Main.cs:18182
float _splashFrameCount
Definition Main.cs:21241
static int minScreenH
Definition Main.cs:18786
static bool CanPlayCreditsRoll()
Definition Main.cs:4194
void SortStardustDragonProjectiles(List< int > list)
Definition Main.cs:11237
static SpriteViewMatrix BackgroundViewMatrix
Definition Main.cs:19951
static int fpsCount
Definition Main.cs:18765
static void SyncAnInvasion(int toWho)
Definition Main.cs:13720
static void LoadPlayers()
Definition Main.cs:5731
static bool bannerMouseOver
Definition Main.cs:19095
static int waterStyle
Definition Main.cs:1651
static void shine(Microsoft.Xna.Framework.Graphics.Color newColor, int type)
Definition Main.cs:8942
static int[] ladybugCageFrame
Definition Main.cs:20797
TileDrawing TilesRenderer
Definition Main.cs:21139
static List< int > TentacleSpikeProjectiles
Definition Main.cs:19308
static float grabMapX
Definition Main.cs:1259
void WaitBackgroundDrawThreads(int numberOfThreads)
Definition Main.cs:14350
static void EntitySpriteDraw(Microsoft.Xna.Framework.Graphics.Texture2D texture, Microsoft.Xna.Framework.Vector2 position, Rectangle sourceRectangle, Microsoft.Xna.Framework.Graphics.Color color, float rotation, Microsoft.Xna.Framework.Vector2 origin, float scale, SpriteEffects effects, float worthless=0f)
Definition Main.cs:11130
static bool forceHalloweenForToday
Definition Main.cs:18741
static ItemShopSellbackHelper shopSellbackHelper
Definition Main.cs:2589
const int curRelease
Definition Main.cs:19902
static Microsoft.Xna.Framework.Graphics.Color ColorOfSurfaceBackgroundsModified
Definition Main.cs:19887
static bool inventorySortMouseOver
Definition Main.cs:19263
static bool[] tileContainer
Definition Main.cs:20617
const int maxItems
Definition Main.cs:20379
static float[] liquidAlpha
Definition Main.cs:1637
void DrawBlack(bool force=false)
Definition Main.cs:15215
static bool isMouseLeftConsumedByUI
Definition Main.cs:755
void DrawNPCHousesInWorld()
Definition Main.cs:11933
void LoadArmorBody(int i)
Definition Main.cs:15711
static int myPlayer
Definition Main.cs:2337
static void DoUpdate_F7_ToggleGraphicsDiagnostics()
Definition Main.cs:8002
static int[] treeX
Definition Main.cs:18705
float logoRotationSpeed
Definition Main.cs:21082
static string _savePath
Definition Main.cs:310
static bool[] tilePile
Definition Main.cs:20608
static void UpdateOwlCageFrames()
Definition Main.cs:7485
static int DiscoR
Definition Main.cs:18936
void ClearCachedTileDraws()
Definition Main.cs:8961
static int[] lavaFishBowlFrameCounter
Definition Main.cs:20743
static int[,] projectileIdentity
Definition Main.cs:19320
static int demonTorchDir
Definition Main.cs:19197
static float lightning
Definition Main.cs:19854
static int screenBorderlessPendingResizes
Definition Main.cs:19344
void OnceFailedLoadingAnAsset(string assetPath, Exception e)
Definition Main.cs:6946
static int netMode
Definition Main.cs:19599
List< GameInterfaceLayer > _gameInterfaceLayers
Definition Main.cs:21211
static Microsoft.Xna.Framework.Vector2 DrawWhip_WhipBland(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
Definition Main.cs:10675
static bool editSign
Definition Main.cs:2393
static string cBuff
Definition Main.cs:20932
static void Ambience()
Definition Main.cs:7471
void DrawRainInMenu()
Definition Main.cs:17245
static void DrawProj_Flamethrower(Projectile proj)
Definition Main.cs:10041
static int _lastFrameFPSCount
Definition Main.cs:21298
static void RunServerCallBack(object threadContext)
Definition Main.cs:6574
static int[] macawCageFrameCounter
Definition Main.cs:20695
static Point rulerLineDisplayValues
Definition Main.cs:2267
void DrawProjDirect(Projectile proj, int i=-1)
Definition Main.cs:10029
static void ResetWindCounter(bool resetExtreme=false)
Definition Main.cs:15466
static int spamCount
Definition Main.cs:19080
void YouCanSleepNow()
Definition Main.cs:6569
static void TeleportEffect(Rectangle effectRect, int Style, int extraInfo=0, float dustCountMult=1f, TeleportationSide side=TeleportationSide.Entry, [Optional] Microsoft.Xna.Framework.Vector2 otherPosition)
Definition Main.cs:7466
static bool skipMenu
Definition Main.cs:20090
static float gfxQuality
Definition Main.cs:1539
static void DoUpdate_F10_ToggleFPS()
Definition Main.cs:8017
static float[] cloudBGX
Definition Main.cs:18639
static bool worldMouseLeftRelease
Definition Main.cs:713
List< Player > _playersThatDrawAfterProjectiles
Definition Main.cs:21151
static bool inFancyUI
Definition Main.cs:825
static bool WallLightAt(int i, int j)
Definition Main.cs:14556
static int[] waterStriderCageFrameCounter
Definition Main.cs:20812
void DoDraw(GameTime gameTime)
Definition Main.cs:16916
static int[] squirrelCageFrame
Definition Main.cs:20638
static bool starGame
Definition Main.cs:21307
static double rockLayer
Definition Main.cs:19131
static int[] displayHeight
Definition Main.cs:20893
void ProcessBatchFinished(int index)
Definition Main.cs:14311
void TickLoadProcess()
Definition Main.cs:6998
static bool drawToScreen
Definition Main.cs:18624
static int superFastStack
Definition Main.cs:2127
static int[] snailCageFrame
Definition Main.cs:20719
static float ambientLavaY
Definition Main.cs:19752
void RenderBackground()
Definition Main.cs:14598
static Item[] mouseItemSource
Definition Main.cs:2183
static int bgDelay
Definition Main.cs:937
override void Update(GameTime gameTime)
Definition Main.cs:7558
List< DrawData > _voidLensData
Definition Main.cs:21157
static void SetResolution(int width, int height)
Definition Main.cs:18234
static float demonTorch
Definition Main.cs:19194
static bool[] wallDungeon
Definition Main.cs:20524
RenderTarget2D wallTarget
Definition Main.cs:20186
static void GetItemDrawFrame(int item, [Out] Microsoft.Xna.Framework.Graphics.Texture2D itemTexture, [Out] Rectangle itemFrame)
Definition Main.cs:9446
static byte[] fishBowlFrameMode
Definition Main.cs:20731
const int InventoryAmmoSlotsCount
Definition Main.cs:20424
const int maxItemText
Definition Main.cs:20370
int[] oldBackTexture
Definition Main.cs:405
static bool[] tileLighted
Definition Main.cs:20503
void MouseTextHackZoom(string text, [Optional] string buffTooltip)
Definition Main.cs:8563
static Gore[] gore
Definition Main.cs:19302
static int focusRecipe
Definition Main.cs:2323
static void DoDraw_UpdateCameraPosition()
Definition Main.cs:16957
static bool SmartInteractShowingFake
Definition Main.cs:2979
static Process tServer
Definition Main.cs:20301
static bool[] wallHouse
Definition Main.cs:20521
static void ReportInvasionProgress(int progress, int progressMax, int icon, int progressWave)
Definition Main.cs:13725
static bool< CanUpdateGameplay > k__BackingField
Definition Main.cs:19939
const int InventoryCoinSlotsCount
Definition Main.cs:20418
static bool expertMode
Definition Main.cs:4186
static bool SettingsEnabled_AutoReuseAllItems
Definition Main.cs:18477
static void DrawProj_Spear(Projectile proj, Microsoft.Xna.Framework.Graphics.Color projectileColor, SpriteEffects dir)
Definition Main.cs:10052
static short[] recentGameMode
Definition Main.cs:18816
static CreativeUI CreativeMenu
Definition Main.cs:18522
static int[] squirrelCageFrameOrange
Definition Main.cs:20644
static string oldStatusText
Definition Main.cs:19701
static bool hasFocus
Definition Main.cs:19386
static Microsoft.Xna.Framework.Vector2 mapFullscreenPos
Definition Main.cs:1497
EmpressBladeDrawer empressBladeDrawer
Definition Main.cs:21178
void DrawMagmaLayer(int bgStartX, int bgStartY, int bgLoops, int bgLoopsY, int diff, Microsoft.Xna.Framework.Vector2 drawOffset)
Definition Main.cs:14398
static Dictionary< string, MinimapFrame > MinimapFrames
Definition Main.cs:19917
static IPlayerRenderer PlayerRenderer
Definition Main.cs:19677
void DrawBackgroundBlackFill()
Definition Main.cs:16818
static int _currentRecipeBeingCrafted
Definition Main.cs:21205
static string cMapAlphaUp
Definition Main.cs:20959
static void ClearVisualPostProcessEffects()
Definition Main.cs:14075
static string versionNumber2
Definition Main.cs:19984
static void UpdateInvasion()
Definition Main.cs:17574
void DrawWalls()
Definition Main.cs:15275
static bool masterMode
Definition Main.cs:4176
void LoadSettings(bool allowLoad=true)
Definition Main.cs:6093
void LoadItem(int i)
Definition Main.cs:15581
static bool IsFastForwardingTime()
Definition Main.cs:6670
void RefreshPlayerDrawOrder()
Definition Main.cs:9172
static float[] musicFade
Definition Main.cs:19275
static bool mouseRight
Definition Main.cs:685
static bool dayTime
Definition Main.cs:19134
static float grabMapY
Definition Main.cs:1273
int DiscoStyle
Definition Main.cs:20355
int invBottom
Definition Main.cs:20430
static bool CrouchingEnabled
Definition Main.cs:18492
static int mouseTextColorChange
Definition Main.cs:19383
static void DrawInterface_37_DebugStuff()
Definition Main.cs:12566
static int martianLightDir
Definition Main.cs:19203
static bool flushLighting
Definition Main.cs:72
class< LoadContent_Deferred > IEnumerator
Definition Main.cs:21902
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973
static DrawAnimation[] itemAnimations
Definition Main.cs:20866
static bool worldMouseRightRelease
Definition Main.cs:741
static bool[] musicNoCrossFade
Definition Main.cs:20497
static void DrawWallOfCopperShortswords()
Definition Main.cs:12454
static bool _hasPendingNetmodeChange
Definition Main.cs:19605
static Dictionary< int, bool > SmartInteractTileCoordsSelected
Definition Main.cs:3077
static int signY
Definition Main.cs:3329
static int thunderDistance
Definition Main.cs:19866
override void Draw(GameTime gameTime)
Definition Main.cs:16894
static bool _MouseOversCanClear
Definition Main.cs:3567
static int rare
Definition Main.cs:3427
static bool dedServ
Definition Main.cs:19077
static int recStart
Definition Main.cs:19395
int lastTileY
Definition Main.cs:5069
static float cameraOffset
Definition Main.cs:1959
void DrawInterface_38_MouseCarriedObject()
Definition Main.cs:12561
static int PendingResolutionHeight
Definition Main.cs:19524
static void UpdateSlimeRainWarning()
Definition Main.cs:18109
static short moonModY
Definition Main.cs:19149
static Microsoft.Xna.Framework.Vector2 _lastPingMousePosition
Definition Main.cs:18528
static void SubmitSignText()
Definition Main.cs:11910
static int overloadedMousePositionX
Definition Main.cs:3385
static void TryPlayingCreditsRoll()
Definition Main.cs:7634
static Microsoft.Xna.Framework.Vector2 _itemIconCacheScreenPosition
Definition Main.cs:3581
RejectionMenuInfo RejectionMenuInfo
Definition Main.cs:21238
static bool[] tileMoss
Definition Main.cs:20590
void DoDraw_Waterfalls()
Definition Main.cs:17303
static ? bool _overrideForExpertMode
Definition Main.cs:19692
bool FullTile(int x, int y)
Definition Main.cs:15178
static int[] snailCageFrameCounter
Definition Main.cs:20722
static void NewTextMultiline(string text, bool force=false, [Optional] Microsoft.Xna.Framework.Graphics.Color c, int WidthLimit=-1)
Definition Main.cs:17786
void LoadAccShield(int i)
Definition Main.cs:15827
static byte HealthBarDrawSettings
Definition Main.cs:18594
float logoScaleSpeed
Definition Main.cs:21091
static void ApplyColorOfTheSkiesToTiles()
Definition Main.cs:17168
static int magmaBGFrame
Definition Main.cs:18981
static int TryInteractingWithMoneyTrough(Projectile proj)
Definition Main.cs:10912
void OpenShop(int shopIndex)
Definition Main.cs:11871
void DrawLiquid(bool bg=false, int Style=0, float Alpha=1f, bool drawSinglePassLiquids=true)
Definition Main.cs:15083
static bool refreshMap
Definition Main.cs:1021
void Initialize_Entities()
Definition Main.cs:6830
static int oldUndergroundBackground
Definition Main.cs:559
static bool SettingsEnabled_MinersWobble
Definition Main.cs:142
static double CalculateDamageNPCsTake(int Damage, int Defense)
Definition Main.cs:18146
static bool[] tileSign
Definition Main.cs:20620
ThreadedRenderManager _threadManager
Definition Main.cs:21253
static int cursorOverride
Definition Main.cs:3147
void RenderWater()
Definition Main.cs:15016
static void SetNPCShopIndex(int index)
Definition Main.cs:11887
static bool GamepadDisableCursorItemIconInner
Definition Main.cs:19972
void EnableAutoShutdown()
Definition Main.cs:6517
static bool _shouldUseStormMusic
Definition Main.cs:19725
class< LoadMusic_InSteps > d__1866
Definition Main.cs:22068
const int sectionHeight
Definition Main.cs:20361
static BasicDebugDrawer DebugDrawer
Definition Main.cs:20292
static void DrawInterface_36_Cursor()
Definition Main.cs:12591
static void DoUpdate_AnimateBackgrounds_UpdateForest(int bgIndex, int[] bgSet)
Definition Main.cs:8292
static bool changeTheTitle
Definition Main.cs:18747
static int wofNPCIndex
Definition Main.cs:18843
static int[] projFrames
Definition Main.cs:20454
static Item clearItem
Definition Main.cs:21295
static void EraseWorld(int i)
Definition Main.cs:6221
static void TriggerPing(Microsoft.Xna.Framework.Vector2 position)
Definition Main.cs:14839
static string blockKey
Definition Main.cs:2435
static string clientUUID
Definition Main.cs:18546
static bool IsItDay()
Definition Main.cs:17014
void AutoJoin(string IP)
Definition Main.cs:6533
List< int > DrawCacheNPCsBehindNonSolidTiles
Definition Main.cs:20983
static Stopwatch saveTime
Definition Main.cs:1525
static Microsoft.Xna.Framework.Vector3 shimmerShine
Definition Main.cs:21133
static bool cancelWormHole
Definition Main.cs:19851
static bool terrariasFixedTiming
Definition Main.cs:19638
static void TrySetPreparationState(Main.WorldPreparationState state)
Definition Main.cs:5656
static Microsoft.Xna.Framework.Graphics.Color quickAlpha(Microsoft.Xna.Framework.Graphics.Color oldColor, float Alpha)
Definition Main.cs:11315
static string OldPlayerPath
Definition Main.cs:2754
static Microsoft.Xna.Framework.Vector2 DrawWhip_WhipScythe(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
Definition Main.cs:10651
const double slimeRainMinTime
Definition Main.cs:20391
static float UIScale
Definition Main.cs:3898
static string cMapFull
Definition Main.cs:20965
static float upTimerMax
Definition Main.cs:18606
static int[] caveBackStyle
Definition Main.cs:18714
void DrawInterface_34_PlayerChat()
Definition Main.cs:12651
const int InventoryItemSlotsCount
Definition Main.cs:20412
void DrawProj_TerraBlade2Shot(Projectile proj)
Definition Main.cs:9889
static void DrawInterface_5_GamepadLockOn()
Definition Main.cs:13151
void DrawWoF()
Definition Main.cs:11243
static void UpdateTrialMode()
Definition Main.cs:6195
static bool[] wallLighted
Definition Main.cs:20530
static int miniMapY
Definition Main.cs:1343
static bool bloodMoon
Definition Main.cs:19155
List< int > DrawCacheFirstFractals
Definition Main.cs:21001
static void checkHalloween()
Definition Main.cs:7445
static bool CanShowInfoAccs
Definition Main.cs:13657
static float mapOverlayScale
Definition Main.cs:1413
static int[] grebeCageFrameCounter
Definition Main.cs:20665
List< int > _npcTypesThatAlreadyDrewAHead
Definition Main.cs:21196
static int inventoryTooltipTime
Definition Main.cs:212
static int PlayerListSortMethod(PlayerFileData data1, PlayerFileData data2)
Definition Main.cs:5737
bool chestCancelHover
Definition Main.cs:20352
int RecommendedEquipmentAreaPushUp
Definition Main.cs:12963
static bool IsGraphicsDeviceAvailable
Definition Main.cs:16881
static int[,] dragonflyJarFrame
Definition Main.cs:20710
static StardewValleyAnimation _stardewAnimation
Definition Main.cs:21184
static bool zenithWorld
Definition Main.cs:20008
static bool xMas
Definition Main.cs:18732
static void CloseNPCChatOrSign()
Definition Main.cs:11896
static bool ShouldDrawInfoIconsHorizontally
Definition Main.cs:13621
void LoadArmorHead(int i)
Definition Main.cs:15698
static int lastMouseY
Definition Main.cs:657
static void DrawInterface_Resources_ClearBuffs()
Definition Main.cs:12086
static bool updateMap
Definition Main.cs:1105
static bool mouseLeftRelease
Definition Main.cs:2029
void LoadAccBack(int i)
Definition Main.cs:15775
static int _minimapTopRightAnchorOffsetTowardsBottom
Definition Main.cs:21262
static string cDown
Definition Main.cs:20914
void DrawProj_Excalibur(Projectile proj)
Definition Main.cs:9554
float chestLootScale
Definition Main.cs:20325
SpelunkerProjectileHelper SpelunkerProjectileHelper
Definition Main.cs:21061
List< int > DrawCacheProjsBehindNPCsAndTiles
Definition Main.cs:20986
bool gammaTest
Definition Main.cs:20117
void DrawInfernoRings()
Definition Main.cs:17569
static Effect screenShader
Definition Main.cs:4286
static TextSnippet[] _netplayStatusTextSnippets
Definition Main.cs:19893
void OnSeedSelected(string text)
Definition Main.cs:13945
static float WindForVisuals
Definition Main.cs:5191
static Microsoft.Xna.Framework.Vector2[] OffsetsNPCOffhand
Definition Main.cs:20069
static void CancelHairWindow()
Definition Main.cs:12319
static float mapMinimapAlpha
Definition Main.cs:1399
static double timeForVisualEffects
Definition Main.cs:19140
void SetupDrawInterfaceLayers()
Definition Main.cs:12416
static Microsoft.Xna.Framework.Graphics.Color buffColor(Microsoft.Xna.Framework.Graphics.Color newColor, float R, float G, float B, float A)
Definition Main.cs:11162
static void SetFullScreen(bool fullscreen)
Definition Main.cs:18226
static string DefaultSeed
Definition Main.cs:19272
static int slimeRainKillCount
Definition Main.cs:19053
Chest[] shop
Definition Main.cs:2575
static bool _canShowMeteorFall
Definition Main.cs:19896
static Main instance
Definition Main.cs:18495
static string GetPlayerPathFromName(string playerName, bool cloudSave)
Definition Main.cs:6241
static void DoUpdate_AnimateVisualPlayerAura()
Definition Main.cs:8253
static bool PendingBorderlessState
Definition Main.cs:19527
void LoadWings(int i)
Definition Main.cs:15672
IEnumerator LoadMusic_InSteps()
Definition Main.cs:7023
void NewMOTD(string newMOTD)
Definition Main.cs:6363
static Microsoft.Xna.Framework.Graphics.Color oldHairColor
Definition Main.cs:3469
static GameModeData _currentGameModeInfo
Definition Main.cs:18504
void autoCreate(string worldSize)
Definition Main.cs:6353
static void startSnowMoon()
Definition Main.cs:7114
static int[] crimsonBG
Definition Main.cs:18690
void LoadAccHandsOn(int i)
Definition Main.cs:15737
static bool autoJoin
Definition Main.cs:18990
static bool DrawInterface_8_CheckF11UIHideToggle()
Definition Main.cs:13040
static BestiaryUnlockProgressReport GetBestiaryProgressReport()
Definition Main.cs:18117
static string chatText
Definition Main.cs:19368
static bool UseStormEffects
Definition Main.cs:475
void UpdateParticleSystems()
Definition Main.cs:5648
static bool[] tileHammer
Definition Main.cs:20542
static bool _blockFancyUIWhileLoading
Definition Main.cs:21229
int NPCBannerSorter(int npcIndex1, int npcIndex2)
Definition Main.cs:11923
static uint _gameUpdateCount
Definition Main.cs:18879
static object CurrentInputTextTakerOverride
Definition Main.cs:19359
static int SmartCursorX
Definition Main.cs:2937
static bool[] tileBrick
Definition Main.cs:20587
static void FixUIScale()
Definition Main.cs:18284
static bool AnyPlayerReadyToFightKingSlime()
Definition Main.cs:17879
static float ugBackTransition
Definition Main.cs:1749
static int[,] slugCageFrameCounter
Definition Main.cs:20824
bool TryGetAmmo(Item sourceItem, [Out] Item ammoItem, [Out] Microsoft.Xna.Framework.Graphics.Color ammoColor, [Out] float ammoScale, [Out] Microsoft.Xna.Framework.Vector2 ammoOffset)
Definition Main.cs:12525
static bool blockMouse
Definition Main.cs:19842
void RenderTiles2()
Definition Main.cs:14981
static Ref< Effect > ScreenShaderRef
Definition Main.cs:20030
static bool serverBootupInProgress
Definition Main.cs:19713
static MinimapFrame ActiveMinimapFrame
Definition Main.cs:86
static void CycleClothingStyle_Inner(Player plr)
Definition Main.cs:14165
static bool hideUI
Definition Main.cs:19629
static string worldPathName
Definition Main.cs:5362
int lastMusicPlayed
Definition Main.cs:21037
static int signHover
Definition Main.cs:3161
static void Sundialing()
Definition Main.cs:6679
List< int > DrawCacheNPCsOverPlayers
Definition Main.cs:20977
static int[] redBirdCageFrame
Definition Main.cs:20680
static NPCHeadRenderer BossNPCHeadRenderer
Definition Main.cs:19689
bool< SetupDrawInterfaceLayers > b__2162_31()
Definition Main.cs:18455
static double hue2rgb(double c, double t1, double t2)
Definition Main.cs:13826
static bool InSmartCursorHighlightArea(int x, int y, [Out] bool actuallySelected)
Definition Main.cs:5673
void DrawRockLayer(int bgStartX, int bgStartY, int bgLoops, int bgLoopsY, int diff, Microsoft.Xna.Framework.Vector2 drawOffset)
Definition Main.cs:14462
List< DrawData > _voidLensDataSillouette2
Definition Main.cs:21163
void CacheProjDraws()
Definition Main.cs:11175
static string defaultIP
Definition Main.cs:20132
void OldDrawBackground()
Definition Main.cs:14577
static float _minWind
Definition Main.cs:21040
static int DamageVar(float dmg, float luck=0f)
Definition Main.cs:18136
static bool armorHide
Definition Main.cs:18894
static short GetKeyState(int keyCode)
static int screenHeight
Definition Main.cs:2015
static void ClampScreenPositionToWorld()
Definition Main.cs:17494
void DrawInterface_25_ResourceBars()
Definition Main.cs:12827
void loadLib(string path)
Definition Main.cs:6555
static WorldSections sectionManager
Definition Main.cs:447
static Microsoft.Xna.Framework.Graphics.Color selColor
Definition Main.cs:3623
static int[] activeLiquidAlpha
Definition Main.cs:1623
static bool loadMapLock
Definition Main.cs:1049
static void GetAreaToLight([Out] int firstTileX, [Out] int lastTileX, [Out] int firstTileY, [Out] int lastTileY)
Definition Main.cs:17446
void MouseText_DrawBuffTooltip(string cursorText, string buffString, int X, int Y)
Definition Main.cs:8903
static TeleportPylonsSystem PylonSystem
Definition Main.cs:19437
static int backSpaceCount
Definition Main.cs:19470
static void startDedInput()
Definition Main.cs:6641
static void DrawWallOfFish()
Definition Main.cs:13374
void DrawSurfaceBG_Desert(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
Definition Main.cs:16482
void LoadDedConfig(string configPath)
Definition Main.cs:6391
void DrawInterface_27_Inventory()
Definition Main.cs:12806
const int maxStars
Definition Main.cs:20460
static bool[] tileStone
Definition Main.cs:20536
void DrawSurfaceBG()
Definition Main.cs:15905
static int[] corruptBG
Definition Main.cs:18675
void SortDrawCacheWorms()
Definition Main.cs:11222
static void DrawWallOfBoulders()
Definition Main.cs:12463
bool FlushWater
Definition Main.cs:21265
static Matrix Transform
Definition Main.cs:4428
static int moonPhase
Definition Main.cs:19143
static Microsoft.Xna.Framework.Graphics.Color ColorOfTheSkies
Definition Main.cs:19881
static int TotalMemoryUpdate
Definition Main.cs:21127
static int CurrentDrawnEntityShader
Definition Main.cs:18480
static void DrawItemIcon(SpriteBatch spriteBatch, Item theItem, Microsoft.Xna.Framework.Vector2 screenPositionForItemCenter, Microsoft.Xna.Framework.Graphics.Color itemLightColor, float sizeLimit)
Definition Main.cs:13683
static int GetMenuItemCount(IntPtr hWnd)
static int SmartInteractNPC
Definition Main.cs:3021
static bool qRelease
Definition Main.cs:18972
static IPlayerRenderer PotionOfReturnRenderer
Definition Main.cs:19680
static bool SkipAssemblyLoad
Definition Main.cs:18882
static void SetTileValue()
Definition Main.cs:6739
static bool KeyboardIsActive
Definition Main.cs:8500
static void DrawInterface_13_AchievementCompletePopups()
Definition Main.cs:13013
static void StartInvasion(int type=1)
Definition Main.cs:17640
static void MouseOversClear()
Definition Main.cs:13315
bool< SetupDrawInterfaceLayers > b__2162_11()
Definition Main.cs:18352
const int InventoryItemSlotsStart
Definition Main.cs:20409
static int oldNPCShop
Definition Main.cs:2533
static string cMount
Definition Main.cs:20947
static float MenuXMovement
Definition Main.cs:19845
static int[] backgroundWidth
Definition Main.cs:20860
static Microsoft.Xna.Framework.Vector2[] OffsetsPlayerHeadgear
Definition Main.cs:20078
static int[] itemFrame
Definition Main.cs:19332
static TileData tile
Definition Main.cs:19284
static bool useBackupFiles
Definition Main.cs:20436
static void InitializeItemAnimations()
Definition Main.cs:5253
static string worldName
Definition Main.cs:19119
static int setKey
Definition Main.cs:19833
static int[] treeMntBGSet3
Definition Main.cs:18657
void DrawProj_EmpressBlade(Projectile proj, float hueOverride)
Definition Main.cs:10361
static bool stopTimeOuts
Definition Main.cs:20096
static void TryRemovingBuff_CheckBuffHideMisc(int slot, int buffID)
Definition Main.cs:12195
static bool HasInteractibleObjectThatIsNotATile
Definition Main.cs:19569
void SetWorld(string world, bool cloud)
Definition Main.cs:6501
void DrawInterface_WorldMouse()
Definition Main.cs:13107
void SetBackgroundOffsets(int backgroundID, double backgroundTopMagicNumber, int pushBGTopHack)
Definition Main.cs:16334
static bool mouseText
Definition Main.cs:19815
void DrawKite(Projectile proj)
Definition Main.cs:10747
static Item mouseItem
Definition Main.cs:2155
static int RemoveMenu(IntPtr hMenu, int nPosition, int wFlags)
static KeyboardState oldInputText
Definition Main.cs:19518
const int MaxBannerTypes
Definition Main.cs:20060
List< Player > _playersThatDrawBehindNPCs
Definition Main.cs:21148
static int weatherCounter
Definition Main.cs:19215
static int magmaBGFrameCounter
Definition Main.cs:18984
static DrKeyboard_Base _keyboard
Definition Main.cs:19779
static Microsoft.Xna.Framework.Vector2 DrawWhip_FireWhip(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
Definition Main.cs:10529
static int slimeWarningTime
Definition Main.cs:19035
static void RunDedServ(string worldName, string password)
Definition Main.cs:6590
static void DoUpdate_AltEnter_ToggleFullscreen()
Definition Main.cs:7969
static int[] fairyJarFrameCounter
Definition Main.cs:20767
static bool npcChatFocus4
Definition Main.cs:2519
static int TileInteractionHY
Definition Main.cs:3133
static bool preventStackSplitReset
Definition Main.cs:2085
static bool menuServer
Definition Main.cs:19596
static int maxMP
Definition Main.cs:18801
static int mapStyle
Definition Main.cs:1245
void DrawMapIcons_PotionOfReturnAppearAfterUsePosition(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 mapTopLeft, Microsoft.Xna.Framework.Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, string mouseTextString)
Definition Main.cs:14686
static int dedServCount2
Definition Main.cs:20051
static byte mouseTextColor
Definition Main.cs:19380
void DrawProj_PiercingStarlight(Projectile proj)
Definition Main.cs:10205
static void StopSlimeRain(bool announce=true)
Definition Main.cs:17856
void DrawInterface_23_NPCSignsDialog()
Definition Main.cs:12854
void DrawProj_LightsBane(Projectile proj)
Definition Main.cs:9464
static float iS
Definition Main.cs:18789
static int[] redBirdCageFrameCounter
Definition Main.cs:20683
static void DrawInterface_0_InterfaceLogic1()
Definition Main.cs:13073
void DrawNPC(int iNPCIndex, bool behindTiles, LightMap lightMap, Rectangle lightRegion)
Definition Main.cs:9276
static string cLeft
Definition Main.cs:20911
static void UpdateTime_StartDay(bool stopEvents)
Definition Main.cs:17991
static int[] recentPort
Definition Main.cs:18810
void DrawSplash_LoadingFlower(Microsoft.Xna.Framework.Graphics.Color splashColor)
Definition Main.cs:14220
static bool BackgroundEnabled
Definition Main.cs:909
static List< PlayerFileData > PlayerList
Definition Main.cs:2687
static float startScreenYOffset
Definition Main.cs:1917
float chestCancelScale
Definition Main.cs:20349
const double nightLength
Definition Main.cs:20448
static bool UseExperimentalFeatures
Definition Main.cs:19269
static void DrawInterface_17_DiagnoseNet()
Definition Main.cs:12939
static int undergroundBackground
Definition Main.cs:545
static Matrix UIScaleMatrix
Definition Main.cs:3853
const int InventorySlotsTotal
Definition Main.cs:20427
static bool _cameraPanHasBlackTransition
Definition Main.cs:21301
static void SaveRecent()
Definition Main.cs:5779
static float grabMapInitialX
Definition Main.cs:1287
static bool WindyEnoughForKiteDrops
Definition Main.cs:7221
static float atmo
Definition Main.cs:19872
static void UpdateCreativeGameModeOverride()
Definition Main.cs:7618
static int maxTilesX
Definition Main.cs:19008
static int[] treeMntBGSet2
Definition Main.cs:18654
static bool worldMouseLeft
Definition Main.cs:699
static bool GameAskedToQuit
Definition Main.cs:19942
void DrawPlayers_AfterProjectiles()
Definition Main.cs:9184
ThreadLocal< Main.BackgroundDrawInfo > _currentBackgroundDrawInfo
Definition Main.cs:21256
void LoadArmorLegs(int i)
Definition Main.cs:15724
static void DrawInterface_4_Ruler()
Definition Main.cs:13159
static string GetInputText(string oldString, Rectangle region, int maxCharacters=-1, bool password=false, bool retainText=false, bool multiline=false, bool filterText=true)
Definition Main.cs:8537
static int resetMapFullCharacter
Definition Main.cs:1469
static Microsoft.Xna.Framework.Graphics.Color mouseColor
Definition Main.cs:3189
static void DrawMapFullscreenBackground(Microsoft.Xna.Framework.Vector2 screenPosition, int screenWidth, int screenHeight)
Definition Main.cs:14637
void DrawBG()
Definition Main.cs:17507
static int defaultPort
Definition Main.cs:20135
static bool maxQ
Definition Main.cs:18933
static short[] tileOreFinderPriority
Definition Main.cs:20575
static void DrawTileInWater(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 drawOffset, int x, int y, byte liquid, short frameX, short frameY)
Definition Main.cs:15095
static void NewText(string newText, byte R=255, byte G=255, byte B=255)
Definition Main.cs:17778
static int dungeonX
Definition Main.cs:19065
static DrawAnimation _monkStaffT3OnWorldAnimation
Definition Main.cs:20872
const int maxClouds
Definition Main.cs:20466
void SetNetPlayers(int mPlayers)
Definition Main.cs:6493
static bool[] tileSand
Definition Main.cs:20839
static Microsoft.Xna.Framework.Graphics.Color MouseBorderColor
Definition Main.cs:3231
static int[] fishBowlFrame
Definition Main.cs:20734
static int[] hallowBG
Definition Main.cs:18687
static void UpdateMenu()
Definition Main.cs:8412
static int GameMode
Definition Main.cs:4141
string SanitizePathArgument(string argumentName, string argumentPath)
Definition Main.cs:14034
void SetMouseNPC(int index, int type)
Definition Main.cs:4649
static string GetWorldNameFromPath(string filename)
Definition Main.cs:6284
void DrawCachedNPCs(List< int > npcCache, bool behindTiles)
Definition Main.cs:11181
static List< int > DaybreakProjectiles
Definition Main.cs:19311
static SpriteViewMatrix GameViewMatrix
Definition Main.cs:19948
static void SaveClothesWindow()
Definition Main.cs:12406
static Rectangle ReverseGravitySupport(Rectangle box)
Definition Main.cs:4566
static GameTime _drawInterfaceGameTime
Definition Main.cs:21214
static Microsoft.Xna.Framework.Vector2 DrawWhip_ThornWhip(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
Definition Main.cs:10577
static Microsoft.Xna.Framework.Vector3 rgbToHsl(Microsoft.Xna.Framework.Graphics.Color newColor)
Definition Main.cs:13832
static int DiscoG
Definition Main.cs:18942
static int offScreenRange
Definition Main.cs:18855
static bool playOldTile
Definition Main.cs:19728
void DrawItem_GetBasics(Item item, int slot, [Out] Microsoft.Xna.Framework.Graphics.Texture2D texture, [Out] Rectangle frame, [Out] Rectangle glowmaskFrame)
Definition Main.cs:11322
static AmbienceServer AmbienceServer
Definition Main.cs:19422
static void OpenHairWindow()
Definition Main.cs:12305
void DrawSurfaceBG_Snow(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
Definition Main.cs:16308
static bool signBubble
Definition Main.cs:3301
override void UnloadContent()
Definition Main.cs:7028
static string debugWords
Definition Main.cs:18726
static bool GlobalTimerPaused
Definition Main.cs:18555
static void DrawInterface_41_InterfaceLogic4()
Definition Main.cs:12475
float cTop
Definition Main.cs:21286
static int starsHit
Definition Main.cs:21310
void DrawInterface_InstrumentMouseText()
Definition Main.cs:12725
static bool[] tileRope
Definition Main.cs:20584
static Player clientPlayer
Definition Main.cs:19584
static void DrawInterface_1_2_DrawEntityMarkersInWorld()
Definition Main.cs:13257
static bool[] tileBouncy
Definition Main.cs:20572
static bool CanPauseGame()
Definition Main.cs:7650
static void DrawCursor(Microsoft.Xna.Framework.Vector2 bonus, bool smart=false)
Definition Main.cs:13868
static Microsoft.Xna.Framework.Graphics.Color TryApplyingPlayerStringColor(int playerStringColor, Microsoft.Xna.Framework.Graphics.Color stringColor)
Definition Main.cs:10164
static void GoToWorldSelect()
Definition Main.cs:14004
static int[] macawCageFrame
Definition Main.cs:20692
static Item tooltipPrefixComparisonItem
Definition Main.cs:21115
void SetTitle()
Definition Main.cs:6734
static bool NetClient
Definition Main.cs:5438
void Initialize_AlmostEverything()
Definition Main.cs:6778
static int LogicCheckScreenWidth
Definition Main.cs:19452
static bool invasionProgressNearInvasion
Definition Main.cs:2881
bool ShouldUpdateEntities()
Definition Main.cs:7820
static bool[] tileAlch
Definition Main.cs:20512
static bool getGoodWorld
Definition Main.cs:18510
static int hairStart
Definition Main.cs:3441
static GraphicsProfile _selectedGraphicsProfile
Definition Main.cs:20884
static Entity CurrentDrawnEntity
Definition Main.cs:18483
static void CloseKeyboard()
Definition Main.cs:8523
static bool validateSaves
Definition Main.cs:20439
static float _maxRain
Definition Main.cs:21049
static void TryPickingDefaultUIScale(float displayHeight)
Definition Main.cs:6045
static void CheckInvasionProgressDisplay()
Definition Main.cs:13706
static bool NetClientOnly
Definition Main.cs:5407
static int[] treeMntBGSet1
Definition Main.cs:18651
void DrawGore()
Definition Main.cs:9074
static int CalculateWaterStyle(bool ignoreFountains=false)
Definition Main.cs:15039
static int numAvailableRecipes
Definition Main.cs:2309
static bool Support4K
Definition Main.cs:19443
static void DrawTrail(Projectile proj, Microsoft.Xna.Framework.Vector2 rotatableOffsetFromCenter, Microsoft.Xna.Framework.Graphics.Color baseColor)
Definition Main.cs:10003
void MouseTextHackZoom(string text, int itemRarity, byte diff=0, [Optional] string buffTooltip)
Definition Main.cs:8568
static float _uiScaleUsed
Definition Main.cs:19963
static bool showItemText
Definition Main.cs:1693
void DrawProj_TrueExcalibur(Projectile proj)
Definition Main.cs:9690
static int snowDust
Definition Main.cs:18744
bool< SetupDrawInterfaceLayers > b__2162_15()
Definition Main.cs:18368
int firstTileX
Definition Main.cs:5027
static Microsoft.Xna.Framework.Vector2 DrawThickCursor(bool smart=false)
Definition Main.cs:13904
static float topWorld
Definition Main.cs:19002
static bool swapMusic
Definition Main.cs:19062
static int[] maggotCageFrameCounter
Definition Main.cs:20788
static float wFrCounter
Definition Main.cs:18597
void SetWorldName(string world)
Definition Main.cs:6509
static bool clothesWindow
Definition Main.cs:797
static string SavePath
Definition Main.cs:4045
static int[] seahorseCageFrameCounter
Definition Main.cs:20818
ChumBucketProjectileHelper ChumBucketProjectileHelper
Definition Main.cs:21064
static bool DrawPlayerDeathMarker(float X, float Y, float scale, float left, float top, float headScale, int i)
Definition Main.cs:14651
static float MinimumZoomComparerX
Definition Main.cs:19446
static ulong TileFrameSeed
Definition Main.cs:18561
static float inventoryScale
Definition Main.cs:2253
static int[] wallBlend
Definition Main.cs:20533
static void hslToRgb(Microsoft.Xna.Framework.Graphics.Color color, float Hue, float Saturation, float Luminosity, byte a=255)
Definition Main.cs:13818
static void DrawSmartInteract()
Definition Main.cs:13493
static bool[] tileShine2
Definition Main.cs:20518
static int[] specY
Definition Main.cs:19800
void DrawInterface_WorldMouseOver()
Definition Main.cs:13112
static int maxScreenW
Definition Main.cs:18777
bool chestLootHover
Definition Main.cs:20328
static void snowing()
Definition Main.cs:7351
bool DrawVirtualControls()
Definition Main.cs:13098
static IChatMonitor chatMonitor
Definition Main.cs:19767
static int[] bunnyCageFrame
Definition Main.cs:20632
static bool showSplash
Definition Main.cs:20126
static bool[] tileSolid
Definition Main.cs:20569
void DrawNPCDirect_QueenSlimeWings(NPC rCurrentNPC, SpriteBatch mySpriteBatch, Microsoft.Xna.Framework.Vector2 screenPos, Microsoft.Xna.Framework.Vector2 drawCenter, Microsoft.Xna.Framework.Graphics.Color originColor)
Definition Main.cs:9285
static float ambientLavaX
Definition Main.cs:19749
static int[] owlCageFrame
Definition Main.cs:20827
void LoadAccShoes(int i)
Definition Main.cs:15801
void DrawProj_TerraBlade2(Projectile proj)
Definition Main.cs:9819
static void DrawNPCHeadBoss(Entity theNPC, byte alpha, float headScale, float rotation, SpriteEffects effects, int npcID, float x, float y)
Definition Main.cs:14856
static bool InReforgeMenu
Definition Main.cs:2659
static float shimmerBrightenDelay
Definition Main.cs:18903
void UpdateDisplaySettings()
Definition Main.cs:18305
void NeverSleep()
Definition Main.cs:6564
static List< string > anglerWhoFinishedToday
Definition Main.cs:19416
static void DrawInterface_GolfBallIndicator()
Definition Main.cs:12233
static string cRight
Definition Main.cs:20917
static BestiaryUnlocksTracker BestiaryTracker
Definition Main.cs:19434
static void SelectPlayer(PlayerFileData data)
Definition Main.cs:18199
static void AnimateTiles_WeatherVane()
Definition Main.cs:8187
static void DoUpdate_F11_ToggleUI()
Definition Main.cs:7997
static float ambientLavafallX
Definition Main.cs:19740
static int activePlayerCount
Definition Main.cs:19026
static int hellBackStyle
Definition Main.cs:18720
static bool tilesLoaded
Definition Main.cs:19281
static void DrawUnderworldBackgroudLayer(bool flat, Microsoft.Xna.Framework.Vector2 screenOffset, float pushUp, int layerTextureIndex)
Definition Main.cs:14299
static int instantBGTransitionCounter
Definition Main.cs:923
static BlendState _multiplyBlendState
Definition Main.cs:21181
static int spawnTileX
Definition Main.cs:2351
static int WorldRollingBackupsCountToKeep
Definition Main.cs:19059
static int[] keyInt
Definition Main.cs:18756
static void OpenPlayerChat()
Definition Main.cs:7926
static bool IsEngineLoaded
Definition Main.cs:20228
static Terraria.Graphics.Camera Camera
Definition Main.cs:296
int currentNPCShowingChatBubble
Definition Main.cs:5394
static int masterColorDir
Definition Main.cs:19209
static SamplerState SamplerStateForCursor
Definition Main.cs:20295
static KeyboardState oldKeyState
Definition Main.cs:18888
static int[] turtleCageFrameCounter
Definition Main.cs:20761
static void TryRemovingBuff(int i, int b)
Definition Main.cs:12187
void DrawPlayerChatBubbles()
Definition Main.cs:17224
static void ToggleGameplayUpdates(bool state)
Definition Main.cs:3758
void DrawNPCCheckAlt(NPC n)
Definition Main.cs:9263
static bool[] tileLavaDeath
Definition Main.cs:20548
static bool editChest
Definition Main.cs:2407
static float mapMinimapScale
Definition Main.cs:1385
AmbientWindSystem _ambientWindSys
Definition Main.cs:21145
static int mapMinY
Definition Main.cs:1147
static int maxNPCUpdates
Definition Main.cs:19617
static bool _settingsButtonIsPushedToSide
Definition Main.cs:21220
static bool DrawInterface_10_CheckCaptureManager()
Definition Main.cs:13051
static int dungeonY
Definition Main.cs:19068
List< int > DrawCacheProjsBehindNPCs
Definition Main.cs:20989
static Matrix CurrentWantedZoomMatrix
Definition Main.cs:3828
Microsoft.Xna.Framework.Graphics.Texture2D[] backTextureValues
Definition Main.cs:419
static PlayerFileData ActivePlayerFileData
Definition Main.cs:2701
static Item HoverItem
Definition Main.cs:19467
const string TerrariaSaveFolderPath
Definition Main.cs:19923
static bool[] lightPet
Definition Main.cs:20153
static int[] availableRecipe
Definition Main.cs:2281
static float gFader
Definition Main.cs:853
static int[] birdCageFrame
Definition Main.cs:20674
const int numTileColors
Definition Main.cs:20476
static int oceanBG
Definition Main.cs:18699
static bool hidePVPIcons
Definition Main.cs:19806
static int moondialCooldown
Definition Main.cs:21013
static void stopMoonEvent()
Definition Main.cs:7074
static int[] tileShine
Definition Main.cs:20515
static Microsoft.Xna.Framework.Vector2 MouseScreen
Definition Main.cs:4441
static bool fastForwardTimeToDawn
Definition Main.cs:19719
static int[] grasshopperCageFrame
Definition Main.cs:20833
static bool drawBetterDebug
Definition Main.cs:18618
const int InventoryAmmoSlotsStart
Definition Main.cs:20421
DateTime lastYield
Definition Main.cs:21028
static int wofDrawFrameIndex
Definition Main.cs:18852
static Microsoft.Xna.Framework.Vector2 DrawWhip_BoneWhip(Projectile proj, List< Microsoft.Xna.Framework.Vector2 > controlPoints)
Definition Main.cs:10479
void UpdateAudio_DecideOnTOWMusic()
Definition Main.cs:7250
List< int > _occupantsListToDrawNPCHouses
Definition Main.cs:21190
void ReleaseTargets()
Definition Main.cs:15301
static SpriteBatch spriteBatch2
Definition Main.cs:20286
int selectedMenu
Definition Main.cs:21103
static float[] bgAlphaFrontLayer
Definition Main.cs:965
const string versionStringBecauseTheyreTheSame
Definition Main.cs:19899
void DrawProj_NightsEdge(Projectile proj)
Definition Main.cs:9516
RenderTarget2D blackTarget
Definition Main.cs:20180
static string cJump
Definition Main.cs:20920
List< int > DrawCacheProjsOverWiresUI
Definition Main.cs:20995
static bool _isLavafallMusicPlaying
Definition Main.cs:19764
static Microsoft.Xna.Framework.Graphics.Color OurFavoriteColor
Definition Main.cs:20210
static int[] tileFrameCounter
Definition Main.cs:20851
static int mapMaxX
Definition Main.cs:1133
static int maxActivePlayers
Definition Main.cs:19029
static string OldWorldPath
Definition Main.cs:2782
void DrawProj(int i)
Definition Main.cs:9981
static void DoUpdate_F8_ToggleNetDiagnostics()
Definition Main.cs:8007
static TileBatch tileBatch
Definition Main.cs:20289
int textBlinkerCount
Definition Main.cs:21118
static Action< GameTime > OnPreDraw
Definition Main.cs:4852
static int jungleBackStyle
Definition Main.cs:18723
void UpdateOceanWaterLineForAmbience()
Definition Main.cs:16129
static bool allChestStackHover
Definition Main.cs:19260
static bool RenderTargetsRequired
Definition Main.cs:3969
static Microsoft.Xna.Framework.Graphics.Color mcColor
Definition Main.cs:20304
static bool mouseRightRelease
Definition Main.cs:2043
static bool[] recentFavorite
Definition Main.cs:18825
bool _needsMenuUIRecalculation
Definition Main.cs:21235
static int mapMinX
Definition Main.cs:1119
static float invDir
Definition Main.cs:19257
static void DrawInterface_20_MultiplayerPlayerNames()
Definition Main.cs:12878
static float backSpaceRate
Definition Main.cs:19473
static bool craftingHide
Definition Main.cs:18891
void DrawWhip(Projectile proj)
Definition Main.cs:10463
static float hBar
Definition Main.cs:3651
void DrawNPCDirect(SpriteBatch mySpriteBatch, NPC rCurrentNPC, bool behindTiles, Microsoft.Xna.Framework.Vector2 screenPos, LightMap lightMap, Rectangle lightRegion)
Definition Main.cs:9351
static int lastMouseX
Definition Main.cs:643
static bool shouldDrawNetDiagnosticsUI
Definition Main.cs:20108
static int slimeWarningDelay
Definition Main.cs:19038
static bool eclipse
Definition Main.cs:19179
static int UnlockedMaxHair()
Definition Main.cs:12351
static bool HidePassword
Definition Main.cs:240
static Projectile[] projectile
Definition Main.cs:19317
static float exitScale
Definition Main.cs:19575
static Preferences _configuration
Definition Main.cs:2811
List< int > DrawCacheNPCsMoonMoon
Definition Main.cs:20974
static void DrawInvasionProgress()
Definition Main.cs:13733
void DrawSurfaceBG_GoodEvilDesert(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack)
Definition Main.cs:16373
static int[] treeBGSet2
Definition Main.cs:18666
static IMultiplayerClosePlayersOverlay ActiveClosePlayersTeamOverlay
Definition Main.cs:20114
void DrawInterface_Resources_Buffs()
Definition Main.cs:12097
static void DrawInterface_9_WireSelection()
Definition Main.cs:13057
void DrawMapIcons_LastGolfballHit(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 mapTopLeft, Microsoft.Xna.Framework.Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, string mouseTextString)
Definition Main.cs:14800
static float MapScale
Definition Main.cs:19848
void LoadAccBalloon(int i)
Definition Main.cs:15866
static int miniMapHeight
Definition Main.cs:1371
static Microsoft.Xna.Framework.Vector2[] OffsetsPlayerOffhand
Definition Main.cs:20072
static bool[] tileBlendAll
Definition Main.cs:20611
static int qaStyle
Definition Main.cs:895
static bool[] buffNoSave
Definition Main.cs:20162
static string[] recentIP
Definition Main.cs:18807
static int fadeCounter
Definition Main.cs:19251
void DoDraw_DrawNPCsOverTiles()
Definition Main.cs:17359
static GameModeData GameModeInfo
Definition Main.cs:4109
static byte gFadeDir
Definition Main.cs:867
static void DoUpdate_F9_ToggleLighting()
Definition Main.cs:8012
static int[] mouseCageFrame
Definition Main.cs:20752
static bool alreadyGrabbingSunOrMoon
Definition Main.cs:19152
static LiquidBuffer[] liquidBuffer
Definition Main.cs:19074
static bool shouldSetDefaultUIScale
Definition Main.cs:19656
WorldPreparationState
Definition Main.cs:21386
List< int > _npcsWithBannersToDraw
Definition Main.cs:21193
static int[] mouseCageFrameCounter
Definition Main.cs:20755
float[] menuItemScale
Definition Main.cs:21097
static Action< GameTime > OnPostDraw
Definition Main.cs:4891
static int npcShop
Definition Main.cs:2547
static KeyboardState keyState
Definition Main.cs:18885
static int invasionType
Definition Main.cs:19530
static int maxLoadPlayer
Definition Main.cs:20896
static bool resetMapFull
Definition Main.cs:1455
void PrepareDrawnEntityDrawing(Entity entity, int intendedShader)
Definition Main.cs:11101
static bool LocalModeServer
Definition Main.cs:19674
static Item reforgeItem
Definition Main.cs:2239
static int moonType
Definition Main.cs:19266
static BestiaryDatabase BestiaryDB
Definition Main.cs:19428
static int[] ratCageFrame
Definition Main.cs:20791
static string GetBuffTooltip(Player player, int buffType)
Definition Main.cs:12118
static void DrawInterface_15_InvasionProgressBars()
Definition Main.cs:12976
static int saveTimer
Definition Main.cs:18987
static int textureMaxHeight
Definition Main.cs:18864
static string AutogenSeedName
Definition Main.cs:19987
static void DrawInterface_6_TileGridOption()
Definition Main.cs:13140
static void CheckForMoonEventsStartingTemporarySeasons()
Definition Main.cs:7033
Microsoft.Xna.Framework.Graphics.Color[] backgroundColorSlicesStatic
Definition Main.cs:21247
static bool CanStartInvasion(int type=1, bool ignoreDelay=false)
Definition Main.cs:17607
static int[] owlCageFrameCounter
Definition Main.cs:20830
static int teamNamePlateDistance
Definition Main.cs:19347
static int BlackFadeIn
Definition Main.cs:531
static float _maxWind
Definition Main.cs:21043
float UIScaleMax
Definition Main.cs:3941
static bool forceServerShutdown
Definition Main.cs:19710
static string getPort
Definition Main.cs:19590
static string ConvertFromSafeArgument(string arg)
Definition Main.cs:6381
static bool SettingsEnabled_TilesSwayInWind
Definition Main.cs:1805
const int maxMusic
Definition Main.cs:20057
static int invasionDelay
Definition Main.cs:19539
static void Initialize_Items()
Definition Main.cs:6839
void DrawMiscMapIcons(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 mapTopLeft, Microsoft.Xna.Framework.Vector2 mapX2Y2AndOff, Rectangle? mapRect, float mapScale, float drawScale, string mouseTextString)
Definition Main.cs:14678
void MouseTextNoOverride(string cursorText, int rare=0, byte diff=0, int hackedMouseX=-1, int hackedMouseY=-1, int hackedScreenWidth=-1, int hackedScreenHeight=-1, int pushWidthX=0)
Definition Main.cs:8573
static ulong< UnpausedUpdateSeed > k__BackingField
Definition Main.cs:20024
static string defaultChestName
Definition Main.cs:2449
static int[,] dragonflyJarFrameCounter
Definition Main.cs:20707
static bool drawSkip
Definition Main.cs:18762
static int DiscoB
Definition Main.cs:18939
static SamplerState DefaultSamplerState
Definition Main.cs:5102
static string cMapAlphaDown
Definition Main.cs:20962
static ItemDropResolver ItemDropSolver
Definition Main.cs:19431
static int _itemIconCacheSelectedItemID
Definition Main.cs:3595
static bool ShouldNormalEventsBeAbleToStart()
Definition Main.cs:17915
static int textureMaxWidth
Definition Main.cs:18861
const int maxHairOfStylistDefault
Definition Main.cs:20491
static readonly int offLimitBorderTiles
Definition Main.cs:20054
static int uCount
Definition Main.cs:18960
static int extremeWindCounter
Definition Main.cs:19233
void DrawStarsInForeground(Main.SceneArea sceneArea)
Definition Main.cs:17128
static int[] squirrelCageFrameCounter
Definition Main.cs:20641
void DrawInterface_30_Hotbar()
Definition Main.cs:13593
static List< string > _requiredObjecsForCraftingText
Definition Main.cs:19803
static bool InGuideCraftMenu
Definition Main.cs:2645
static int teamCooldownLen
Definition Main.cs:18945
const int maxPlayers
Definition Main.cs:20373
void LoadAccBeard(int i)
Definition Main.cs:15879
static int windCounter
Definition Main.cs:19230
static int[] snowMntBG
Definition Main.cs:18681
static void DrawInterface_3_LaserRuler()
Definition Main.cs:13184
static Microsoft.Xna.Framework.Graphics.Color ControllerColor
Definition Main.cs:3203
static int lastItemUpdate
Definition Main.cs:19614
static void DrawProj_FishingLine(Projectile proj, float polePosX, float polePosY, Microsoft.Xna.Framework.Vector2 mountedCenter)
Definition Main.cs:10171
static int signX
Definition Main.cs:3315
static bool LogicHost
Definition Main.cs:5469
static int mapTargetX
Definition Main.cs:18867
void DoDraw_WallsAndBlacks()
Definition Main.cs:17411
static bool cameraGamePadLerp
Definition Main.cs:18582
Rectangle? GetBackgroundRect(int backgroundTextureIndex)
Definition Main.cs:16701
static bool autoSave
Definition Main.cs:1707
static Microsoft.Xna.Framework.Vector2 sceneTile2Pos
Definition Main.cs:18924
static int[] backgroundHeight
Definition Main.cs:20863
void LoadAccNeck(int i)
Definition Main.cs:15840
static void LoadTestLog(string logname)
Definition Main.cs:6941
const double slimeRainMinDelay
Definition Main.cs:20397
int DrawSurfaceBG_GetLayerYOffset(int bgTextureIndex)
Definition Main.cs:15961
static bool ignoreErrors
Definition Main.cs:20129
static Microsoft.Xna.Framework.Vector2 destroyerHB
Definition Main.cs:18513
void DrawGoreBehind()
Definition Main.cs:9046
static bool drewLava
Definition Main.cs:1595
static int mouseItemSourceIndex
Definition Main.cs:2197
void MouseTextInner(Main.MouseTextCache info, bool worldMouse)
Definition Main.cs:8588
const int maxChests
Definition Main.cs:20376
static string newWorldName
Definition Main.cs:19794
static int LogicCheckScreenHeight
Definition Main.cs:19455
static ConcurrentQueue< Action > _mainThreadActions
Definition Main.cs:18630
static void CacheSupportedDisplaySizes()
Definition Main.cs:6928
static Action OnRenderTargetsReleased
Definition Main.cs:4969
static void ErasePlayer(int i)
Definition Main.cs:6215
static float cursorScale
Definition Main.cs:3287
static int thunderDelay
Definition Main.cs:19863
static ParticleRenderer ParticleSystem_World_OverPlayers
Definition Main.cs:19644
static MapHeadRenderer MapPlayerRenderer
Definition Main.cs:19683
bool DrawInterface_11_IngameOptionsMenu()
Definition Main.cs:13034
void DrawSurfaceBG_BackMountainsStep2(int pushBGTopHack)
Definition Main.cs:16069
static int dedServCount1
Definition Main.cs:20048
static float MinimumZoomComparerY
Definition Main.cs:19449
static void DrawInterface_Resources_GolfPower()
Definition Main.cs:12224
static int menuFocus
Definition Main.cs:19839
static void DoUpdate_HandleChat()
Definition Main.cs:7944
static void clrInput()
Definition Main.cs:8459
static void Moondialing()
Definition Main.cs:6688
void DrawInterface_14_EntityHealthBars()
Definition Main.cs:12983
void DrawProj_CoolWhipMinion(Projectile proj)
Definition Main.cs:10408
void GUIBarsDraw()
Definition Main.cs:12066
void AutoPass()
Definition Main.cs:6525
static void HelpText()
Definition Main.cs:11561
static void DrawInterface_35_YouDied()
Definition Main.cs:12626
void DrawCapture(Rectangle area, CaptureSettings settings)
Definition Main.cs:14929
const int maxCharSelectHair
Definition Main.cs:20488
static bool TOWMusicUnlocked
Definition Main.cs:1665
static void SetupTileMerge()
Definition Main.cs:5236
static UnifiedRandom rand
Definition Main.cs:20470
static float bgScale
Definition Main.cs:19875
static RasterizerState Rasterizer
Definition Main.cs:20084
static Action OnEngineLoad
Definition Main.cs:4734
void DrawInterface_28_InfoAccs()
Definition Main.cs:12795
static void DoUpdate_Enter_ToggleChat()
Definition Main.cs:7921
const int MaxTimeout
Definition Main.cs:20905
void GUIBarsDrawInner()
Definition Main.cs:12079
static void CheckMonoliths()
Definition Main.cs:16863
static Main.WorldPreparationState _worldPreparationState
Definition Main.cs:19458
static bool notTheBeesWorld
Definition Main.cs:19999
static void UpdateMinimapAnchors()
Definition Main.cs:14629
float logoScale
Definition Main.cs:21085
void LoadContent_TryEnteringHiDef()
Definition Main.cs:6988
static int worldID
Definition Main.cs:19122
static bool grabMapInProgress
Definition Main.cs:1315
static byte gFade
Definition Main.cs:839
static bool npcChatFocus3
Definition Main.cs:2505
static void UpdateUIStates(GameTime gameTime)
Definition Main.cs:7761
void DrawInterface_7_TownNPCHouseBanners()
Definition Main.cs:13091
static int miniMapX
Definition Main.cs:1329
void PreUpdateAllProjectiles()
Definition Main.cs:7775
void DrawCachedProjs(List< int > projCache, bool startSpriteBatch=true)
Definition Main.cs:11191
static Matrix _currentWantedZoomMatrix
Definition Main.cs:19954
static float rightWorld
Definition Main.cs:18999
int[] _npcIndexWhoHoldsHeadIndex
Definition Main.cs:21199
static int[] bgFrame
Definition Main.cs:993
static int frameRate
Definition Main.cs:18966
static Microsoft.Xna.Framework.Graphics.Color hslToRgb(Microsoft.Xna.Framework.Vector3 hslVector)
Definition Main.cs:13783
void DrawContinuousTrail(Projectile proj)
Definition Main.cs:9995
static NPC[] npc
Definition Main.cs:19299
static int[] displayWidth
Definition Main.cs:20890
static int maxNetPlayers
Definition Main.cs:19023
void GraphicsDeviceLost(object sender, EventArgs evt)
Definition Main.cs:16889
static bool lockMenuBGChange
Definition Main.cs:19491
static int multiplayerNPCSmoothingRange
Definition Main.cs:19350
static float newDefaultUIScale
Definition Main.cs:19659
static bool noTrapsWorld
Definition Main.cs:20005
static bool recFastScroll
Definition Main.cs:19389
static string[] keyString
Definition Main.cs:18753
void LoadGore(int i)
Definition Main.cs:15620
static float backgroundLayerTransitionSpeed
Definition Main.cs:19869
static float armorAlpha
Definition Main.cs:18909
void UpdateWeather(GameTime gameTime, int currentDayRateIteration)
Definition Main.cs:15501
CameraModifierStack CameraModifiers
Definition Main.cs:21304
static float GameZoomTarget
Definition Main.cs:19966
static void DrawInterface_FinalUI()
Definition Main.cs:12586
static void DrawNPCDirect_DeerclopsLeg(SpriteBatch mySpriteBatch, NPC rCurrentNPC, Microsoft.Xna.Framework.Vector2 screenPos, int typeCache, Microsoft.Xna.Framework.Graphics.Color npcColor, Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect)
Definition Main.cs:9332
static float sunCircle
Definition Main.cs:517
RenderTarget2D mapSectionTexture
Definition Main.cs:20201
static GameNotificationType _flashNotificationType
Definition Main.cs:19978
static void UpdateTimeRate()
Definition Main.cs:6697
static int numDisplayModes
Definition Main.cs:19482
void DrawCurrentBackground(int bgStartX, int bgStartY, int bgLoops, int bgLoopsY, int diff, Microsoft.Xna.Framework.Vector2 drawOffset)
Definition Main.cs:14364
static string PlayerPath
Definition Main.cs:2741
static bool[] recentHardMode
Definition Main.cs:18813
static Microsoft.Xna.Framework.Graphics.Color randColor()
Definition Main.cs:13774
static Dictionary< string, IPlayerResourcesDisplaySet > PlayerResourcesSets
Definition Main.cs:19920
static UnifiedRandom _tempSeededRandom
Definition Main.cs:21187
static void EntitySpriteDraw(DrawData data)
Definition Main.cs:11154
static string hoverItemName
Definition Main.cs:19809
static bool afterPartyOfDoom
Definition Main.cs:20322
static IntPtr GetSystemMenu(IntPtr hWnd, bool bRevert)
static Microsoft.Xna.Framework.Graphics.Color ControllerBorderColor
Definition Main.cs:3217
static float mapOverlayAlpha
Definition Main.cs:1427
ThreadedRenderManager.BatchProcessCallback ProcessBatchFinishedCallback
Definition Main.cs:14321
void LoadHair(int i)
Definition Main.cs:15685
bool _isDrawingOrUpdating
Definition Main.cs:21289
WallDrawing WallsRenderer
Definition Main.cs:21142
static int miniMapWidth
Definition Main.cs:1357
static string CloudPlayerPath
Definition Main.cs:19506
static void DrawInterface_32_GamepadRadialHotbars()
Definition Main.cs:12750
static void UpdateDragonflyJarFrame(int[,] frames, int[,] frameCounters, int style, int variation)
Definition Main.cs:7524
RenderTarget2D backWaterTarget
Definition Main.cs:20171
static int DrawBuffIcon(int drawBuffText, int buffSlotOnPlayer, int x, int y)
Definition Main.cs:12158
static float GamepadCursorAlpha
Definition Main.cs:3707
void InitTargets()
Definition Main.cs:15336
static void DrawNPCHeadFriendly(Entity theNPC, byte alpha, float headScale, SpriteEffects dir, int npcID, float x, float y)
Definition Main.cs:14848
static Action OnTickForThirdPartySoftwareOnly
Definition Main.cs:4794
static void FakeLoadInvasionStart()
Definition Main.cs:17671
static float UIScaleWanted
Definition Main.cs:3866
static float caveParallax
Definition Main.cs:1679
static void DrawWallOfStars()
Definition Main.cs:13379
static double _lastPingMouseDownTime
Definition Main.cs:18531
static int[] wormCageFrameCounter
Definition Main.cs:20782
static bool recBigList
Definition Main.cs:19392
static void DrawInterface_2_SmartCursorTargets()
Definition Main.cs:13238
bool< SetupDrawInterfaceLayers > b__2162_21()
Definition Main.cs:18384
static void startDedInputCallBack()
Definition Main.cs:6646
static int netPlayCounter
Definition Main.cs:19608
static bool dontStarveWorld
Definition Main.cs:19996
static GenerationProgress AutogenProgress
Definition Main.cs:20298
void DrawProj_TheHorsemansBlade(Projectile proj)
Definition Main.cs:9622
bool< SetupDrawInterfaceLayers > b__2162_29()
Definition Main.cs:18440
void DrawMultisegmentPet(Projectile proj)
Definition Main.cs:10733
void DoUpdate_AnimateWaterfalls()
Definition Main.cs:8228
static void UpdateTime_SpawnTownNPCs()
Definition Main.cs:18126
static void SetCameraLerp(float lerp, int time)
Definition Main.cs:4408
void DrawInterface_33_MouseText()
Definition Main.cs:12664
void DrawSunAndMoon(Main.SceneArea sceneArea, Microsoft.Xna.Framework.Graphics.Color moonColor, Microsoft.Xna.Framework.Graphics.Color sunColor, float tempMushroomInfluence)
Definition Main.cs:17053
static short[] tileGlowMask
Definition Main.cs:20614
void DrawMurderAurora(Projectile proj)
Definition Main.cs:10439
void DrawNPCExtras(NPC n, bool beforeDraw, float addHeight, float addY, Microsoft.Xna.Framework.Graphics.Color npcColor, Microsoft.Xna.Framework.Vector2 halfSize, SpriteEffects npcSpriteEffect, Microsoft.Xna.Framework.Vector2 screenPosition)
Definition Main.cs:9458
void DrawItem(Item item, int whoami)
Definition Main.cs:11356
void GUIChatDraw()
Definition Main.cs:13598
static string ConvertToSafeArgument(string arg)
Definition Main.cs:6371
static void ReleaseHostAndPlayProcess()
Definition Main.cs:14026
static int[] fishBowlFrameCounter
Definition Main.cs:20737
override void LoadContent()
Definition Main.cs:6959
static int newMusic
Definition Main.cs:19083
static bool CaptureModeDisabled
Definition Main.cs:19668
static int GetPreferredBGStyleForPlayer()
Definition Main.cs:17537
static int[] blueBirdCageFrame
Definition Main.cs:20686
static int ProjectileUpdateLoopIndex
Definition Main.cs:19770
static int interactedDresserTopLeftY
Definition Main.cs:3539
static int helpText
Definition Main.cs:19188
static int _renderTargetMaxSize
Definition Main.cs:20881
float chestRenameScale
Definition Main.cs:20343
static bool screenBorderless
Definition Main.cs:19341
static void UpdateOldNPCShop()
Definition Main.cs:7882
static string cThrowItem
Definition Main.cs:20923
static int[] itemFrameCounter
Definition Main.cs:19335
static ColorSlidersSet mouseColorSlider
Definition Main.cs:19623
static int toolTipDistance
Definition Main.cs:18549
static void StartRain()
Definition Main.cs:17802
static int menuSkip
Definition Main.cs:21109
static float maxRaining
Definition Main.cs:19167
static int SmartCursorY
Definition Main.cs:2951
void DrawNPCDirect(SpriteBatch mySpriteBatch, NPC rCurrentNPC, bool behindTiles, Microsoft.Xna.Framework.Vector2 screenPos)
Definition Main.cs:9300
int splashCounter
Definition Main.cs:19641
static void DrawPrettyStarSparkle(float opacity, SpriteEffects dir, Microsoft.Xna.Framework.Vector2 drawpos, Microsoft.Xna.Framework.Graphics.Color drawColor, Microsoft.Xna.Framework.Graphics.Color shineColor, float flareCounter, float fadeInStart, float fadeInEnd, float fadeOutStart, float fadeOutEnd, float rotation, Microsoft.Xna.Framework.Vector2 scale, Microsoft.Xna.Framework.Vector2 fatness)
Definition Main.cs:10079
static bool renderNow
Definition Main.cs:573
void DrawInterface_Healthbar_Worm(NPC head, int tailID, float scale)
Definition Main.cs:13000
static void UpdateOwlCageFrame(int[] frames, int[] frameCounters, int style)
Definition Main.cs:7505
void PreDrawMenu([Out] Point screenSizeCache, [Out] Point screenSizeCacheAfterScaling)
Definition Main.cs:14119
static byte[] tileLargeFrames
Definition Main.cs:20578
static bool ThickMouse
Definition Main.cs:4013
void DrawStar(Main.SceneArea sceneArea, float starOpacity, Microsoft.Xna.Framework.Graphics.Color bgColorForStars, int i, Star theStar, bool artificial, bool foreground=false)
Definition Main.cs:17133
static bool AnnouncementBoxDisabled
Definition Main.cs:18498
static bool[] tileObsidianKill
Definition Main.cs:20602
static float lightningSpeed
Definition Main.cs:19860
static void DrawInterface_29_SettingsButton()
Definition Main.cs:12773
void MouseText_DrawItemTooltip(Main.MouseTextCache info, int rare, byte diff, int X, int Y)
Definition Main.cs:8620
void PrepareDrawnProjectileDrawing(Projectile proj)
Definition Main.cs:11092
static bool mapEnabled
Definition Main.cs:1231
static float slimeRainNPCSlots
Definition Main.cs:19041
void DrawMouseOver()
Definition Main.cs:11991
void DoDraw_DrawNPCsBehindTiles()
Definition Main.cs:17382
static int[] timeItemSlotCannotBeReusedFor
Definition Main.cs:19296
void DrawNPCs(bool behindTiles=false)
Definition Main.cs:9211
void UpdateAudio_DecideOnNewMusic()
Definition Main.cs:7283
static int stackSplit
Definition Main.cs:2071
static void Initialize_TileAndNPCData2()
Definition Main.cs:6844
static int[] maggotCageFrame
Definition Main.cs:20785
static bool SmartInteractPotionOfReturn
Definition Main.cs:3049
static string getIP
Definition Main.cs:19587
static byte[] wallFrameCounter
Definition Main.cs:20857
void DrawProjWithStarryTrail(Projectile proj, Microsoft.Xna.Framework.Graphics.Color projectileColor, SpriteEffects dir)
Definition Main.cs:10781
string _cachedTitle
Definition Main.cs:20087
static int cageFrames
Definition Main.cs:20626
bool chestDepositHover
Definition Main.cs:20340
static int ugMusic
Definition Main.cs:19092
static int[] mushroomBG
Definition Main.cs:18696
static Microsoft.Xna.Framework.Vector2 screenLastPosition
Definition Main.cs:1987
static int invasionProgressWave
Definition Main.cs:19557
static void ToggleFullScreen()
Definition Main.cs:18216
static bool ContentLoaded
Definition Main.cs:20020
static RenderTarget2D screenTarget
Definition Main.cs:20192
static int maxRain
Definition Main.cs:19032
void updateCloudLayer()
Definition Main.cs:7458
static int[] waterStriderCageFrame
Definition Main.cs:20809
static bool tenthAnniversaryWorld
Definition Main.cs:19993
static void ChangeRain()
Definition Main.cs:17835
static GeneralIssueReporter IssueReporter
Definition Main.cs:21019
static ulong LobbyId
Definition Main.cs:18540
void RenderWalls()
Definition Main.cs:15281
static bool noWindowBorder
Definition Main.cs:20081
FlameLashDrawer flameLashDrawer
Definition Main.cs:21166
static string WorldPath
Definition Main.cs:2728
const double LeinforsBalanceRequestForSlimeRainChance
Definition Main.cs:20400
static bool[,] initMap
Definition Main.cs:18873
static int[] treeStyle
Definition Main.cs:18708
static double slimeRainTime
Definition Main.cs:19047
static string buffString
Definition Main.cs:19098
void OnWorldNamed(string text)
Definition Main.cs:13965
static Microsoft.Xna.Framework.Vector2 sceneTilePos
Definition Main.cs:18921
static int[] desertBG
Definition Main.cs:18693
static bool[] wallLight
Definition Main.cs:20527
void UpdateBGVisibility_FrontLayer(int? targetBiomeOverride, float? transitionAmountOverride)
Definition Main.cs:17519
static bool _isWaterfallMusicPlaying
Definition Main.cs:19761
static bool chatRelease
Definition Main.cs:19365
static bool _needsLanguageSelect
Definition Main.cs:21112
static string _oldWorldPath
Definition Main.cs:19512
static int invasionProgress
Definition Main.cs:19551
static void InvasionWarning()
Definition Main.cs:17593
List< DrawData > _voidLensDataSillouette
Definition Main.cs:21160
int focusMenu
Definition Main.cs:21100
static string OldSavePath
Definition Main.cs:4078
static int invasionProgressMode
Definition Main.cs:2895
static int sundialCooldown
Definition Main.cs:19716
static float ambientWaterfallStrength
Definition Main.cs:19737
static void DrawNetplayStatusText()
Definition Main.cs:17212
void DedServ()
Definition Main.cs:6616
static bool IsTileBiomeSightable(ushort type, short tileFrameX, short tileFrameY, Microsoft.Xna.Framework.Graphics.Color sightColor)
Definition Main.cs:9000
static int[,] butterflyCageFrame
Definition Main.cs:20701
static int SmartInteractY
Definition Main.cs:3007
static bool playerInventory
Definition Main.cs:2057
static bool RGBRelease
Definition Main.cs:18969
static IntPtr LoadLibrary(string dllToLoad)
const string assemblyVersionNumber
Definition Main.cs:19908
static int dayRate
Definition Main.cs:18771
static Microsoft.Xna.Framework.Vector2[] OffsetsPlayerOnhand
Definition Main.cs:20075
static void DoUpdate_AnimateTileGlows()
Definition Main.cs:7904
static void DrawNPC_SlimeItem(NPC rCurrentNPC, int typeCache, Microsoft.Xna.Framework.Graphics.Color npcColor, float addedRotation)
Definition Main.cs:9433
static bool[] recentCrimson
Definition Main.cs:18819
static float upTimerMaxDelay
Definition Main.cs:18609
static Main.AutoPauseMode autoPause
Definition Main.cs:1763
static ? bool _overrideForMasterMode
Definition Main.cs:19695
void SortBabyBirdProjectiles(List< int > list)
Definition Main.cs:11231
void LoadAccHandsOff(int i)
Definition Main.cs:15756
static bool IsNPCActiveAndOneOfTypes(int npcIndex, short npcType)
Definition Main.cs:7873
static ParticleRenderer ParticleSystem_World_BehindPlayers
Definition Main.cs:19647
static bool drawDiag
Definition Main.cs:18612
static Ref< Effect > TileShaderRef
Definition Main.cs:20036
static string cMapStyle
Definition Main.cs:20968
static bool SmartCursorIsUsed
Definition Main.cs:5607
static int AnimateCritterPages
Definition Main.cs:21022
static int[] snail2CageFrame
Definition Main.cs:20725
void CacheNPCDraws()
Definition Main.cs:11169
const int maxNPCs
Definition Main.cs:20385
float controllerSunGrabPositionY
Definition Main.cs:21316
const int maxProjectiles
Definition Main.cs:20382
static int BartenderHelpTextIndex
Definition Main.cs:19191
static int[] duckCageFrameCounter
Definition Main.cs:20659
static int mapMaxY
Definition Main.cs:1161
static int screenWidth
Definition Main.cs:2001
static float cloudBGActive
Definition Main.cs:18645
static int[] bgFrameCounter
Definition Main.cs:1007
static Liquid[] liquid
Definition Main.cs:19071
static int overloadedMousePositionY
Definition Main.cs:3399
static Microsoft.Xna.Framework.Vector2 MouseWorld
Definition Main.cs:4456
static ItemDropDatabase ItemDropsDB
Definition Main.cs:19425
static int[] grebeCageFrame
Definition Main.cs:20662
static bool _target60FPS
Definition Main.cs:19662
static float[] bgAlphaFarBackLayer
Definition Main.cs:979
static int[] specX
Definition Main.cs:19797
static int[] penguinCageFrameCounter
Definition Main.cs:20806
static void ConsumeAllMainThreadActions()
Definition Main.cs:7550
bool _begunMainAsyncLoad
Definition Main.cs:19935
static void SetDisplayMode(int width, int height, bool fullscreen)
Definition Main.cs:18242
IEnumerator _gameContentLoadProcess
Definition Main.cs:21031
static string cSmart
Definition Main.cs:20944
void DrawTileEntities(bool solidLayer, bool overRenderTargets, bool intoRenderTargets)
Definition Main.cs:8955
static bool IsBorderlessDisplayAvailable()
Definition Main.cs:14141
static void SetGraphicsProfileInternal()
Definition Main.cs:5329
static float[] availableRecipeY
Definition Main.cs:19401
static List< int > StardustCellMinionShotProjectiles
Definition Main.cs:19314
static void EntitySpriteDraw(Microsoft.Xna.Framework.Graphics.Texture2D texture, Microsoft.Xna.Framework.Vector2 position, Rectangle sourceRectangle, Microsoft.Xna.Framework.Graphics.Color color, float rotation, Microsoft.Xna.Framework.Vector2 origin, Microsoft.Xna.Framework.Vector2 scale, SpriteEffects effects, float worthless=0f)
Definition Main.cs:11138
static int AutoSavePlayerTime
Definition Main.cs:21067
static IPlayerResourcesDisplaySet ActivePlayerResourcesSet
Definition Main.cs:100
static void CycleClothingStyle(Player plr)
Definition Main.cs:14146
void MouseText(string cursorText, string buffTooltip, int rare=0, byte diff=0, int hackedMouseX=-1, int hackedMouseY=-1, int hackedScreenWidth=-1, int hackedScreenHeight=-1, int pushWidthX=0, bool noOverride=false)
Definition Main.cs:8583
const int MF_BYPOSITION
Definition Main.cs:20277
int textBlinkerState
Definition Main.cs:21121
static short sunModY
Definition Main.cs:19146
void Debug_PrettifyMap()
Definition Main.cs:17207
static int mH
Definition Main.cs:19818
static bool SettingsEnabled_OpaqueBoxBehindTooltips
Definition Main.cs:184
static Player dresserInterfaceDummy
Definition Main.cs:3553
static int lastMouseDrawXOffset
Definition Main.cs:19824
static Point GetScreenOverdrawOffset()
Definition Main.cs:14527
static int[] cloudBG
Definition Main.cs:18648
static int[] snowBG
Definition Main.cs:18684
static bool drunkWorld
Definition Main.cs:18507
static bool localPlayerConnected
Definition Main.cs:19704
static int selClothes
Definition Main.cs:3483
static void TryInteractingWithMoneyTrough2(Projectile proj)
Definition Main.cs:11043
static void DrawInterface_19_SignTileBubble()
Definition Main.cs:12886
static void NewLightning()
Definition Main.cs:15472
static float gfxRate
Definition Main.cs:1553
static int UnderworldLayer
Definition Main.cs:5133
void HoverOverNPCs(Rectangle mouseRectangle)
Definition Main.cs:12010
static bool worldMouseRight
Definition Main.cs:727
void LoadAccFace(int i)
Definition Main.cs:15853
void LoadItemFlames(int i)
Definition Main.cs:15659
void UpdateAudio()
Definition Main.cs:7141
static bool IsValidPlayerStyle(Player plr)
Definition Main.cs:14159
static double CalculateDamagePlayersTake(int Damage, int Defense)
Definition Main.cs:18158
void LoadAccWaist(int i)
Definition Main.cs:15814
const int maxCombatText
Definition Main.cs:20367
static bool HoveringOverAnNPC
Definition Main.cs:3413
static bool Setting_Target60FPS
Definition Main.cs:6058
void DrawStarsInBackground(Main.SceneArea sceneArea, bool artificial)
Definition Main.cs:17106
static bool startFullscreen
Definition Main.cs:19665
static double CalculateDamagePlayersTakeInPVP(int Damage, int Defense)
Definition Main.cs:18152
static Matrix _uiScaleMatrix
Definition Main.cs:19957
static Microsoft.Xna.Framework.Graphics.Color creativeModeColor
Definition Main.cs:20310
static bool drawRelease
Definition Main.cs:18615
static List< int > BoneJavlinProjectiles
Definition Main.cs:19305
static int invasionProgressMax
Definition Main.cs:19554
static bool loadMap
Definition Main.cs:1063
static void FindAnnouncementBoxStatus()
Definition Main.cs:4099
static bool NetClientHost
Definition Main.cs:5575
static bool LightingEveryFrame
Definition Main.cs:18486
const int maxLiquidTypes
Definition Main.cs:20433
void ResetAllContentBasedRenderTargets()
Definition Main.cs:8970
static int FrameSkipMode
Definition Main.cs:19635
static int PendingResolutionWidth
Definition Main.cs:19521
static void UpdateSettingUnlocks()
Definition Main.cs:8348
void DrawProjectiles()
Definition Main.cs:9118
void LoadAccFront(int i)
Definition Main.cs:15788
static float eclipseLight
Definition Main.cs:19182
static int[] recentSizeX
Definition Main.cs:18822
static double UpdateTimeAccumulator
Definition Main.cs:18759
static int worldMouseY
Definition Main.cs:629
static Microsoft.Xna.Framework.Vector2 MouseWorld2
Definition Main.cs:4487
void DrawSurfaceBG_Jungle(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
Definition Main.cs:16440
bool< SetupDrawInterfaceLayers > b__2162_9()
Definition Main.cs:18344
static void UpdateServer()
Definition Main.cs:17754
static Stopwatch splashTimer
Definition Main.cs:21016
static void ItemIconCacheUpdate(int selectedItemID)
Definition Main.cs:13331
void DrawSurfaceBG_Hallow(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
Definition Main.cs:16339
static void ProcessAsyncLoad()
Definition Main.cs:6951
static string autoGenFileLocation
Definition Main.cs:21007
static int SmartInteractX
Definition Main.cs:2993
static RenderTarget2D waterTarget
Definition Main.cs:20174
static int numActiveLiquidAlpha
Definition Main.cs:1609
static void DrawProj_FlailChains_Old(Projectile proj, Microsoft.Xna.Framework.Vector2 mountedCenter)
Definition Main.cs:10111
static CombatText[] combatText
Definition Main.cs:19323
static void ClearSmartInteract()
Definition Main.cs:13889
static int iceBackStyle
Definition Main.cs:18717
static void DrawNPCChatBubble(int i)
Definition Main.cs:12047
static int drawsCountedForFPS
Definition Main.cs:18957
static float musicVolume
Definition Main.cs:1833
void DrawSurfaceBG_DrawChangeOverlay(int backgroundAreaId)
Definition Main.cs:16526
static ResolutionChangeEvent OnRenderTargetsInitialized
Definition Main.cs:4998
static int TileInteractionHX
Definition Main.cs:3119
static bool ShouldDrawBackgroundTileAt(int i, int j)
Definition Main.cs:14532
static bool snowMoon
Definition Main.cs:19161
float hellBlackBoxBottom
Definition Main.cs:377
void DrawTwinsPet(Projectile proj)
Definition Main.cs:10700
static bool pumpkinMoon
Definition Main.cs:19158
static void startPumpkinMoon()
Definition Main.cs:7087
static string cHeal
Definition Main.cs:20926
static void UpdateWorldPreparationState()
Definition Main.cs:5664
static readonly int maxBackgrounds
Definition Main.cs:20063
static int oldHairStyle
Definition Main.cs:3455
static int teamCooldown
Definition Main.cs:1567
void DrawProj_FairyQueenRangedItemShot(Projectile proj)
Definition Main.cs:10330
bool chestRenameHover
Definition Main.cs:20346
static bool placementPreview
Definition Main.cs:1777
void DoLightTiles()
Definition Main.cs:17474
static int lastRecipeUpdateId
Definition Main.cs:2295
static void CheckForMoonEventsScoreDisplay()
Definition Main.cs:7060
bool< SetupDrawInterfaceLayers > b__2162_28()
Definition Main.cs:18432
static float leftWorld
Definition Main.cs:18996
bool[] menuWide
Definition Main.cs:21232
static int mouseY
Definition Main.cs:601
static int[] mallardCageFrameCounter
Definition Main.cs:20653
static void InputTextChest()
Definition Main.cs:8385
static Microsoft.Xna.Framework.Graphics.Color hslToRgb(float Hue, float Saturation, float Luminosity, byte a=255)
Definition Main.cs:13792
static void AddEchoFurnitureTile(int tileId)
Definition Main.cs:6882
static Action OnTickForInternalCodeOnly
Definition Main.cs:4823
static int mapTime
Definition Main.cs:1189
static bool[] tileFrameImportant
Definition Main.cs:20605
static bool ReversedUpDownArmorSetBonuses
Definition Main.cs:254
static float mapMinimapDefaultScale
Definition Main.cs:18876
void GUIHotbarDrawInner()
Definition Main.cs:12271
void LoadTiles(int i)
Definition Main.cs:15646
static void QueueMainThreadAction(Action action)
Definition Main.cs:7542
static bool autoGen
Definition Main.cs:20451
static float NPCAddHeight(NPC theNPC)
Definition Main.cs:9113
static void WeGameRequireExitGame()
Definition Main.cs:18322
static Ref< Effect > PixelShaderRef
Definition Main.cs:20033
bool< SetupDrawInterfaceLayers > b__2162_27()
Definition Main.cs:18424
static bool[][] tileMerge
Definition Main.cs:20623
static int[] caveBackX
Definition Main.cs:18711
static int wofDrawAreaTop
Definition Main.cs:18846
static int menuMode
Definition Main.cs:3357
static Player PendingPlayer
Definition Main.cs:2715
void DoDraw_Tiles_Solid()
Definition Main.cs:17309
static bool showItemOwner
Definition Main.cs:20102
static float[] hotbarScale
Definition Main.cs:19377
static bool mapReady
Definition Main.cs:1091
void DrawSurfaceBG_Mushroom(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
Definition Main.cs:16137
static string cMapZoomOut
Definition Main.cs:20956
static IAssetRepository Assets
Definition Main.cs:19926
static string[] MonolithFilterNames
Definition Main.cs:21274
static ulong UnpausedUpdateSeed
Definition Main.cs:4247
void DrawInterface_22_DresserWindow()
Definition Main.cs:12860
static int ConvertPaintIdToTileShaderIndex(int paintIndexOnTile, bool isUsedForPaintingGrass, bool useWallShaderHacks)
Definition Main.cs:15460
static bool gameMenu
Definition Main.cs:2673
static void MouseText_DrawItemTooltip_GetLinesInfo(Item item, int yoyoLogo, int researchLine, int materialsLine, float oldKB, int numLines, string[] toolTipLine, bool[] preFixLine, bool[] badPreFixLine, int setBonusLine)
Definition Main.cs:8640
static int[] snail2CageFrameCounter
Definition Main.cs:20728
static bool ShouldPVPDraw
Definition Main.cs:11954
void DrawMenu(GameTime gameTime)
Definition Main.cs:14045
static bool[] tileNoFail
Definition Main.cs:20596
const int maxHairStyles
Definition Main.cs:20485
static Microsoft.Xna.Framework.Vector2 ReverseGravitySupport(Microsoft.Xna.Framework.Vector2 pos, float height=0f)
Definition Main.cs:4518
static int lastSignHover
Definition Main.cs:3175
static Preferences Configuration
Definition Main.cs:2824
void DrawWaters(bool isBackground=false)
Definition Main.cs:15058
static bool SmartCursorShowing
Definition Main.cs:2923
void UpdateViewZoomKeys()
Definition Main.cs:7579
static string[] recentWorld
Definition Main.cs:18804
static int[] wormCageFrame
Definition Main.cs:20779
static float shimmerAlpha
Definition Main.cs:18897
RenderTarget2D tileTarget
Definition Main.cs:20177
static int[] fairyJarFrame
Definition Main.cs:20764
static bool _isAsyncLoadComplete
Definition Main.cs:20123
static void UpdateAtmosphereTransparencyToSkyColor()
Definition Main.cs:17176
static Player LocalPlayer
Definition Main.cs:5267
static bool[] tileNoAttach
Definition Main.cs:20593
static Microsoft.Xna.Framework.Graphics.Color highVersionColor
Definition Main.cs:20316
static float _minRain
Definition Main.cs:21046
const int maxDust
Definition Main.cs:20364
void DrawUnderworldBackground(bool flat)
Definition Main.cs:14277
static bool SaveSettings()
Definition Main.cs:5792
static Dictionary< int, bool > SmartInteractTileCoords
Definition Main.cs:3063
static void DoUpdate_AnimateCursorColors()
Definition Main.cs:7892
static bool inputTextEnter
Definition Main.cs:19371
static int[] jungleBG
Definition Main.cs:18678
static Keys FavoriteKey
Definition Main.cs:20971
static bool mapFullscreen
Definition Main.cs:1441
static bool[] persistentBuff
Definition Main.cs:20147
static MapIconOverlay MapIcons
Definition Main.cs:18525
void DrawSplash(GameTime gameTime)
Definition Main.cs:14212
void LoadWall(int i)
Definition Main.cs:15633
void OpenLegacySettings()
Definition Main.cs:6098
List< int > DrawCacheProjsBehindProjectiles
Definition Main.cs:20992
static void SetBackColor(Main.InfoToSetBackColor info, [Out] Microsoft.Xna.Framework.Graphics.Color sunColor, [Out] Microsoft.Xna.Framework.Graphics.Color moonColor)
Definition Main.cs:17429
void DoUpdate_AnimateDiscoRGB()
Definition Main.cs:8265
bool< SetupDrawInterfaceLayers > b__2162_39()
Definition Main.cs:18471
static string cFavoriteKey
Definition Main.cs:20950
const double slimeRainMaxTime
Definition Main.cs:20388
static int[] mallardCageFrame
Definition Main.cs:20650
static Effect vertexPixelShader
Definition Main.cs:4348
static int maxMenuItems
Definition Main.cs:21094
List< Tuple< int, int, ushort > > DrawWiresSpecialTiles
Definition Main.cs:21271
static ServerMode MenuServerMode
Definition Main.cs:20500
FinalFractalHelper finalFractalHelper
Definition Main.cs:21172
static void TrySupporting8K()
Definition Main.cs:5334
static bool ServerSideCharacter
Definition Main.cs:18543
static AnchoredEntitiesCollection sittingManager
Definition Main.cs:19650
static bool hardMode
Definition Main.cs:18915
override void Initialize()
Definition Main.cs:6761
static bool CanUpdateGameplay
Definition Main.cs:3721
static Action< Microsoft.Xna.Framework.Vector2 > OnResolutionChanged
Definition Main.cs:4695
static int updateRate
Definition Main.cs:18963
static void ClosePlayerChat()
Definition Main.cs:7934
static int tooltipTime
Definition Main.cs:198
static float soundVolume
Definition Main.cs:1861
static void DrawWithOutlines(Entity entity, Microsoft.Xna.Framework.Graphics.Texture2D tex, Microsoft.Xna.Framework.Vector2 position, Rectangle rect, Microsoft.Xna.Framework.Graphics.Color color, float rotation, Microsoft.Xna.Framework.Vector2 origin, float scale, SpriteEffects effects)
Definition Main.cs:14864
static void PlayInteractiveProjectileOpenCloseSound(int projType, bool open)
Definition Main.cs:11021
static bool gamePaused
Definition Main.cs:18948
static string GetPlayerNameFromPath(string filename)
Definition Main.cs:6311
void DrawSurfaceBG_Forest(double backgroundTopMagicNumber, float bgGlobalScaleMultiplier, int pushBGTopHack, int[] bgTexIndexes)
Definition Main.cs:16755
static void checkXMas()
Definition Main.cs:7436
static byte[] Decompress(byte[] inputData, int outputSize)
Definition Main.cs:5694
static Item guideItem
Definition Main.cs:2225
static void DoUpdate_AnimateWalls()
Definition Main.cs:8220
static Sign[] sign
Definition Main.cs:19329
static int background
Definition Main.cs:1721
static FileMetadata WorldFileMetadata
Definition Main.cs:18516
static bool AllowUnfocusedInputOnGamepad
Definition Main.cs:18489
void DrawTileCracks(int crackType, HitTile hitter)
Definition Main.cs:16839
static bool SmartCursorWanted
Definition Main.cs:5622
static void ItemIconCacheVerification()
Definition Main.cs:13342
static Microsoft.Xna.Framework.Graphics.Color inventoryBack
Definition Main.cs:19812
static bool GamepadDisableInstructionsDisplay
Definition Main.cs:19975
void DrawInterface_31_BuilderAccToggles()
Definition Main.cs:12768
static HairstyleUnlocksHelper Hairstyles
Definition Main.cs:19278
static int buffScanAreaHeight
Definition Main.cs:18795
static Preferences InputProfiles
Definition Main.cs:2859
const bool USE_ASYNC_LOAD
Definition Main.cs:20120
static Microsoft.Xna.Framework.Vector2 GetPlayerArmPosition(Projectile proj)
Definition Main.cs:10755
static int oldClothesStyle
Definition Main.cs:3511
static BigProgressBarSystem BigBossProgressBar
Definition Main.cs:363
static string libPath
Definition Main.cs:19101
static bool unityMouseOver
Definition Main.cs:19671
static INetDiagnosticsUI ActiveNetDiagnosticsUI
Definition Main.cs:4592
static bool specialSeedWorld
Definition Main.cs:4163
static int worldMouseX
Definition Main.cs:615
static string _oldSavePath
Definition Main.cs:324
int mouseNPCIndex
Definition Main.cs:4624
static int ladyBugRainBoost
Definition Main.cs:18831
static bool IsTileSpelunkable(ushort typeCache, short tileFrameX, short tileFrameY)
Definition Main.cs:8987
static byte[,] butterflyCageMode
Definition Main.cs:20698
static int invasionWarn
Definition Main.cs:19542
static Player[] player
Definition Main.cs:19404
static int EquipPage
Definition Main.cs:18837
int lastTileX
Definition Main.cs:5041
static string _oldPlayerPath
Definition Main.cs:19509
static int timesTriedToFastStack
Definition Main.cs:2141
void UpdateWindyDayState()
Definition Main.cs:7336
static bool DisableIntenseVisualEffects
Definition Main.cs:769
static string statusText
Definition Main.cs:19116
static float wFrame
Definition Main.cs:18600
void MouseText(string cursorText, int rare=0, byte diff=0, int hackedMouseX=-1, int hackedMouseY=-1, int hackedScreenWidth=-1, int hackedScreenHeight=-1, int pushWidthX=0)
Definition Main.cs:8578
static void DrawVersionNumber(Microsoft.Xna.Framework.Graphics.Color menuColor, float upBump)
Definition Main.cs:14063
static void CancelClothesWindow(bool quiet=false)
Definition Main.cs:12367
Microsoft.Xna.Framework.Vector2 lastCloudScreenPosition
Definition Main.cs:21058
const double slimeRainMaxDelay
Definition Main.cs:20394
static float reforgeScale
Definition Main.cs:19581
static int[] treeMntBGSet4
Definition Main.cs:18660
void OnCharacterNamed(string text)
Definition Main.cs:13931
static PopupText[] popupText
Definition Main.cs:1903
static void BuyHairWindow()
Definition Main.cs:12340
static void CheckBossIndexes()
Definition Main.cs:7859
static int[] anglerQuestItemNetIDs
Definition Main.cs:20878
static string cUp
Definition Main.cs:20908
static int[] treeBGSet4
Definition Main.cs:18672
static void SwitchNetMode(int mode)
Definition Main.cs:18314
static float aBar
Definition Main.cs:3693
static int weatherVaneBobframe
Definition Main.cs:19776
static int dayMusic
Definition Main.cs:19089
static bool showSpam
Definition Main.cs:20099
void QuitGame()
Definition Main.cs:13757
static bool[] projHook
Definition Main.cs:20141
static void DrawInterface_24_InterfaceLogic2()
Definition Main.cs:12832
static int ambientCounter
Definition Main.cs:19758
static ContentManager ShaderContentManager
Definition Main.cs:20027
const int numberOfHairstyles
Definition Main.cs:20482
static void StartSlimeRain(bool announce=true)
Definition Main.cs:17851
static void MouseOversTryToClear()
Definition Main.cs:13301
static int invasionWaveMax
Definition Main.cs:19560
bool< SetupDrawInterfaceLayers > b__2162_30()
Definition Main.cs:18447
static bool runningCollectorsEdition
Definition Main.cs:20105
static Point ReverseGravitySupport(Point pos, int height=0)
Definition Main.cs:4542
static bool PreventUpdatingTargets
Definition Main.cs:21025
bool chestStackHover
Definition Main.cs:20334
static int mouseX
Definition Main.cs:587
static bool[] tileFlame
Definition Main.cs:20842
static int bgStyle
Definition Main.cs:951
static float GlobalTimeWrappedHourly
Definition Main.cs:18552
static int maxScreenH
Definition Main.cs:18780
class< LoadContent_Deferred > d__1863
Definition Main.cs:21902
static GraphicsDeviceManager graphics
Definition Main.cs:20280
static bool mouseReforge
Definition Main.cs:19578
static bool WallLightAt(int i, int j, bool showInvisibleWalls)
Definition Main.cs:14565
static RenderTarget2D screenTargetSwap
Definition Main.cs:20195
void DrawBackground()
Definition Main.cs:14521
static bool superFast
Definition Main.cs:18570
static void SetCameraGamepadLerp(float lerp)
Definition Main.cs:4416
static int[,] jellyfishCageFrame
Definition Main.cs:20773
static Microsoft.Xna.Framework.Vector2 sceneWaterPos
Definition Main.cs:18918
static Microsoft.Xna.Framework.Graphics.Color legendaryModeColor
Definition Main.cs:20313
static int anglerQuest
Definition Main.cs:19419
static void CursorColor()
Definition Main.cs:14180
static List< IEnumerator > DelayedProcesses
Definition Main.cs:20042
static int invasionSize
Definition Main.cs:19536
static Microsoft.Xna.Framework.Graphics.Color errorColor
Definition Main.cs:20319
static float martianLight
Definition Main.cs:19200
static bool fastForwardTimeToDusk
Definition Main.cs:21010
static int[] lavaFishBowlFrame
Definition Main.cs:20740
static bool IsTileSpelunkable(Tile t)
Definition Main.cs:8978
static bool[] debuff
Definition Main.cs:20159
static Player[] playerVisualClone
Definition Main.cs:19407
static Microsoft.Xna.Framework.Vector2 sceneBackgroundPos
Definition Main.cs:18930
static int AutoSaveWorldTime
Definition Main.cs:21070
static bool MouseShowBuildingGrid
Definition Main.cs:268
static int renderCount
Definition Main.cs:1511
static int _minimapTopRightAnchorOffsetTowardsLeft
Definition Main.cs:21259
void DrawFPS()
Definition Main.cs:8921
static bool SettingsSavePending
Definition Main.cs:3343
static bool SettingMusicReplayDelayEnabled
Definition Main.cs:226
static void TrySyncingItemArray(bool syncedAnyInventoryContents, Item[] my, Item[] other, int slotOffset)
Definition Main.cs:7808
static bool IsItStorming
Definition Main.cs:7190
void DrawSurfaceBG_DrawBackMountainsLayer(int bgTextureIndex)
Definition Main.cs:15944
static string cMana
Definition Main.cs:20929
static void PostContentLoadInitialize()
Definition Main.cs:7004
static void OpenKeyboard(string initial, int maxCharacters=-1, bool password=false, bool multiline=false, bool filterText=true)
Definition Main.cs:8514
static float ForcedMinimumZoom
Definition Main.cs:19945
static int EquipPageSelected
Definition Main.cs:18840
static bool remixWorld
Definition Main.cs:20002
static int bgScroll
Definition Main.cs:3637
static Dust[] dust
Definition Main.cs:19287
static bool[] tileAxe
Definition Main.cs:20539
int _perfLastFrame
Definition Main.cs:21055
static int mouseItemSourceContext
Definition Main.cs:2211
int selectedMenu2
Definition Main.cs:21106
static void DrawNPCDirect_GetHallowBossArmFrame(NPC rCurrentNPC, [Out] int armFrame_Count, [Out] int armFrameToUseLeft, [Out] int armFrameToUseRight)
Definition Main.cs:9425
static bool mouseLeft
Definition Main.cs:671
static bool loadMapSections
Definition Main.cs:1077
static bool menuMultiplayer
Definition Main.cs:19593
static int curMusic
Definition Main.cs:19086
static int[] seagullCageFrameCounter
Definition Main.cs:20671
static Rain[] rain
Definition Main.cs:1889
void DrawElderEye(SpriteBatch spriteBatch, Microsoft.Xna.Framework.Vector2 worldPosition, float opacity, float scale, int frameNumber, Microsoft.Xna.Framework.Graphics.Color passedColor)
Definition Main.cs:9190
static Dictionary< int, GameModeData > RegisteredGameModes
Definition Main.cs:19990
static void StopRain()
Definition Main.cs:17794
static bool _cannotDrawAccessoriesHorizontally
Definition Main.cs:21223
static int[,] scorpionCageFrameCounter
Definition Main.cs:20716
static bool hairWindow
Definition Main.cs:783
List< int > DrawCacheProjsOverPlayers
Definition Main.cs:20998
static void InputTextSign()
Definition Main.cs:8360
static string[] MonolithSkyNames
Definition Main.cs:21277
static int[] tileFrame
Definition Main.cs:20848
static int cursorColorDirection
Definition Main.cs:3259
static void Initialize()
Definition Minecart.cs:12
static void Initialize()
Definition Mount.cs:43
static void setFireFlyChance()
Definition NPC.cs:9580
static void ResetBadgerHatTime()
Definition NPC.cs:5203
static bool IsMechQueenUp
Definition NPC.cs:1715
static bool AnyNPCs(int Type)
Definition NPC.cs:7102
static bool IsADeerclopsNearScreen()
Definition NPC.cs:1949
static void SetEventFlagCleared(bool eventFlag, int gameEventId)
Definition NPC.cs:5074
static void StartTcpClient(bool connectingToLocalServer)
Definition Netplay.cs:449
static bool SetRemoteIP(string remoteAddress)
Definition Netplay.cs:466
float rangedDamage
Definition Player.cs:22475
float bowEffectiveDamage
Definition Player.cs:1412
bool mouseInterface
Definition Player.cs:21080
float gunEffectiveDamage
Definition Player.cs:1443
float meleeDamage
Definition Player.cs:22469
float minionDamage
Definition Player.cs:22493
static int BlockInteractionWithProjectiles
Definition Player.cs:122
float magicDamage
Definition Player.cs:22472
int[] builderAccStatus
Definition Player.cs:20300
bool hasCreditsSceneMusicBox
Definition Player.cs:22937
float specialistEffectiveDamage
Definition Player.cs:1472
Item[] inventory
Definition Player.cs:21263
Microsoft.Xna.Framework.? Vector2 PotionOfReturnHomePosition
Definition Player.cs:22532
static void InitializeStaticThings()
Definition Projectile.cs:37
static IEntitySource GetNoneSource()
int alpha
Definition Rain.cs:169
static void GetThroughDelayedFindRecipes()
Definition Recipe.cs:195
static void FindRecipes(bool canDelayCheck=false)
Definition Recipe.cs:204
static void TextSign(int i, string text)
Definition Sign.cs:32
static void Shutdown()
Definition SocialAPI.cs:28
static void NightSetup()
Definition Star.cs:11
static void SpawnStars(int s=-1)
Definition Star.cs:66
static void EndDrawFrame()
Definition TimeLogger.cs:40
static void DetailedDrawReset()
static float GetDrawTotal()
Definition TimeLogger.cs:84
static void DetailedDrawTime(int detailedDrawType)
static bool CanShowVirtualKeyboard(int context)
static bool DisableLeftShiftTrashCan
Definition ItemSlot.cs:1611
static void InvalidateTooltips()
static string[] GetFiles(string path, string searchPattern)
static void Delete(string path, bool cloud=false)
static byte[] ReadAllBytes(string path, bool cloud=false)
static string CleanSwitchPath(string path)
static void CreateDirectory(string path)
static bool Exists(string path, bool cloud=false)
static float Remap(float fromValue, float fromMin, float fromMax, float toMin, float toMax, bool clamped=true)
Definition Utils.cs:188
static float GetLerpValue(float from, float to, float t, bool clamped=false)
Definition Utils.cs:182
static void Initialize()
Definition Wiring.cs:32
static int GetWorldUpdateRate()
static void PlayLiquidChangeSound(TileChangeType eventType, int x, int y, int count=1)
Definition WorldGen.cs:190
static void saveToonWhilePlaying()
Definition WorldGen.cs:1380
static void dropMeteor()
Definition WorldGen.cs:903
static void ResetTreeShakes()
static bool InWorld(int x, int y, int fluff=0)
Definition WorldGen.cs:1952
static ManagedThread serverLoadWorld()
Definition WorldGen.cs:1418
static Color paintColor(int color)
Definition WorldGen.cs:8098
static void UnloadAssets()
ThreadedRenderManager.RenderThreadInstance[] DrawThreads
void WaitAndProcess(ThreadedRenderManager.BatchProcessCallback callback, int numberOfThreads)
static void Log(object message)
Definition Debug.cs:51
static void EndThreadProfiling()
Definition Profiler.cs:20
static int height
Definition Screen.cs:28
static int width
Definition Screen.cs:17
Viewport(int x, int y, int width, int height)
Definition Viewport.cs:229
void Intersects(Rectangle value, [Out] bool result)
Definition Rectangle.cs:263
static DateTime Now
Definition DateTime.cs:530
override int GetHashCode()
Definition Guid.cs:290
static Guid NewGuid()
Definition Guid.cs:15
override string ToString()
Definition Guid.cs:283
Microsoft.Xna.Framework.Vector2 SceneLocalScreenPositionOffset
Definition Main.cs:21451
bool IsLoaded
Definition Tile.cs:34
ushort wall
Definition Tile.cs:85
static FastRandom CreateWithRandomSeed()
Definition FastRandom.cs:51
float height
Definition Rect.cs:175