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
TeleportHelpers.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x020007F2 RID: 2034
8 public class TeleportHelpers
9 {
10 // Token: 0x0600416D RID: 16749 RVA: 0x00247A00 File Offset: 0x00245C00
12 {
13 if (!true)
14 {
15 }
16 bool flag;
17 return flag;
18 }
19
20 // Token: 0x0600416E RID: 16750 RVA: 0x00247A7C File Offset: 0x00245C7C
21 private static bool TileIsDangerous(int x, int y)
22 {
23 int num = 1;
24 if (num == 0)
25 {
26 }
27 Tile tile;
28 byte liquid = tile.liquid;
29 if (num == 0)
30 {
31 }
32 if (num == 0)
33 {
34 }
35 if (num != 0)
36 {
37 if (num == 0)
38 {
39 }
40 if (num != 0)
41 {
42 if (num == 0)
43 {
44 }
45 if (num == 0)
46 {
47 }
48 if (num == 0)
49 {
50 return;
51 }
52 }
53 return;
54 }
55 }
56
57 // Token: 0x0600416F RID: 16751 RVA: 0x00247AB4 File Offset: 0x00245CB4
58 private static bool IsInSolidTilesExtended(Vector2 testPosition, Vector2 playerVelocity, int width, int height, int gravDir)
59 {
60 if (!true)
61 {
62 }
63 if (!true)
64 {
65 }
66 if (!true)
67 {
68 }
69 if (!true)
70 {
71 }
72 if (!true)
73 {
74 }
75 if (!true)
76 {
77 }
78 if (!true)
79 {
80 }
81 if (!true)
82 {
83 }
84 if (!true)
85 {
86 }
87 if (!true)
88 {
89 }
90 if (!true)
91 {
92 }
93 if (!true)
94 {
95 }
96 return true;
97 }
98
99 // Token: 0x06004170 RID: 16752 RVA: 0x00247B1C File Offset: 0x00245D1C
101 {
102 }
103 }
104}
class f__AnonymousType0<< Count > j__TPar
static bool TileIsDangerous(int x, int y)
static bool IsInSolidTilesExtended(Vector2 testPosition, Vector2 playerVelocity, int width, int height, int gravDir)
static bool RequestMagicConchTeleportPosition(Player player, int crawlOffsetX, int startX, [Out] Point landingPoint)
byte liquid
Definition Tile.cs:110