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
EffectManager.cs
Go to the documentation of this file.
1using System;
6
8{
9 // Token: 0x02000781 RID: 1921
10 public abstract class EffectManager<T> where T : GameEffect
11 {
12 // Token: 0x170007A3 RID: 1955
13 // (get) Token: 0x06003EE7 RID: 16103 RVA: 0x0023F628 File Offset: 0x0023D828
14 public bool IsLoaded
15 {
16 get
17 {
18 return this._isLoaded;
19 }
20 }
21
22 // Token: 0x170007A4 RID: 1956
23 public T this[string key]
24 {
25 get
26 {
27 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
28 }
29 set
30 {
31 }
32 }
33
34 // Token: 0x06003EEA RID: 16106 RVA: 0x0023F64C File Offset: 0x0023D84C
35 public void Bind(string name, T effect)
36 {
37 if (this._isLoaded)
38 {
39 return;
40 }
41 }
42
43 // Token: 0x06003EEB RID: 16107 RVA: 0x0023F664 File Offset: 0x0023D864
44 public void Load()
45 {
46 if (!this._isLoaded)
47 {
48 this._isLoaded = true;
49 return;
50 }
51 }
52
53 // Token: 0x06003EEC RID: 16108 RVA: 0x0023F6A0 File Offset: 0x0023D8A0
54 public T Activate(string name, [Optional] Vector2 position, params object[] args)
55 {
56 if (("Unable to find effect named: " != null && "Unable to find effect named: " == null) || "Unable to find effect named: " == null || (". Type: " != null && ". Type: " == null))
57 {
59 }
60 Type type;
61 if (type != null)
62 {
63 }
65 }
66
67 // Token: 0x06003EED RID: 16109 RVA: 0x0023F6E4 File Offset: 0x0023D8E4
68 public void Deactivate(string name, params object[] args)
69 {
70 }
71
72 // Token: 0x06003EEE RID: 16110 RVA: 0x0023F72C File Offset: 0x0023D92C
73 public virtual void OnActivate(T effect, Vector2 position)
74 {
75 }
76
77 // Token: 0x06003EEF RID: 16111 RVA: 0x0023F73C File Offset: 0x0023D93C
78 public virtual void OnDeactivate(T effect)
79 {
80 }
81
82 // Token: 0x06003EF0 RID: 16112 RVA: 0x0023F74C File Offset: 0x0023D94C
83 protected EffectManager()
84 {
85 }
86
87 // Token: 0x04007D72 RID: 32114
88 protected bool _isLoaded;
89
90 // Token: 0x04007D73 RID: 32115
92 }
93}
class f__AnonymousType0<< Count > j__TPar
T Activate(string name, [Optional] Vector2 position, params object[] args)
virtual void OnActivate(T effect, Vector2 position)
void Deactivate(string name, params object[] args)
void Bind(string name, T effect)