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
VortexSky.cs
Go to the documentation of this file.
1using System;
10
12{
13 [global::Cpp2ILInjected.Token(Token = "0x20009E0")]
14 public class VortexSky : CustomSky
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6004A72")]
17 [global::Cpp2ILInjected.Address(RVA = "0x85C61C", Offset = "0x85C61C", Length = "0x304")]
18 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
20 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
21 public override void OnLoad()
22 {
23 throw null;
24 }
25
26 [global::Cpp2ILInjected.Token(Token = "0x6004A73")]
27 [global::Cpp2ILInjected.Address(RVA = "0x85C920", Offset = "0x85C920", Length = "0x270")]
28 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Min", MemberParameters = new object[]
31 {
32 typeof(float),
33 typeof(float)
34 }, ReturnType = typeof(float))]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
36 {
37 typeof(float),
38 typeof(float)
39 }, ReturnType = typeof(float))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
41 {
42 typeof(int),
43 typeof(int)
44 }, ReturnType = typeof(int))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "NextFloat", MemberParameters = new object[] { typeof(UnifiedRandom) }, ReturnType = typeof(float))]
46 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
47 public override void Update(GameTime gameTime)
48 {
49 throw null;
50 }
51
52 [global::Cpp2ILInjected.Token(Token = "0x6004A74")]
53 [global::Cpp2ILInjected.Address(RVA = "0x85CB90", Offset = "0x85CB90", Length = "0x104")]
54 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "ToVector4", ReturnType = typeof(Vector4))]
56 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector4), Member = "Lerp", MemberParameters = new object[]
57 {
60 typeof(float)
61 }, ReturnType = typeof(Vector4))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[] { typeof(Vector4) }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
64 public override Color OnTileColor(Color inColor)
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x6004A75")]
70 [global::Cpp2ILInjected.Address(RVA = "0x85CC94", Offset = "0x85CC94", Length = "0x8A8")]
71 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenWidth", ReturnType = typeof(int))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenHeight", ReturnType = typeof(int))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
76 {
77 typeof(int),
78 typeof(int),
79 typeof(int),
80 typeof(int)
81 }, ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
83 {
85 typeof(float)
86 }, ReturnType = typeof(Color))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
88 {
92 }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_screenPosition", ReturnType = typeof(Vector2))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
95 {
96 typeof(int),
97 typeof(int)
98 }, ReturnType = typeof(int))]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Min", MemberParameters = new object[]
100 {
101 typeof(float),
102 typeof(float)
103 }, ReturnType = typeof(float))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Max", MemberParameters = new object[]
105 {
106 typeof(float),
107 typeof(float)
108 }, ReturnType = typeof(float))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
110 {
111 typeof(float),
112 typeof(float)
113 }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Subtraction", MemberParameters = new object[]
115 {
118 }, ReturnType = typeof(Vector2))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
120 {
121 typeof(float),
123 }, ReturnType = typeof(Vector2))]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
125 {
128 }, ReturnType = typeof(Vector2))]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Width", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(int))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Height", MemberParameters = new object[] { typeof(Asset<Texture2D>) }, ReturnType = typeof(int))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
132 {
136 typeof(Color),
137 typeof(float),
139 typeof(float),
141 typeof(float)
142 }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Multiply", MemberParameters = new object[]
144 {
147 }, ReturnType = typeof(Vector2))]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = "Contains", MemberParameters = new object[]
149 {
150 typeof(int),
151 typeof(int)
152 }, ReturnType = typeof(bool))]
153 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
154 public override void Draw(SpriteBatch spriteBatch, float minDepth, float maxDepth)
155 {
156 throw null;
157 }
158
159 [global::Cpp2ILInjected.Token(Token = "0x6004A76")]
160 [global::Cpp2ILInjected.Address(RVA = "0x85D53C", Offset = "0x85D53C", Length = "0x28")]
161 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
162 public override float GetCloudAlpha()
163 {
164 throw null;
165 }
166
167 [global::Cpp2ILInjected.Token(Token = "0x6004A77")]
168 [global::Cpp2ILInjected.Address(RVA = "0x85D564", Offset = "0x85D564", Length = "0x8C")]
169 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
170 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
171 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
172 public override void Activate(Vector2 position, params object[] args)
173 {
174 throw null;
175 }
176
177 [global::Cpp2ILInjected.Token(Token = "0x6004A78")]
178 [global::Cpp2ILInjected.Address(RVA = "0x85D5F0", Offset = "0x85D5F0", Length = "0x8")]
179 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
180 public override void Deactivate(params object[] args)
181 {
182 throw null;
183 }
184
185 [global::Cpp2ILInjected.Token(Token = "0x6004A79")]
186 [global::Cpp2ILInjected.Address(RVA = "0x85D5F8", Offset = "0x85D5F8", Length = "0x8")]
187 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
188 public override void Reset()
189 {
190 throw null;
191 }
192
193 [global::Cpp2ILInjected.Token(Token = "0x6004A7A")]
194 [global::Cpp2ILInjected.Address(RVA = "0x85D600", Offset = "0x85D600", Length = "0x28")]
195 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
196 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
197 public override bool IsActive()
198 {
199 throw null;
200 }
201
202 [global::Cpp2ILInjected.Token(Token = "0x6004A7B")]
203 [global::Cpp2ILInjected.Address(RVA = "0x85D628", Offset = "0x85D628", Length = "0x60")]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ScreenEffectInitializer), Member = "LoadSkies", ReturnType = typeof(void))]
205 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = ".ctor", ReturnType = typeof(void))]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CustomSky), Member = ".ctor", ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
209 public VortexSky()
210 {
211 throw null;
212 }
213
214 [global::Cpp2ILInjected.Token(Token = "0x400850F")]
215 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
217
218 [global::Cpp2ILInjected.Token(Token = "0x4008510")]
219 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
221
222 [global::Cpp2ILInjected.Token(Token = "0x4008511")]
223 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
225
226 [global::Cpp2ILInjected.Token(Token = "0x4008512")]
227 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
229
230 [global::Cpp2ILInjected.Token(Token = "0x4008513")]
231 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
233
234 [global::Cpp2ILInjected.Token(Token = "0x4008514")]
235 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
236 private bool _isActive;
237
238 [global::Cpp2ILInjected.Token(Token = "0x4008515")]
239 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4C")]
241
242 [global::Cpp2ILInjected.Token(Token = "0x4008516")]
243 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
244 private float _fadeOpacity;
245
246 [global::Cpp2ILInjected.Token(Token = "0x4008517")]
247 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
249
250 [global::Cpp2ILInjected.Token(Token = "0x20009E1")]
251 private struct Bolt
252 {
253 [global::Cpp2ILInjected.Token(Token = "0x4008518")]
254 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
256
257 [global::Cpp2ILInjected.Token(Token = "0x4008519")]
258 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
259 public float Depth;
260
261 [global::Cpp2ILInjected.Token(Token = "0x400851A")]
262 [global::Cpp2ILInjected.FieldOffset(Offset = "0xC")]
263 public int Life;
264
265 [global::Cpp2ILInjected.Token(Token = "0x400851B")]
266 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
267 public bool IsAlive;
268 }
269 }
270}
class f__AnonymousType0<< Count > j__TPar
override Color OnTileColor(Color inColor)
Definition VortexSky.cs:64
override void Update(GameTime gameTime)
Definition VortexSky.cs:47
override void Deactivate(params object[] args)
Definition VortexSky.cs:180
override void Draw(SpriteBatch spriteBatch, float minDepth, float maxDepth)
Definition VortexSky.cs:154
override void Activate(Vector2 position, params object[] args)
Definition VortexSky.cs:172