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
MoonlordDeathDrama.cs
Go to the documentation of this file.
1using System;
9
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000A51")]
13 public class MoonlordDeathDrama
14 {
15 [global::Cpp2ILInjected.Token(Token = "0x6004E01")]
16 [global::Cpp2ILInjected.Address(RVA = "0x8CED64", Offset = "0x8CED64", Length = "0x428")]
17 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdate", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MoonlordDeathDrama.MoonlordPiece), Member = "Update", ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MoonlordDeathDrama.MoonlordPiece), Member = "get_Dead", ReturnType = typeof(bool))]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "Remove", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(bool))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MoonlordDeathDrama.MoonlordExplosion), Member = "Update", ReturnType = typeof(void))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MoonlordDeathDrama.MoonlordExplosion), Member = "get_Dead", ReturnType = typeof(bool))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Vector2>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Entity), Member = "Distance", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(float))]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Sign", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(int))]
30 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 29)]
31 public static void Update()
32 {
33 throw null;
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x6004E02")]
37 [global::Cpp2ILInjected.Address(RVA = "0x8CF488", Offset = "0x8CF488", Length = "0x240")]
38 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawCapture", MemberParameters = new object[]
40 {
43 }, ReturnType = typeof(void))]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw_WallsTilesNPCs", ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenPosition", ReturnType = typeof(Vector2))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
50 {
51 typeof(float),
52 typeof(float)
53 }, ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
55 {
57 typeof(float)
58 }, ReturnType = typeof(Vector2))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
60 {
63 }, ReturnType = typeof(Vector2))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "CenteredRectangle", MemberParameters = new object[]
65 {
68 }, ReturnType = typeof(Rectangle))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MoonlordDeathDrama.MoonlordPiece), Member = "InDrawRange", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(bool))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MoonlordDeathDrama.MoonlordPiece), Member = "Draw", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
73 public static void DrawPieces(SpriteBatch spriteBatch)
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x6004E03")]
79 [global::Cpp2ILInjected.Address(RVA = "0x8CF860", Offset = "0x8CF860", Length = "0x240")]
80 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
81 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawCapture", MemberParameters = new object[]
82 {
85 }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw_WallsTilesNPCs", ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenPosition", ReturnType = typeof(Vector2))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
92 {
93 typeof(float),
94 typeof(float)
95 }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
97 {
99 typeof(float)
100 }, ReturnType = typeof(Vector2))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
102 {
105 }, ReturnType = typeof(Vector2))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "CenteredRectangle", MemberParameters = new object[]
107 {
110 }, ReturnType = typeof(Rectangle))]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MoonlordDeathDrama.MoonlordExplosion), Member = "InDrawRange", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(bool))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MoonlordDeathDrama.MoonlordExplosion), Member = "Draw", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
115 public static void DrawExplosions(SpriteBatch spriteBatch)
116 {
117 throw null;
118 }
119
120 [global::Cpp2ILInjected.Token(Token = "0x6004E04")]
121 [global::Cpp2ILInjected.Address(RVA = "0x8CFC98", Offset = "0x8CFC98", Length = "0x1E8")]
122 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
123 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
126 {
127 typeof(Color),
128 typeof(float)
129 }, ReturnType = typeof(Color))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
133 {
134 typeof(int),
135 typeof(int),
136 typeof(int),
137 typeof(int)
138 }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
141 {
146 }, ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
148 public static void DrawWhite(SpriteBatch spriteBatch)
149 {
150 throw null;
151 }
152
153 [global::Cpp2ILInjected.Token(Token = "0x6004E05")]
154 [global::Cpp2ILInjected.Address(RVA = "0x8CFE80", Offset = "0x8CFE80", Length = "0xA90")]
155 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "HitEffect", MemberParameters = new object[]
157 {
158 typeof(int),
159 typeof(double)
160 }, ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "NextFloat", MemberParameters = new object[] { typeof(UnifiedRandom) }, ReturnType = typeof(float))]
164 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "RotatedBy", MemberParameters = new object[]
165 {
167 typeof(double),
169 }, ReturnType = typeof(Vector2))]
170 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
171 {
172 typeof(float),
173 typeof(float)
174 }, ReturnType = typeof(void))]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
176 {
179 }, ReturnType = typeof(Vector2))]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
181 {
183 typeof(float)
184 }, ReturnType = typeof(Vector2))]
185 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
187 {
190 }, ReturnType = typeof(Vector2))]
191 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 38)]
193 {
194 throw null;
195 }
196
197 [global::Cpp2ILInjected.Token(Token = "0x6004E06")]
198 [global::Cpp2ILInjected.Address(RVA = "0x8D0988", Offset = "0x8D0988", Length = "0x228")]
199 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
201 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
203 {
204 typeof(int),
205 typeof(int)
206 }, ReturnType = typeof(int))]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MoonlordDeathDrama.MoonlordExplosion), Member = ".ctor", MemberParameters = new object[]
208 {
211 typeof(int)
212 }, ReturnType = typeof(void))]
213 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
214 public static void AddExplosion(Vector2 spot)
215 {
216 throw null;
217 }
218
219 [global::Cpp2ILInjected.Token(Token = "0x6004E07")]
220 [global::Cpp2ILInjected.Address(RVA = "0x8D0CAC", Offset = "0x8D0CAC", Length = "0x120")]
221 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
222 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
223 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
224 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
225 public static void RequestLight(float light, Vector2 spot)
226 {
227 throw null;
228 }
229
230 [global::Cpp2ILInjected.Token(Token = "0x6004E08")]
231 [global::Cpp2ILInjected.Address(RVA = "0x8D0DCC", Offset = "0x8D0DCC", Length = "0x8")]
232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
233 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
235 {
236 throw null;
237 }
238
239 // Note: this type is marked as 'beforefieldinit'.
240 [global::Cpp2ILInjected.Token(Token = "0x6004E09")]
241 [global::Cpp2ILInjected.Address(RVA = "0x8D0DD4", Offset = "0x8D0DD4", Length = "0x12C")]
242 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
243 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = ".ctor", ReturnType = typeof(void))]
244 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Vector2>), Member = ".ctor", ReturnType = typeof(void))]
245 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
247 {
248 throw null;
249 }
250
251 [global::Cpp2ILInjected.Token(Token = "0x40086C3")]
253
254 [global::Cpp2ILInjected.Token(Token = "0x40086C4")]
256
257 [global::Cpp2ILInjected.Token(Token = "0x40086C5")]
259
260 [global::Cpp2ILInjected.Token(Token = "0x40086C6")]
261 private static float whitening;
262
263 [global::Cpp2ILInjected.Token(Token = "0x40086C7")]
264 private static float requestedLight;
265
266 [global::Cpp2ILInjected.Token(Token = "0x2000A52")]
267 public class MoonlordPiece
268 {
269 [global::Cpp2ILInjected.Token(Token = "0x6004E0A")]
270 [global::Cpp2ILInjected.Address(RVA = "0x8D0910", Offset = "0x8D0910", Length = "0x78")]
271 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
272 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
274 {
275 throw null;
276 }
277
278 [global::Cpp2ILInjected.Token(Token = "0x6004E0B")]
279 [global::Cpp2ILInjected.Address(RVA = "0x8CF18C", Offset = "0x8CF18C", Length = "0xB0")]
280 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MoonlordDeathDrama), Member = "Update", ReturnType = typeof(void))]
281 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
282 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
283 {
286 }, ReturnType = typeof(Vector2))]
287 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
288 public void Update()
289 {
290 throw null;
291 }
292
293 [global::Cpp2ILInjected.Token(Token = "0x6004E0C")]
294 [global::Cpp2ILInjected.Address(RVA = "0x8CF754", Offset = "0x8CF754", Length = "0x10C")]
295 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MoonlordDeathDrama), Member = "DrawPieces", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
296 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
297 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MoonlordDeathDrama.MoonlordPiece), Member = "GetLight", ReturnType = typeof(Color))]
298 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenPosition", ReturnType = typeof(Vector2))]
299 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
300 {
303 }, ReturnType = typeof(Vector2))]
304 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
305 {
309 typeof(Color),
310 typeof(float),
312 typeof(float),
314 typeof(float)
315 }, ReturnType = typeof(void))]
316 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
317 public void Draw(SpriteBatch sp)
318 {
319 throw null;
320 }
321
322 [global::Cpp2ILInjected.Token(Token = "0x1700089C")]
323 public bool Dead
324 {
325 [global::Cpp2ILInjected.Token(Token = "0x6004E0D")]
326 [global::Cpp2ILInjected.Address(RVA = "0x8CF23C", Offset = "0x8CF23C", Length = "0xD4")]
327 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
328 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MoonlordDeathDrama), Member = "Update", ReturnType = typeof(void))]
329 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
330 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
331 get
332 {
333 throw null;
334 }
335 }
336
337 [global::Cpp2ILInjected.Token(Token = "0x6004E0E")]
338 [global::Cpp2ILInjected.Address(RVA = "0x8CF6C8", Offset = "0x8CF6C8", Length = "0x8C")]
339 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MoonlordDeathDrama), Member = "DrawPieces", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
340 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
341 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToPoint", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
342 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Contains", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(bool))]
343 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
345 {
346 throw null;
347 }
348
349 [global::Cpp2ILInjected.Token(Token = "0x6004E0F")]
350 [global::Cpp2ILInjected.Address(RVA = "0x8D0F00", Offset = "0x8D0F00", Length = "0x25C")]
351 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
352 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MoonlordDeathDrama.MoonlordPiece), Member = "Draw", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
353 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
354 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToTileCoordinates", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
355 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lighting), Member = "GetColor", MemberParameters = new object[]
356 {
357 typeof(int),
358 typeof(int)
359 }, ReturnType = typeof(Color))]
360 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "ToVector3", ReturnType = typeof(Vector3))]
361 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "op_Addition", MemberParameters = new object[]
362 {
365 }, ReturnType = typeof(Vector3))]
366 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector3), Member = "op_Division", MemberParameters = new object[]
367 {
369 typeof(float)
370 }, ReturnType = typeof(Vector3))]
371 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[] { typeof(Vector3) }, ReturnType = typeof(void))]
372 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
374 {
375 throw null;
376 }
377
378 [global::Cpp2ILInjected.Token(Token = "0x40086C8")]
379 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
381
382 [global::Cpp2ILInjected.Token(Token = "0x40086C9")]
383 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
385
386 [global::Cpp2ILInjected.Token(Token = "0x40086CA")]
387 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
389
390 [global::Cpp2ILInjected.Token(Token = "0x40086CB")]
391 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
393
394 [global::Cpp2ILInjected.Token(Token = "0x40086CC")]
395 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
396 private float _rotation;
397
398 [global::Cpp2ILInjected.Token(Token = "0x40086CD")]
399 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
400 private float _rotationVelocity;
401 }
402
403 [global::Cpp2ILInjected.Token(Token = "0x2000A53")]
404 public class MoonlordExplosion
405 {
406 [global::Cpp2ILInjected.Token(Token = "0x6004E10")]
407 [global::Cpp2ILInjected.Address(RVA = "0x8D0BB0", Offset = "0x8D0BB0", Length = "0xFC")]
408 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MoonlordDeathDrama), Member = "AddExplosion", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(void))]
409 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
410 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
411 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Frame", MemberParameters = new object[]
412 {
414 typeof(int),
415 typeof(int),
416 typeof(int),
417 typeof(int),
418 typeof(int),
419 typeof(int)
420 }, ReturnType = typeof(Rectangle))]
421 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Size", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(Vector2))]
422 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
423 {
425 typeof(float)
426 }, ReturnType = typeof(Vector2))]
427 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
428 public MoonlordExplosion(Texture2D pieceTexture, Vector2 centerPos, int frameSpeed)
429 {
430 throw null;
431 }
432
433 [global::Cpp2ILInjected.Token(Token = "0x6004E11")]
434 [global::Cpp2ILInjected.Address(RVA = "0x8CF310", Offset = "0x8CF310", Length = "0x90")]
435 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
436 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MoonlordDeathDrama), Member = "Update", ReturnType = typeof(void))]
437 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
438 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Frame", MemberParameters = new object[]
439 {
441 typeof(int),
442 typeof(int),
443 typeof(int),
444 typeof(int),
445 typeof(int),
446 typeof(int)
447 }, ReturnType = typeof(Rectangle))]
448 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
449 public void Update()
450 {
451 throw null;
452 }
453
454 [global::Cpp2ILInjected.Token(Token = "0x6004E12")]
455 [global::Cpp2ILInjected.Address(RVA = "0x8CFB2C", Offset = "0x8CFB2C", Length = "0x16C")]
456 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
457 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MoonlordDeathDrama), Member = "DrawExplosions", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
458 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
459 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
460 {
461 typeof(int),
462 typeof(int),
463 typeof(int),
464 typeof(int)
465 }, ReturnType = typeof(void))]
466 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenPosition", ReturnType = typeof(Vector2))]
467 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
468 {
471 }, ReturnType = typeof(Vector2))]
472 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = ".ctor", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(void))]
473 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
474 {
478 typeof(Color),
479 typeof(float),
481 typeof(float),
483 typeof(float)
484 }, ReturnType = typeof(void))]
485 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
486 public void Draw(SpriteBatch sp)
487 {
488 throw null;
489 }
490
491 [global::Cpp2ILInjected.Token(Token = "0x1700089D")]
492 public bool Dead
493 {
494 [global::Cpp2ILInjected.Token(Token = "0x6004E13")]
495 [global::Cpp2ILInjected.Address(RVA = "0x8CF3A0", Offset = "0x8CF3A0", Length = "0xE8")]
496 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
497 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MoonlordDeathDrama), Member = "Update", ReturnType = typeof(void))]
498 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
499 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
500 get
501 {
502 throw null;
503 }
504 }
505
506 [global::Cpp2ILInjected.Token(Token = "0x6004E14")]
507 [global::Cpp2ILInjected.Address(RVA = "0x8CFAA0", Offset = "0x8CFAA0", Length = "0x8C")]
508 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MoonlordDeathDrama), Member = "DrawExplosions", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
509 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
510 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "ToPoint", MemberParameters = new object[] { typeof(Vector2) }, ReturnType = typeof(Point))]
511 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Contains", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(bool))]
512 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
514 {
515 throw null;
516 }
517
518 [global::Cpp2ILInjected.Token(Token = "0x6004E15")]
519 [global::Cpp2ILInjected.Address(RVA = "0x8D115C", Offset = "0x8D115C", Length = "0x30")]
520 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
521 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
522 {
523 typeof(int),
524 typeof(int),
525 typeof(int),
526 typeof(int)
527 }, ReturnType = typeof(void))]
529 {
530 throw null;
531 }
532
533 [global::Cpp2ILInjected.Token(Token = "0x40086CE")]
534 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
536
537 [global::Cpp2ILInjected.Token(Token = "0x40086CF")]
538 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
540
541 [global::Cpp2ILInjected.Token(Token = "0x40086D0")]
542 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
544
545 [global::Cpp2ILInjected.Token(Token = "0x40086D1")]
546 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
548
549 [global::Cpp2ILInjected.Token(Token = "0x40086D2")]
550 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
551 private int _frameCounter;
552
553 [global::Cpp2ILInjected.Token(Token = "0x40086D3")]
554 [global::Cpp2ILInjected.FieldOffset(Offset = "0x3C")]
555 private int _frameSpeed;
556 }
557 }
558}
class f__AnonymousType0<< Count > j__TPar
MoonlordExplosion(Texture2D pieceTexture, Vector2 centerPos, int frameSpeed)
MoonlordPiece(Texture2D pieceTexture, Vector2 textureOrigin, Vector2 centerPos, Vector2 velocity, float rot, float angularVelocity)
static void DrawExplosions(SpriteBatch spriteBatch)
static List< MoonlordDeathDrama.MoonlordExplosion > _explosions
static void DrawPieces(SpriteBatch spriteBatch)
static List< MoonlordDeathDrama.MoonlordPiece > _pieces
static void ThrowPieces(Vector2 MoonlordCoreCenter, int DramaSeed)
static void DrawWhite(SpriteBatch spriteBatch)
static void RequestLight(float light, Vector2 spot)