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
CombatText.cs
Go to the documentation of this file.
1using System;
10
11namespace Terraria
12{
13 [global::Cpp2ILInjected.Token(Token = "0x2000427")]
14 public class CombatText
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x60027AD")]
17 [global::Cpp2ILInjected.Address(RVA = "0x10C7C2C", Offset = "0x10C7C2C", Length = "0xAC")]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
19 {
20 typeof(byte[]),
21 typeof(int),
22 typeof(ref int)
23 }, ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "HealEffect", MemberParameters = new object[]
25 {
27 typeof(int),
28 typeof(bool)
29 }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "StrikeNPC", MemberParameters = new object[]
31 {
32 typeof(int),
33 typeof(float),
34 typeof(int),
35 typeof(bool),
36 typeof(bool),
37 typeof(bool)
38 }, ReturnType = typeof(double))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NPC), Member = "UpdateNPC_BuffApplyDOTs", ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "HealEffect", MemberParameters = new object[]
41 {
42 typeof(int),
43 typeof(bool)
44 }, ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ManaEffect", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateLifeRegen", ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Hurt", MemberParameters = new object[]
48 {
50 typeof(int),
51 typeof(int),
52 typeof(bool),
53 typeof(bool),
54 typeof(bool),
55 typeof(int),
56 typeof(bool)
57 }, ReturnType = typeof(double))]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 11)]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int), Member = "ToString", ReturnType = typeof(string))]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CombatText), Member = "NewText", MemberParameters = new object[]
61 {
64 typeof(string),
65 typeof(bool),
66 typeof(bool)
67 }, ReturnType = typeof(int))]
68 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
69 public static int NewText(Rectangle location, Color color, int amount, bool dramatic = false, bool dot = false)
70 {
71 throw null;
72 }
73
74 [global::Cpp2ILInjected.Token(Token = "0x60027AE")]
75 [global::Cpp2ILInjected.Address(RVA = "0x10C7CD8", Offset = "0x10C7CD8", Length = "0x458")]
76 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
78 {
79 typeof(byte[]),
80 typeof(int),
81 typeof(ref int)
82 }, ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CombatText), Member = "NewText", MemberParameters = new object[]
84 {
87 typeof(int),
88 typeof(bool),
89 typeof(bool)
90 }, ReturnType = typeof(int))]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_NetHostOnly", ReturnType = typeof(bool))]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteFont), Member = "MeasureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Vector2))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
95 {
96 typeof(int),
97 typeof(int)
98 }, ReturnType = typeof(int))]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_myPlayer", ReturnType = typeof(int))]
100 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
101 public static int NewText(Rectangle location, Color color, string text, bool dramatic = false, bool dot = false)
102 {
103 throw null;
104 }
105
106 [global::Cpp2ILInjected.Token(Token = "0x60027AF")]
107 [global::Cpp2ILInjected.Address(RVA = "0x10C8130", Offset = "0x10C8130", Length = "0x70")]
108 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
109 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(WorldGen), Member = "clearWorld", ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DD2Film), Member = "PerFrameSettings", MemberParameters = new object[] { typeof(FrameEventData) }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
112 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
113 public static void clearAll()
114 {
115 throw null;
116 }
117
118 [global::Cpp2ILInjected.Token(Token = "0x1700055C")]
119 public static float TargetScale
120 {
121 [global::Cpp2ILInjected.Token(Token = "0x60027B0")]
122 [global::Cpp2ILInjected.Address(RVA = "0x10C81A0", Offset = "0x10C81A0", Length = "0x8")]
123 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
125 get
126 {
127 throw null;
128 }
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x60027B1")]
132 [global::Cpp2ILInjected.Address(RVA = "0x10C81A8", Offset = "0x10C81A8", Length = "0x258")]
133 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CombatText), Member = "UpdateCombatText", ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Addition", MemberParameters = new object[]
137 {
140 }, ReturnType = typeof(Vector2))]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
142 public void Update()
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x60027B2")]
148 [global::Cpp2ILInjected.Address(RVA = "0x10C8400", Offset = "0x10C8400", Length = "0x98")]
149 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdateInWorld", MemberParameters = new object[] { typeof(Stopwatch) }, ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CombatText), Member = "Update", ReturnType = typeof(void))]
153 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
154 public static void UpdateCombatText()
155 {
156 throw null;
157 }
158
159 [global::Cpp2ILInjected.Token(Token = "0x60027B3")]
160 [global::Cpp2ILInjected.Address(RVA = "0x10C8498", Offset = "0x10C8498", Length = "0x60")]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_Entities", ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
165 public CombatText()
166 {
167 throw null;
168 }
169
170 // Note: this type is marked as 'beforefieldinit'.
171 [global::Cpp2ILInjected.Token(Token = "0x60027B4")]
172 [global::Cpp2ILInjected.Address(RVA = "0x10C84F8", Offset = "0x10C84F8", Length = "0x23C")]
173 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
175 {
176 typeof(int),
177 typeof(int),
178 typeof(int),
179 typeof(int)
180 }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
182 {
183 typeof(Color),
184 typeof(float)
185 }, ReturnType = typeof(Color))]
186 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
187 static CombatText()
188 {
189 throw null;
190 }
191
192 [global::Cpp2ILInjected.Token(Token = "0x40033BE")]
194
195 [global::Cpp2ILInjected.Token(Token = "0x40033BF")]
197
198 [global::Cpp2ILInjected.Token(Token = "0x40033C0")]
200
201 [global::Cpp2ILInjected.Token(Token = "0x40033C1")]
203
204 [global::Cpp2ILInjected.Token(Token = "0x40033C2")]
206
207 [global::Cpp2ILInjected.Token(Token = "0x40033C3")]
209
210 [global::Cpp2ILInjected.Token(Token = "0x40033C4")]
211 public static readonly Color HealLife;
212
213 [global::Cpp2ILInjected.Token(Token = "0x40033C5")]
214 public static readonly Color HealMana;
215
216 [global::Cpp2ILInjected.Token(Token = "0x40033C6")]
217 public static readonly Color LifeRegen;
218
219 [global::Cpp2ILInjected.Token(Token = "0x40033C7")]
221
222 [global::Cpp2ILInjected.Token(Token = "0x40033C8")]
223 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
225
226 [global::Cpp2ILInjected.Token(Token = "0x40033C9")]
227 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
229
230 [global::Cpp2ILInjected.Token(Token = "0x40033CA")]
231 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
232 public float alpha;
233
234 [global::Cpp2ILInjected.Token(Token = "0x40033CB")]
235 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
236 public int alphaDir;
237
238 [global::Cpp2ILInjected.Token(Token = "0x40033CC")]
239 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
240 public string text;
241
242 [global::Cpp2ILInjected.Token(Token = "0x40033CD")]
243 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
244 public float scale;
245
246 [global::Cpp2ILInjected.Token(Token = "0x40033CE")]
247 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
248 public float rotation;
249
250 [global::Cpp2ILInjected.Token(Token = "0x40033CF")]
251 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
252 public Color color;
253
254 [global::Cpp2ILInjected.Token(Token = "0x40033D0")]
255 [global::Cpp2ILInjected.FieldOffset(Offset = "0x3C")]
256 public bool active;
257
258 [global::Cpp2ILInjected.Token(Token = "0x40033D1")]
259 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
260 public int lifeTime;
261
262 [global::Cpp2ILInjected.Token(Token = "0x40033D2")]
263 [global::Cpp2ILInjected.FieldOffset(Offset = "0x44")]
264 public bool crit;
265
266 [global::Cpp2ILInjected.Token(Token = "0x40033D3")]
267 [global::Cpp2ILInjected.FieldOffset(Offset = "0x45")]
268 public bool dot;
269 }
270}
class f__AnonymousType0<< Count > j__TPar
static readonly Color OthersDamagedHostileCrit
static readonly Color DamagedFriendly
static readonly Color HealMana
static void UpdateCombatText()
static readonly Color LifeRegen
static readonly Color DamagedHostileCrit
static void clearAll()
static readonly Color LifeRegenNegative
static readonly Color DamagedFriendlyCrit
static readonly Color OthersDamagedHostile
static int NewText(Rectangle location, Color color, string text, bool dramatic=false, bool dot=false)
static int NewText(Rectangle location, Color color, int amount, bool dramatic=false, bool dot=false)
Definition CombatText.cs:69
static float TargetScale
static readonly Color HealLife
static readonly Color DamagedHostile