terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
TeleportHelpers.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x20007F2")]
9 public class TeleportHelpers
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x600416D")]
12 [global::Cpp2ILInjected.Address(RVA = "0x77AF90", Offset = "0x77AF90", Length = "0x43C")]
13 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "MagicConch", ReturnType = typeof(void))]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
17 {
18 typeof(int),
19 typeof(int)
20 }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
22 {
23 typeof(float),
24 typeof(float)
25 }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
27 {
28 typeof(int),
29 typeof(int)
30 }, ReturnType = typeof(Tile))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "SolidOrSlopedTile", MemberParameters = new object[] { typeof(Tile) }, ReturnType = typeof(bool))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_liquid", ReturnType = typeof(byte))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
34 {
37 }, ReturnType = typeof(Vector2))]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TeleportHelpers), Member = "IsInSolidTilesExtended", MemberParameters = new object[]
39 {
42 typeof(int),
43 typeof(int),
44 typeof(int)
45 }, ReturnType = typeof(bool))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TeleportHelpers), Member = "TileIsDangerous", MemberParameters = new object[]
47 {
48 typeof(int),
49 typeof(int)
50 }, ReturnType = typeof(bool))]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "InWorld", MemberParameters = new object[]
52 {
53 typeof(int),
54 typeof(int),
55 typeof(int)
56 }, ReturnType = typeof(bool))]
57 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
59 {
60 throw null;
61 }
62
63 [global::Cpp2ILInjected.Token(Token = "0x600416E")]
64 [global::Cpp2ILInjected.Address(RVA = "0x77B840", Offset = "0x77B840", Length = "0x1AC")]
65 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TeleportHelpers), Member = "RequestMagicConchTeleportPosition", MemberParameters = new object[]
67 {
69 typeof(int),
70 typeof(int),
72 }, ReturnType = typeof(bool))]
73 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
75 {
76 typeof(int),
77 typeof(int)
78 }, ReturnType = typeof(Tile))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_liquid", ReturnType = typeof(byte))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "lava", ReturnType = typeof(bool))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_wall", ReturnType = typeof(ushort))]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
83 private static bool TileIsDangerous(int x, int y)
84 {
85 throw null;
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x600416F")]
89 [global::Cpp2ILInjected.Address(RVA = "0x77B3CC", Offset = "0x77B3CC", Length = "0x474")]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TeleportHelpers), Member = "RequestMagicConchTeleportPosition", MemberParameters = new object[]
91 {
93 typeof(int),
94 typeof(int),
96 }, ReturnType = typeof(bool))]
97 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
98 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "LavaCollision", MemberParameters = new object[]
99 {
101 typeof(int),
102 typeof(int)
103 }, ReturnType = typeof(bool))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "AnyHurtingTiles", MemberParameters = new object[]
105 {
107 typeof(int),
108 typeof(int)
109 }, ReturnType = typeof(bool))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "SolidCollision", MemberParameters = new object[]
111 {
113 typeof(int),
114 typeof(int)
115 }, ReturnType = typeof(bool))]
116 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
117 {
119 typeof(float)
120 }, ReturnType = typeof(Vector2))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
122 {
125 }, ReturnType = typeof(Vector2))]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "TileCollision", MemberParameters = new object[]
127 {
130 typeof(int),
131 typeof(int),
132 typeof(bool),
133 typeof(bool),
134 typeof(int)
135 }, ReturnType = typeof(Vector2))]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Inequality", MemberParameters = new object[]
137 {
140 }, ReturnType = typeof(bool))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_UnaryNegation", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Vector2))]
142 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
143 private static bool IsInSolidTilesExtended(Vector2 testPosition, Vector2 playerVelocity, int width, int height, int gravDir)
144 {
145 throw null;
146 }
147
148 [global::Cpp2ILInjected.Token(Token = "0x6004170")]
149 [global::Cpp2ILInjected.Address(RVA = "0x77B9EC", Offset = "0x77B9EC", Length = "0x8")]
150 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
153 {
154 throw null;
155 }
156 }
157}
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)