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
ABasicParticle.cs
Go to the documentation of this file.
1using System;
7
9{
10 // Token: 0x02000756 RID: 1878
11 public abstract class ABasicParticle : IPooledParticle, IParticle
12 {
13 // Token: 0x1700078A RID: 1930
14 // (get) Token: 0x06003DD4 RID: 15828 RVA: 0x0023A498 File Offset: 0x00238698
15 // (set) Token: 0x06003DD5 RID: 15829 RVA: 0x0023A4AC File Offset: 0x002386AC
17 {
19 get
20 {
22 }
24 protected set
25 {
26 }
27 }
28
29 // Token: 0x06003DD6 RID: 15830 RVA: 0x0023A4BC File Offset: 0x002386BC
31 {
32 if (!true)
33 {
34 }
35 if (!true)
36 {
37 }
38 if (!true)
39 {
40 }
41 if (true)
42 {
43 return;
44 }
45 if (true)
46 {
47 return;
48 }
49 if (!true)
50 {
51 }
52 }
53
54 // Token: 0x06003DD7 RID: 15831 RVA: 0x000021DB File Offset: 0x000003DB
56 {
57 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
58 }
59
60 // Token: 0x06003DD8 RID: 15832 RVA: 0x0023A4E4 File Offset: 0x002386E4
61 public virtual void Update(ParticleRendererSettings settings)
62 {
63 float x = this.Velocity.X;
64 float y = this.Velocity.Y;
65 float x2 = this.AccelerationPerFrame.X;
66 float y2 = this.AccelerationPerFrame.Y;
67 if (!true)
68 {
69 }
70 float x3 = this.LocalPosition.X;
71 float y3 = this.LocalPosition.Y;
72 float rotation = this.Rotation;
77 float x4 = this.ScaleVelocity.X;
78 float y4 = this.ScaleVelocity.Y;
79 float x5 = this.ScaleAcceleration.X;
80 float y5 = this.ScaleAcceleration.Y;
81 this.Rotation = rotation;
83 float x6 = this.Scale.X;
84 float y6 = this.Scale.Y;
87 }
88
89 // Token: 0x06003DD9 RID: 15833
90 public abstract void Draw(ParticleRendererSettings settings, SpriteBatch spritebatch);
91
92 // Token: 0x1700078B RID: 1931
93 // (get) Token: 0x06003DDA RID: 15834 RVA: 0x0023A5F4 File Offset: 0x002387F4
94 // (set) Token: 0x06003DDB RID: 15835 RVA: 0x0023A608 File Offset: 0x00238808
95 public bool IsRestingInPool
96 {
98 get
99 {
100 return this.<IsRestingInPool>k__BackingField;
101 }
103 private set
104 {
105 }
106 }
107
108 // Token: 0x06003DDC RID: 15836 RVA: 0x0023A618 File Offset: 0x00238818
109 public void RestInPool()
110 {
111 this.<IsRestingInPool>k__BackingField = true;
112 }
113
114 // Token: 0x06003DDD RID: 15837 RVA: 0x0023A62C File Offset: 0x0023882C
115 public virtual void FetchFromPool()
116 {
117 if (!true)
118 {
119 }
120 if (true)
121 {
122 return;
123 }
124 if (true)
125 {
126 return;
127 }
128 if (!true)
129 {
130 }
131 if (!true)
132 {
133 }
134 if (!true)
135 {
136 }
137 if (true)
138 {
139 return;
140 }
141 if (true)
142 {
143 return;
144 }
145 if (true)
146 {
147 return;
148 }
149 if (!true)
150 {
151 }
152 }
153
154 // Token: 0x04007C8A RID: 31882
156 private bool <ShouldBeRemovedFromRenderer>k__BackingField;
157
158 // Token: 0x04007C8B RID: 31883
160
161 // Token: 0x04007C8C RID: 31884
163
164 // Token: 0x04007C8D RID: 31885
166
167 // Token: 0x04007C8E RID: 31886
169
170 // Token: 0x04007C8F RID: 31887
171 protected Rectangle _frame;
172
173 // Token: 0x04007C90 RID: 31888
174 protected Vector2 _origin;
175
176 // Token: 0x04007C91 RID: 31889
177 public float Rotation;
178
179 // Token: 0x04007C92 RID: 31890
180 public float RotationVelocity;
181
182 // Token: 0x04007C93 RID: 31891
184
185 // Token: 0x04007C94 RID: 31892
187
188 // Token: 0x04007C95 RID: 31893
190
191 // Token: 0x04007C96 RID: 31894
193
194 // Token: 0x04007C97 RID: 31895
196 private bool <IsRestingInPool>k__BackingField;
197 }
198}
class f__AnonymousType0<< Count > j__TPar
void Draw(ParticleRendererSettings settings, SpriteBatch spritebatch)
virtual void Update(ParticleRendererSettings settings)
bool< ShouldBeRemovedFromRenderer > k__BackingField
virtual void SetBasicInfo(Asset< Texture2D > textureAsset, Rectangle? frame, Vector2 initialVelocity, Vector2 initialLocalPosition)