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
ABasicParticle.cs
Go to the documentation of this file.
1using System;
8
10{
11 [global::Cpp2ILInjected.Token(Token = "0x2000756")]
12 public abstract class ABasicParticle : IPooledParticle, IParticle
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x1700078A")]
16 {
18 [global::Cpp2ILInjected.Token(Token = "0x6003DD4")]
19 [global::Cpp2ILInjected.Address(RVA = "0x14A6118", Offset = "0x14A6118", Length = "0x8")]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 get
22 {
23 throw null;
24 }
26 [global::Cpp2ILInjected.Token(Token = "0x6003DD5")]
27 [global::Cpp2ILInjected.Address(RVA = "0x14A6120", Offset = "0x14A6120", Length = "0xC")]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 protected set
30 {
31 throw null;
32 }
33 }
34
35 [global::Cpp2ILInjected.Token(Token = "0x6003DD6")]
36 [global::Cpp2ILInjected.Address(RVA = "0x14A612C", Offset = "0x14A612C", Length = "0x198")]
37 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FadingParticle), Member = ".ctor", ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FlameParticle), Member = ".ctor", ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RandomizedFrameParticle), Member = ".ctor", ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GasParticle), Member = ".ctor", ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PrettySparkleParticle), Member = ".ctor", ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
47 {
48 throw null;
49 }
50
51 [global::Cpp2ILInjected.Token(Token = "0x6003DD7")]
52 [global::Cpp2ILInjected.Address(RVA = "0x14A62C4", Offset = "0x14A62C4", Length = "0x164")]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FlameParticle), Member = "SetBasicInfo", MemberParameters = new object[]
54 {
59 }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
61 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle?), Member = "get_Value", ReturnType = "T")]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Frame", MemberParameters = new object[]
63 {
65 typeof(int),
66 typeof(int),
67 typeof(int),
68 typeof(int),
69 typeof(int),
70 typeof(int)
71 }, ReturnType = typeof(Rectangle))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Size", MemberParameters = new object[] { typeof(Rectangle) }, ReturnType = typeof(Vector2))]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
74 {
76 typeof(float)
77 }, ReturnType = typeof(Vector2))]
78 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
83
84 [global::Cpp2ILInjected.Token(Token = "0x6003DD8")]
85 [global::Cpp2ILInjected.Address(RVA = "0x14A6428", Offset = "0x14A6428", Length = "0xDC")]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FadingParticle), Member = "Update", MemberParameters = new object[] { typeof(ref ParticleRendererSettings) }, ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FlameParticle), Member = "Update", MemberParameters = new object[] { typeof(ref ParticleRendererSettings) }, ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RandomizedFrameParticle), Member = "Update", MemberParameters = new object[] { typeof(ref ParticleRendererSettings) }, ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GasParticle), Member = "Update", MemberParameters = new object[] { typeof(ref ParticleRendererSettings) }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PrettySparkleParticle), Member = "Update", MemberParameters = new object[] { typeof(ref ParticleRendererSettings) }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
93 {
96 }, ReturnType = typeof(Vector2))]
97 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
98 public virtual void Update(ref ParticleRendererSettings settings)
99 {
100 throw null;
101 }
102
103 [global::Cpp2ILInjected.Token(Token = "0x6003DD9")]
104 public abstract void Draw(ref ParticleRendererSettings settings, SpriteBatch spritebatch);
105
106 [global::Cpp2ILInjected.Token(Token = "0x1700078B")]
107 public bool IsRestingInPool
108 {
110 [global::Cpp2ILInjected.Token(Token = "0x6003DDA")]
111 [global::Cpp2ILInjected.Address(RVA = "0x14A6504", Offset = "0x14A6504", Length = "0x8")]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
113 get
114 {
115 throw null;
116 }
118 [global::Cpp2ILInjected.Token(Token = "0x6003DDB")]
119 [global::Cpp2ILInjected.Address(RVA = "0x14A650C", Offset = "0x14A650C", Length = "0xC")]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
121 private set
122 {
123 throw null;
124 }
125 }
126
127 [global::Cpp2ILInjected.Token(Token = "0x6003DDC")]
128 [global::Cpp2ILInjected.Address(RVA = "0x14A6518", Offset = "0x14A6518", Length = "0xC")]
129 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
130 public void RestInPool()
131 {
132 throw null;
133 }
134
135 [global::Cpp2ILInjected.Token(Token = "0x6003DDD")]
136 [global::Cpp2ILInjected.Address(RVA = "0x14A6524", Offset = "0x14A6524", Length = "0x2B0")]
137 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
138 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FadingParticle), Member = "FetchFromPool", ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FlameParticle), Member = "FetchFromPool", ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RandomizedFrameParticle), Member = "FetchFromPool", ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GasParticle), Member = "FetchFromPool", ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PrettySparkleParticle), Member = "FetchFromPool", ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
144 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
145 public virtual void FetchFromPool()
146 {
147 throw null;
148 }
149
151 [global::Cpp2ILInjected.Token(Token = "0x4007C8A")]
152 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
153 private bool <ShouldBeRemovedFromRenderer>k__BackingField;
154
155 [global::Cpp2ILInjected.Token(Token = "0x4007C8B")]
156 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
158
159 [global::Cpp2ILInjected.Token(Token = "0x4007C8C")]
160 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
162
163 [global::Cpp2ILInjected.Token(Token = "0x4007C8D")]
164 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
166
167 [global::Cpp2ILInjected.Token(Token = "0x4007C8E")]
168 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
170
171 [global::Cpp2ILInjected.Token(Token = "0x4007C8F")]
172 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
173 protected Rectangle _frame;
174
175 [global::Cpp2ILInjected.Token(Token = "0x4007C90")]
176 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
177 protected Vector2 _origin;
178
179 [global::Cpp2ILInjected.Token(Token = "0x4007C91")]
180 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
181 public float Rotation;
182
183 [global::Cpp2ILInjected.Token(Token = "0x4007C92")]
184 [global::Cpp2ILInjected.FieldOffset(Offset = "0x54")]
185 public float RotationVelocity;
186
187 [global::Cpp2ILInjected.Token(Token = "0x4007C93")]
188 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
190
191 [global::Cpp2ILInjected.Token(Token = "0x4007C94")]
192 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5C")]
194
195 [global::Cpp2ILInjected.Token(Token = "0x4007C95")]
196 [global::Cpp2ILInjected.FieldOffset(Offset = "0x64")]
198
199 [global::Cpp2ILInjected.Token(Token = "0x4007C96")]
200 [global::Cpp2ILInjected.FieldOffset(Offset = "0x6C")]
202
204 [global::Cpp2ILInjected.Token(Token = "0x4007C97")]
205 [global::Cpp2ILInjected.FieldOffset(Offset = "0x74")]
206 private bool <IsRestingInPool>k__BackingField;
207 }
208}
class f__AnonymousType0<< Count > j__TPar
virtual void Update(ref ParticleRendererSettings settings)
void Draw(ref ParticleRendererSettings settings, SpriteBatch spritebatch)
bool< ShouldBeRemovedFromRenderer > k__BackingField
virtual void SetBasicInfo(Asset< Texture2D > textureAsset, Rectangle? frame, Vector2 initialVelocity, Vector2 initialLocalPosition)