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
CultistRitual.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000A4E")]
10 public class CultistRitual
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6004DAF")]
13 [global::Cpp2ILInjected.Address(RVA = "0x8C58E0", Offset = "0x8C58E0", Length = "0x170")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "UpdateTime", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetClientOnly", ReturnType = typeof(bool))]
18 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "AnyDanger", MemberParameters = new object[]
19 {
20 typeof(bool),
21 typeof(bool)
22 }, ReturnType = typeof(bool))]
23 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
24 public static void UpdateTime()
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x6004DB0")]
30 [global::Cpp2ILInjected.Address(RVA = "0x8C5B84", Offset = "0x8C5B84", Length = "0x50")]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
33 public static void CultistSlain()
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x6004DB1")]
39 [global::Cpp2ILInjected.Address(RVA = "0x8C5BD4", Offset = "0x8C5BD4", Length = "0x4C")]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
42 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
43 public static void TabletDestroyed()
44 {
45 throw null;
46 }
47
48 [global::Cpp2ILInjected.Token(Token = "0x6004DB2")]
49 [global::Cpp2ILInjected.Address(RVA = "0x8C5A50", Offset = "0x8C5A50", Length = "0x134")]
50 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "PlayerLOS", MemberParameters = new object[]
53 {
54 typeof(int),
55 typeof(int)
56 }, ReturnType = typeof(bool))]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultistRitual), Member = "CheckRitual", MemberParameters = new object[]
58 {
59 typeof(int),
60 typeof(int)
61 }, ReturnType = typeof(bool))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EntitySource_WorldEvent), Member = ".ctor", ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "NewNPC", MemberParameters = new object[]
64 {
66 typeof(int),
67 typeof(int),
68 typeof(int),
69 typeof(int),
70 typeof(float),
71 typeof(float),
72 typeof(float),
73 typeof(float),
74 typeof(int)
75 }, ReturnType = typeof(int))]
76 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
77 public static void TrySpawning(int x, int y)
78 {
79 throw null;
80 }
81
82 [global::Cpp2ILInjected.Token(Token = "0x6004DB3")]
83 [global::Cpp2ILInjected.Address(RVA = "0x8C5C20", Offset = "0x8C5C20", Length = "0x1CC")]
84 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CultistRitual), Member = "TrySpawning", MemberParameters = new object[]
86 {
87 typeof(int),
88 typeof(int)
89 }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
92 {
93 typeof(int),
94 typeof(int)
95 }, ReturnType = typeof(Tile))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "SolidTile", MemberParameters = new object[] { typeof(Tile) }, ReturnType = typeof(bool))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "AnyNPCs", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
98 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
99 {
100 typeof(float),
101 typeof(float)
102 }, ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CultistRitual), Member = "CheckFloor", MemberParameters = new object[]
104 {
106 typeof(ref Point[])
107 }, ReturnType = typeof(bool))]
108 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
109 private static bool CheckRitual(int x, int y)
110 {
111 throw null;
112 }
113
114 [global::Cpp2ILInjected.Token(Token = "0x6004DB4")]
115 [global::Cpp2ILInjected.Address(RVA = "0x8C5DEC", Offset = "0x8C5DEC", Length = "0x2D8")]
116 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CultistRitual), Member = "CheckRitual", MemberParameters = new object[]
119 {
120 typeof(int),
121 typeof(int)
122 }, ReturnType = typeof(bool))]
123 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToTileCoordinates", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "SolidTile", MemberParameters = new object[]
126 {
127 typeof(int),
128 typeof(int),
129 typeof(bool)
130 }, ReturnType = typeof(bool))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Framing), Member = "GetTileSafely", MemberParameters = new object[]
132 {
133 typeof(int),
134 typeof(int)
135 }, ReturnType = typeof(Tile))]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Collision), Member = "SolidTiles", MemberParameters = new object[]
138 {
139 typeof(int),
140 typeof(int),
141 typeof(int),
142 typeof(int)
143 }, ReturnType = typeof(bool))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
145 {
146 typeof(int),
147 typeof(int)
148 }, ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
150 public static bool CheckFloor(Vector2 Center, out Point[] spawnPoints)
151 {
152 throw null;
153 }
154
155 [global::Cpp2ILInjected.Token(Token = "0x6004DB5")]
156 [global::Cpp2ILInjected.Address(RVA = "0x8C60C4", Offset = "0x8C60C4", Length = "0x8")]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
160 {
161 throw null;
162 }
163
164 [global::Cpp2ILInjected.Token(Token = "0x40086A2")]
165 public static int delay;
166
167 [global::Cpp2ILInjected.Token(Token = "0x40086A3")]
168 public static int recheck;
169
170 [global::Cpp2ILInjected.Token(Token = "0x40086A4")]
171 public const int delayStart = 86400;
172
173 [global::Cpp2ILInjected.Token(Token = "0x40086A5")]
174 public const int respawnDelay = 43200;
175
176 [global::Cpp2ILInjected.Token(Token = "0x40086A6")]
177 private const int timePerCultist = 3600;
178
179 [global::Cpp2ILInjected.Token(Token = "0x40086A7")]
180 private const int recheckStart = 600;
181 }
182}
class f__AnonymousType0<< Count > j__TPar
static bool CheckFloor(Vector2 Center, out Point[] spawnPoints)
static void TrySpawning(int x, int y)