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.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
using
Microsoft.Xna.Framework
;
4
5
namespace
Terraria.GameContent
6
{
7
// Token: 0x020007F2 RID: 2034
8
public
class
TeleportHelpers
9
{
10
// Token: 0x0600416D RID: 16749 RVA: 0x00247A00 File Offset: 0x00245C00
11
public
static
bool
RequestMagicConchTeleportPosition
(
Player
player,
int
crawlOffsetX
,
int
startX
, [Out]
Point
landingPoint
)
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
100
public
TeleportHelpers
()
101
{
102
}
103
}
104
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Terraria.GameContent.TeleportHelpers.TileIsDangerous
static bool TileIsDangerous(int x, int y)
Definition
TeleportHelpers.cs:21
Terraria.GameContent.TeleportHelpers.IsInSolidTilesExtended
static bool IsInSolidTilesExtended(Vector2 testPosition, Vector2 playerVelocity, int width, int height, int gravDir)
Definition
TeleportHelpers.cs:58
Terraria.GameContent.TeleportHelpers.RequestMagicConchTeleportPosition
static bool RequestMagicConchTeleportPosition(Player player, int crawlOffsetX, int startX, [Out] Point landingPoint)
Definition
TeleportHelpers.cs:11
Terraria.GameContent.TeleportHelpers.TeleportHelpers
TeleportHelpers()
Definition
TeleportHelpers.cs:100
Terraria.GameContent.TeleportHelpers
Definition
TeleportHelpers.cs:9
Terraria.Player
Definition
Player.cs:33
Microsoft.Xna.Framework
Definition
AudioChannels.cs:4
System.Runtime.InteropServices
Definition
_Activator.cs:4
System
Definition
__ComObject.cs:4
Terraria.GameContent
Definition
AchievementsHelper.cs:7
Microsoft.Xna.Framework.Point
Definition
Point.cs:9
Microsoft.Xna.Framework.Vector2
Definition
Vector2.cs:10
Terraria.Tile.liquid
byte liquid
Definition
Tile.cs:110
Terraria.Tile
Definition
Tile.cs:12
source
Terraria
GameContent
TeleportHelpers.cs
Generated by
1.10.0