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
JunglePass.cs
Go to the documentation of this file.
1using System;
6using Terraria.IO;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x20008F2")]
13 public class JunglePass : GenPass
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6004624")]
16 [global::Cpp2ILInjected.Address(RVA = "0x7CCE78", Offset = "0x7CCE78", Length = "0x54")]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "GenerateWorld", MemberParameters = new object[]
18 {
19 typeof(int),
21 }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenPass), Member = ".ctor", MemberParameters = new object[]
24 {
25 typeof(string),
26 typeof(double)
27 }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
29 public JunglePass()
30 {
31 throw null;
32 }
33
34 [global::Cpp2ILInjected.Token(Token = "0x6004625")]
35 [global::Cpp2ILInjected.Address(RVA = "0x7CCECC", Offset = "0x7CCECC", Length = "0x468")]
36 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenerationProgress), Member = "set_Message", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JunglePass), Member = "CreateStartPoint", ReturnType = typeof(Point))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JunglePass), Member = "ApplyRandomMovement", MemberParameters = new object[]
41 {
42 typeof(ref int),
43 typeof(ref int),
44 typeof(int),
45 typeof(int)
46 }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JunglePass), Member = "PlaceFirstPassMud", MemberParameters = new object[]
48 {
49 typeof(int),
50 typeof(int),
51 typeof(int)
52 }, ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JunglePass), Member = "PlaceGemsAt", MemberParameters = new object[]
54 {
55 typeof(int),
56 typeof(int),
57 typeof(ushort),
58 typeof(int)
59 }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenerationProgress), Member = "Set", MemberParameters = new object[] { typeof(double) }, ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenBase), Member = "get__random", ReturnType = typeof(UnifiedRandom))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
63 {
64 typeof(int),
65 typeof(int)
66 }, ReturnType = typeof(int))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
68 {
69 typeof(int),
70 typeof(int),
71 typeof(int)
72 }, ReturnType = "T")]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "TileRunner", MemberParameters = new object[]
74 {
75 typeof(int),
76 typeof(int),
77 typeof(double),
78 typeof(int),
79 typeof(int),
80 typeof(bool),
81 typeof(double),
82 typeof(double),
83 typeof(bool),
84 typeof(bool),
85 typeof(int)
86 }, ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JunglePass), Member = "GenerateTunnelToSurface", MemberParameters = new object[]
88 {
89 typeof(int),
90 typeof(int)
91 }, ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JunglePass), Member = "GenerateHolesInMudWalls", ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(JunglePass), Member = "GenerateFinishingTouches", MemberParameters = new object[]
94 {
96 typeof(int),
97 typeof(int)
98 }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
100 protected override void ApplyPass(GenerationProgress progress, GameConfiguration configuration)
101 {
102 throw null;
103 }
104
105 [global::Cpp2ILInjected.Token(Token = "0x6004626")]
106 [global::Cpp2ILInjected.Address(RVA = "0x7CD710", Offset = "0x7CD710", Length = "0x1CC")]
107 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "ApplyPass", MemberParameters = new object[]
109 {
112 }, ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenBase), Member = "get__random", ReturnType = typeof(UnifiedRandom))]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
116 {
117 typeof(int),
118 typeof(int)
119 }, ReturnType = typeof(int))]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "TileRunner", MemberParameters = new object[]
121 {
122 typeof(int),
123 typeof(int),
124 typeof(double),
125 typeof(int),
126 typeof(int),
127 typeof(bool),
128 typeof(double),
129 typeof(double),
130 typeof(bool),
131 typeof(bool),
132 typeof(int)
133 }, ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
135 private void PlaceGemsAt(int x, int y, ushort baseGem, int gemVariants)
136 {
137 throw null;
138 }
139
140 [global::Cpp2ILInjected.Token(Token = "0x6004627")]
141 [global::Cpp2ILInjected.Address(RVA = "0x7CD5A4", Offset = "0x7CD5A4", Length = "0x16C")]
142 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
143 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "ApplyPass", MemberParameters = new object[]
144 {
147 }, ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenBase), Member = "get__random", ReturnType = typeof(UnifiedRandom))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
151 {
152 typeof(int),
153 typeof(int)
154 }, ReturnType = typeof(int))]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "TileRunner", MemberParameters = new object[]
156 {
157 typeof(int),
158 typeof(int),
159 typeof(double),
160 typeof(int),
161 typeof(int),
162 typeof(bool),
163 typeof(double),
164 typeof(double),
165 typeof(bool),
166 typeof(bool),
167 typeof(int)
168 }, ReturnType = typeof(void))]
169 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
170 private void PlaceFirstPassMud(int x, int y, int xSpeedScale)
171 {
172 throw null;
173 }
174
175 [global::Cpp2ILInjected.Token(Token = "0x6004628")]
176 [global::Cpp2ILInjected.Address(RVA = "0x7CD334", Offset = "0x7CD334", Length = "0xD4")]
177 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
178 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "ApplyPass", MemberParameters = new object[]
179 {
182 }, ReturnType = typeof(void))]
183 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
184 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Point), Member = ".ctor", MemberParameters = new object[]
185 {
186 typeof(int),
187 typeof(int)
188 }, ReturnType = typeof(void))]
189 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
191 {
192 throw null;
193 }
194
195 [global::Cpp2ILInjected.Token(Token = "0x6004629")]
196 [global::Cpp2ILInjected.Address(RVA = "0x7CD408", Offset = "0x7CD408", Length = "0x19C")]
197 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
198 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "ApplyPass", MemberParameters = new object[]
199 {
202 }, ReturnType = typeof(void))]
203 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenBase), Member = "get__random", ReturnType = typeof(UnifiedRandom))]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
206 {
207 typeof(int),
208 typeof(int)
209 }, ReturnType = typeof(int))]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
211 {
212 typeof(int),
213 typeof(int),
214 typeof(int)
215 }, ReturnType = "T")]
216 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
217 private void ApplyRandomMovement(ref int x, ref int y, int xRange, int yRange)
218 {
219 throw null;
220 }
221
222 [global::Cpp2ILInjected.Token(Token = "0x600462A")]
223 [global::Cpp2ILInjected.Address(RVA = "0x7CD8DC", Offset = "0x7CD8DC", Length = "0xA18")]
224 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
225 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "ApplyPass", MemberParameters = new object[]
226 {
229 }, ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
231 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenBase), Member = "get__random", ReturnType = typeof(UnifiedRandom))]
232 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
233 {
234 typeof(int),
235 typeof(int)
236 }, ReturnType = typeof(int))]
237 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "Clamp", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
238 {
239 typeof(int),
240 typeof(int),
241 typeof(int)
242 }, ReturnType = "T")]
243 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
244 {
245 typeof(int),
246 typeof(int)
247 }, ReturnType = typeof(Tile))]
248 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_wall", ReturnType = typeof(ushort))]
249 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "active", ReturnType = typeof(bool))]
250 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "KillTile", MemberParameters = new object[]
251 {
252 typeof(int),
253 typeof(int),
254 typeof(bool),
255 typeof(bool),
256 typeof(bool)
257 }, ReturnType = typeof(void))]
258 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
259 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "TileRunner", MemberParameters = new object[]
260 {
261 typeof(int),
262 typeof(int),
263 typeof(double),
264 typeof(int),
265 typeof(int),
266 typeof(bool),
267 typeof(double),
268 typeof(double),
269 typeof(bool),
270 typeof(bool),
271 typeof(int)
272 }, ReturnType = typeof(void))]
273 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2D), Member = "op_Addition", MemberParameters = new object[]
274 {
277 }, ReturnType = typeof(Vector2D))]
278 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 30)]
279 private void GenerateTunnelToSurface(int i, int j)
280 {
281 throw null;
282 }
283
284 [global::Cpp2ILInjected.Token(Token = "0x600462B")]
285 [global::Cpp2ILInjected.Address(RVA = "0x7CE2F4", Offset = "0x7CE2F4", Length = "0x22C")]
286 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "ApplyPass", MemberParameters = new object[]
288 {
291 }, ReturnType = typeof(void))]
292 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
293 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenBase), Member = "get__random", ReturnType = typeof(UnifiedRandom))]
294 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
295 {
296 typeof(int),
297 typeof(int)
298 }, ReturnType = typeof(int))]
299 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_UnderworldLayer", ReturnType = typeof(int))]
300 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
301 {
302 typeof(int),
303 typeof(int)
304 }, ReturnType = typeof(Tile))]
305 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_wall", ReturnType = typeof(ushort))]
306 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "MudWallRunner", MemberParameters = new object[]
307 {
308 typeof(int),
309 typeof(int)
310 }, ReturnType = typeof(void))]
311 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
313 {
314 throw null;
315 }
316
317 [global::Cpp2ILInjected.Token(Token = "0x600462C")]
318 [global::Cpp2ILInjected.Address(RVA = "0x7CE520", Offset = "0x7CE520", Length = "0x17A4")]
319 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(JunglePass), Member = "ApplyPass", MemberParameters = new object[]
321 {
324 }, ReturnType = typeof(void))]
325 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
326 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenerationProgress), Member = "Set", MemberParameters = new object[] { typeof(double) }, ReturnType = typeof(void))]
327 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GenBase), Member = "get__random", ReturnType = typeof(UnifiedRandom))]
328 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
329 {
330 typeof(int),
331 typeof(int)
332 }, ReturnType = typeof(int))]
333 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "TileRunner", MemberParameters = new object[]
334 {
335 typeof(int),
336 typeof(int),
337 typeof(double),
338 typeof(int),
339 typeof(int),
340 typeof(bool),
341 typeof(double),
342 typeof(double),
343 typeof(bool),
344 typeof(bool),
345 typeof(int)
346 }, ReturnType = typeof(void))]
347 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TileData), Member = "get_Item", MemberParameters = new object[]
348 {
349 typeof(int),
350 typeof(int)
351 }, ReturnType = typeof(Tile))]
352 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Tile), Member = "get_type", ReturnType = typeof(ushort))]
353 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
354 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
355 private void GenerateFinishingTouches(GenerationProgress progress, int oldX, int oldY)
356 {
357 throw null;
358 }
359
360 [global::Cpp2ILInjected.Token(Token = "0x4008262")]
361 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
362 private double _worldScale;
363 }
364}
class f__AnonymousType0<< Count > j__TPar
void GenerateTunnelToSurface(int i, int j)
void PlaceGemsAt(int x, int y, ushort baseGem, int gemVariants)
void PlaceFirstPassMud(int x, int y, int xSpeedScale)
void GenerateFinishingTouches(GenerationProgress progress, int oldX, int oldY)
override void ApplyPass(GenerationProgress progress, GameConfiguration configuration)
void ApplyRandomMovement(ref int x, ref int y, int xRange, int yRange)