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
VoidLensHelper.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x0200080B RID: 2059
10 public struct VoidLensHelper
11 {
12 // Token: 0x060041DC RID: 16860 RVA: 0x00248CB0 File Offset: 0x00246EB0
14 {
15 Vector2 center = proj.Center;
16 float opacity = proj.Opacity;
17 int frame = proj.frame;
18 this._frameNumber = frame;
19 }
20
21 // Token: 0x060041DD RID: 16861 RVA: 0x00248CDC File Offset: 0x00246EDC
22 public VoidLensHelper(Vector2 worldPosition, float opacity)
23 {
24 if (!true)
25 {
26 Vector2 position = this._position;
27 }
28 int num = 16928;
30 }
31
32 // Token: 0x060041DE RID: 16862 RVA: 0x00248D00 File Offset: 0x00246F00
33 public void Update()
34 {
35 Vector2 position = this._position;
36 if (!true)
37 {
38 }
39 this.SpawnVoidLensDust();
40 }
41
42 // Token: 0x060041DF RID: 16863 RVA: 0x00248D20 File Offset: 0x00246F20
43 public void SpawnVoidLensDust()
44 {
45 if (!true)
46 {
47 }
48 int num;
49 if (num == 0)
50 {
51 if (!true)
52 {
53 }
54 if (!true)
55 {
56 }
57 int num2;
58 if (num2 != 0)
59 {
60 Vector2 position = this._position;
61 Dust dust;
62 dust.noGravity = true;
65 return;
66 }
68 Dust dust2;
69 dust2.noGravity = true;
72 dust2.fadeIn = (float)16128;
73 float x = dust2.velocity.X;
74 float y = dust2.velocity.Y;
75 float x2 = dust2.position.X;
76 float y2 = dust2.position.Y;
77 float x3 = dust2.velocity.X;
78 float y3 = dust2.velocity.Y;
83 }
84 }
85
86 // Token: 0x060041E0 RID: 16864 RVA: 0x000021DB File Offset: 0x000003DB
88 {
89 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
90 }
91
92 // Token: 0x040080A4 RID: 32932
94
95 // Token: 0x040080A5 RID: 32933
96 private readonly float _opacity;
97
98 // Token: 0x040080A6 RID: 32934
100 }
101}
class f__AnonymousType0<< Count > j__TPar
VoidLensHelper(Vector2 worldPosition, float opacity)
void DrawToDrawData(List< DrawData > drawDataList, int selectionMode)