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
EffectManager.cs
Go to the documentation of this file.
1using System;
12
14{
15 [global::Cpp2ILInjected.Token(Token = "0x2000781")]
16 public abstract class EffectManager<T> where T : GameEffect
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x170007A3")]
19 public bool IsLoaded
20 {
21 [global::Cpp2ILInjected.Token(Token = "0x6003EE7")]
22 [global::Cpp2ILInjected.Address(RVA = "0x16224BC", Offset = "0x16224BC", Length = "0x8")]
23 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
25 get
26 {
27 throw null;
28 }
29 }
30
31 [global::Cpp2ILInjected.Token(Token = "0x170007A4")]
32 public T this[string key]
33 {
34 [global::Cpp2ILInjected.Token(Token = "0x6003EE8")]
35 [global::Cpp2ILInjected.Address(RVA = "0x16224C4", Offset = "0x16224C4", Length = "0x38")]
36 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
37 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LocalUser), Member = "SetupState", ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "TryPlayingCreditsRoll", ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCDirect", MemberParameters = new object[]
41 {
43 typeof(NPC),
44 typeof(bool),
46 }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCDirect", MemberParameters = new object[]
48 {
50 typeof(NPC),
51 typeof(bool),
55 }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "ClearVisualPostProcessEffects", ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawSurfaceBG", ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "CheckMonoliths", ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "UpdateTime", ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateBiomes", ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ManageSpecialBiomeVisuals", MemberParameters = new object[]
63 {
64 typeof(string),
65 typeof(bool),
67 }, ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Gore), Member = "Update", ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Rain), Member = "MakeRain", ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbientSky), Member = "AnActiveSkyConflictsWithAmbience", ReturnType = typeof(bool))]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbientSky), Member = "Update", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbientSky), Member = "Draw", MemberParameters = new object[]
74 {
76 typeof(float),
77 typeof(float)
78 }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbientSky), Member = "Spawn", MemberParameters = new object[]
80 {
83 typeof(int)
84 }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.NetModules.NetAmbienceModule.<>c__DisplayClass1_0", Member = "<Deserialize>b__0", ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreditsRollEvent), Member = "TryStartingCreditsRoll", ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 103)]
88 get
89 {
90 throw null;
91 }
92 [global::Cpp2ILInjected.Token(Token = "0x6003EE9")]
93 [global::Cpp2ILInjected.Address(RVA = "0x16224FC", Offset = "0x16224FC", Length = "0x14")]
94 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ScreenEffectInitializer), Member = "Load", ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ScreenEffectInitializer), Member = "LoadSkies", ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 46)]
98 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
99 set
100 {
101 throw null;
102 }
103 }
104
105 [global::Cpp2ILInjected.Token(Token = "0x6003EEA")]
106 [global::Cpp2ILInjected.Address(RVA = "0x1622510", Offset = "0x1622510", Length = "0x50")]
107 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
108 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
109 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameEffect), Member = "Load", ReturnType = typeof(void))]
111 public void Bind(string name, T effect)
112 {
113 throw null;
114 }
115
116 [global::Cpp2ILInjected.Token(Token = "0x6003EEB")]
117 [global::Cpp2ILInjected.Address(RVA = "0x1622560", Offset = "0x1622560", Length = "0x120")]
118 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
119 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ScreenEffectInitializer), Member = "Load", ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ScreenEffectInitializer), Member = "LoadSkies", ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>.ValueCollection.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GameEffect), Member = "Load", ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, object>.ValueCollection.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
127 public void Load()
128 {
129 throw null;
130 }
131
132 [global::Cpp2ILInjected.Token(Token = "0x6003EEC")]
133 [global::Cpp2ILInjected.Address(RVA = "0x1622680", Offset = "0x1622680", Length = "0x228")]
134 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
135 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMainMenu), Member = "Draw", ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "TryPlayingCreditsRoll", ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCDirect", MemberParameters = new object[]
139 {
141 typeof(NPC),
142 typeof(bool),
144 }, ReturnType = typeof(void))]
145 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawNPCDirect", MemberParameters = new object[]
146 {
148 typeof(NPC),
149 typeof(bool),
153 }, ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawSurfaceBG", ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "CheckMonoliths", ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "StartSlimeRain", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "UpdateTime", ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateBiomes", ReturnType = typeof(void))]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ManageSpecialBiomeVisuals", MemberParameters = new object[]
161 {
162 typeof(string),
163 typeof(bool),
165 }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
167 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbientSky), Member = "Spawn", MemberParameters = new object[]
168 {
169 typeof(Player),
171 typeof(int)
172 }, ReturnType = typeof(void))]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BirthdayParty), Member = "UpdateTime", ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LanternNight), Member = "UpdateTime", ReturnType = typeof(void))]
175 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Sandstorm), Member = "HandleEffectAndSky", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
176 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 27)]
177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(RuntimeTypeHandle) }, ReturnType = typeof(Type))]
178 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string))]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MissingEffectException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
180 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
181 public T Activate(string name, Vector2 position = default(Vector2), params object[] args)
182 {
183 throw null;
184 }
185
186 [global::Cpp2ILInjected.Token(Token = "0x6003EED")]
187 [global::Cpp2ILInjected.Address(RVA = "0x16228A8", Offset = "0x16228A8", Length = "0x200")]
188 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
189 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
190 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DrawSurfaceBG", ReturnType = typeof(void))]
191 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "CheckMonoliths", ReturnType = typeof(void))]
192 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
193 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "StopSlimeRain", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "UpdateTime", ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "AI", ReturnType = typeof(void))]
196 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateBiomes", ReturnType = typeof(void))]
197 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ManageSpecialBiomeVisuals", MemberParameters = new object[]
198 {
199 typeof(string),
200 typeof(bool),
202 }, ReturnType = typeof(void))]
203 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI", ReturnType = typeof(void))]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbientSky), Member = "Update", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
205 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbientSky), Member = "Draw", MemberParameters = new object[]
206 {
208 typeof(float),
209 typeof(float)
210 }, ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CreditsRollSky), Member = "Update", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
212 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(BirthdayParty), Member = "UpdateTime", ReturnType = typeof(void))]
213 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DD2Event), Member = "UpdateTime", ReturnType = typeof(void))]
214 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LanternNight), Member = "UpdateTime", ReturnType = typeof(void))]
215 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Sandstorm), Member = "HandleEffectAndSky", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
216 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 27)]
217 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(RuntimeTypeHandle) }, ReturnType = typeof(Type))]
218 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[] { typeof(string[]) }, ReturnType = typeof(string))]
219 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MissingEffectException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
220 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
221 public void Deactivate(string name, params object[] args)
222 {
223 throw null;
224 }
225
226 [global::Cpp2ILInjected.Token(Token = "0x6003EEE")]
227 [global::Cpp2ILInjected.Address(RVA = "0x1622AA8", Offset = "0x1622AA8", Length = "0x4")]
228 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
229 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
230 public virtual void OnActivate(T effect, Vector2 position)
231 {
232 throw null;
233 }
234
235 [global::Cpp2ILInjected.Token(Token = "0x6003EEF")]
236 [global::Cpp2ILInjected.Address(RVA = "0x1622AAC", Offset = "0x1622AAC", Length = "0x4")]
237 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
238 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
239 public virtual void OnDeactivate(T effect)
240 {
241 throw null;
242 }
243
244 [global::Cpp2ILInjected.Token(Token = "0x6003EF0")]
245 [global::Cpp2ILInjected.Address(RVA = "0x1622AB0", Offset = "0x1622AB0", Length = "0x68")]
246 [global::Cpp2ILInjected.CallAnalysis.DeduplicatedMethod]
247 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
248 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FilterManager), Member = ".ctor", ReturnType = typeof(void))]
249 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(OverlayManager), Member = ".ctor", ReturnType = typeof(void))]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SkyManager), Member = ".ctor", ReturnType = typeof(void))]
251 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
252 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
253 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
254 protected EffectManager()
255 {
256 throw null;
257 }
258
259 [global::Cpp2ILInjected.Token(Token = "0x4007D72")]
260 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
261 protected bool _isLoaded;
262
263 [global::Cpp2ILInjected.Token(Token = "0x4007D73")]
264 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
266 }
267}
class f__AnonymousType0<< Count > j__TPar
T Activate(string name, Vector2 position=default(Vector2), params object[] args)
virtual void OnActivate(T effect, Vector2 position)
void Deactivate(string name, params object[] args)
void Bind(string name, T effect)