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
PlayerDeathReason.cs
Go to the documentation of this file.
1using System;
2using System.IO;
8
10{
11 [global::Cpp2ILInjected.Token(Token = "0x200063C")]
12 public class PlayerDeathReason
13 {
14 [global::Cpp2ILInjected.Token(Token = "0x170006A1")]
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x600364F")]
18 [global::Cpp2ILInjected.Address(RVA = "0x13DDB8C", Offset = "0x13DDB8C", Length = "0x70")]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Hurt", MemberParameters = new object[]
20 {
22 typeof(int),
23 typeof(int),
24 typeof(bool),
25 typeof(bool),
26 typeof(bool),
27 typeof(int),
28 typeof(bool)
29 }, ReturnType = typeof(double))]
30 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(int?), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
33 get
34 {
35 throw null;
36 }
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x6003650")]
40 [global::Cpp2ILInjected.Address(RVA = "0x13DDBFC", Offset = "0x13DDBFC", Length = "0x1D4")]
41 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
42 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Hurt", MemberParameters = new object[]
43 {
45 typeof(int),
46 typeof(int),
47 typeof(bool),
48 typeof(bool),
49 typeof(bool),
50 typeof(int),
51 typeof(bool)
52 }, ReturnType = typeof(double))]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "AllowShimmerDodge", MemberParameters = new object[]
54 {
56 typeof(int),
57 typeof(bool)
58 }, ReturnType = typeof(bool))]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils[]), Member = "IndexInRange", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[]
61 {
62 typeof(object[]),
63 typeof(int)
64 }, ReturnType = typeof(bool))]
65 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
66 public bool TryGetCausingEntity(out Entity entity)
67 {
68 throw null;
69 }
70
71 [global::Cpp2ILInjected.Token(Token = "0x6003651")]
72 [global::Cpp2ILInjected.Address(RVA = "0x13DDDD0", Offset = "0x13DDDD0", Length = "0x64")]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateBuffs", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Hurt", MemberParameters = new object[]
75 {
77 typeof(int),
78 typeof(int),
79 typeof(bool),
80 typeof(bool),
81 typeof(bool),
82 typeof(int),
83 typeof(bool)
84 }, ReturnType = typeof(double))]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
89 {
90 throw null;
91 }
92
93 [global::Cpp2ILInjected.Token(Token = "0x6003652")]
94 [global::Cpp2ILInjected.Address(RVA = "0x13DDE44", Offset = "0x13DDE44", Length = "0x64")]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "WOFTongue", ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
100 {
101 throw null;
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x6003653")]
105 [global::Cpp2ILInjected.Address(RVA = "0x13DDEA8", Offset = "0x13DDEA8", Length = "0x64")]
106 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Update_NPCCollision", ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "TakeDamageFromJellyfish", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_CatchCritters", MemberParameters = new object[]
109 {
110 typeof(Item),
112 }, ReturnType = typeof(Rectangle))]
113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
116 public static PlayerDeathReason ByNPC(int index)
117 {
118 throw null;
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x6003654")]
122 [global::Cpp2ILInjected.Address(RVA = "0x13DDF0C", Offset = "0x13DDF0C", Length = "0x64")]
123 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
127 {
128 throw null;
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x6003655")]
132 [global::Cpp2ILInjected.Address(RVA = "0x13DDF70", Offset = "0x13DDF70", Length = "0xC4")]
133 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_MeleeHitPVP", MemberParameters = new object[]
135 {
136 typeof(Item),
138 typeof(int),
139 typeof(float)
140 }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
142 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
145 {
146 throw null;
147 }
148
149 [global::Cpp2ILInjected.Token(Token = "0x6003656")]
150 [global::Cpp2ILInjected.Address(RVA = "0x13DE034", Offset = "0x13DE034", Length = "0x64")]
151 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateBuffs", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "UpdateLifeRegen", ReturnType = typeof(void))]
153 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "WOFTongue", ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "CheckDrowning", ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "BordersMovement", ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "Update", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ApplyTouchDamage", MemberParameters = new object[]
158 {
159 typeof(int),
160 typeof(int),
161 typeof(int)
162 }, ReturnType = typeof(void))]
163 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_UseTeleportRod", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "ItemCheck_UseMiningTools_ActuallyUseMiningTool", MemberParameters = new object[]
165 {
166 typeof(Item),
167 typeof(ref bool),
168 typeof(int),
169 typeof(int)
170 }, ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "AI_067_FreakingPirates", ReturnType = typeof(void))]
172 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mount), Member = "UseDrill", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DontStarveDarknessDamageDealer), Member = "Update", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 19)]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
176 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
177 public static PlayerDeathReason ByOther(int type)
178 {
179 throw null;
180 }
181
182 [global::Cpp2ILInjected.Token(Token = "0x6003657")]
183 [global::Cpp2ILInjected.Address(RVA = "0x13DE098", Offset = "0x13DE098", Length = "0xFC")]
184 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
185 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "Damage", ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Projectile), Member = "BombsHurtPlayers", MemberParameters = new object[]
187 {
189 typeof(int)
190 }, ReturnType = typeof(void))]
191 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
193 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
195 {
196 throw null;
197 }
198
199 [global::Cpp2ILInjected.Token(Token = "0x6003658")]
200 [global::Cpp2ILInjected.Address(RVA = "0x13DE194", Offset = "0x13DE194", Length = "0xD8")]
201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Player), Member = "KillMe", MemberParameters = new object[]
202 {
204 typeof(double),
205 typeof(int),
206 typeof(bool)
207 }, ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
209 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetworkText), Member = "FromLiteral", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(NetworkText))]
210 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Lang), Member = "CreateDeathMessage", MemberParameters = new object[]
211 {
212 typeof(string),
213 typeof(int),
214 typeof(int),
215 typeof(int),
216 typeof(int),
217 typeof(int),
218 typeof(int)
219 }, ReturnType = typeof(NetworkText))]
220 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
222 {
223 throw null;
224 }
225
226 [global::Cpp2ILInjected.Token(Token = "0x6003659")]
227 [global::Cpp2ILInjected.Address(RVA = "0x13DE26C", Offset = "0x13DE26C", Length = "0x278")]
228 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
229 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(NetMessage), Member = "SendData", MemberParameters = new object[]
230 {
231 typeof(int),
232 typeof(int),
233 typeof(int),
235 typeof(int),
236 typeof(float),
237 typeof(float),
238 typeof(float),
239 typeof(int),
240 typeof(int),
241 typeof(int)
242 }, ReturnType = typeof(void))]
243 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
244 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitsByte), Member = "op_Implicit", MemberParameters = new object[] { typeof(byte) }, ReturnType = typeof(BitsByte))]
245 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitsByte), Member = "set_Item", MemberParameters = new object[]
246 {
247 typeof(int),
248 typeof(bool)
249 }, ReturnType = typeof(void))]
250 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitsByte), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
251 public void WriteSelfTo(BinaryWriter writer)
252 {
253 throw null;
254 }
255
256 [global::Cpp2ILInjected.Token(Token = "0x600365A")]
257 [global::Cpp2ILInjected.Address(RVA = "0x13DE4E4", Offset = "0x13DE4E4", Length = "0x200")]
258 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
259 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MessageBuffer), Member = "ProcessData", MemberParameters = new object[]
260 {
261 typeof(byte[]),
262 typeof(int),
263 typeof(ref int)
264 }, ReturnType = typeof(void))]
265 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
266 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
267 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitsByte), Member = "op_Implicit", MemberParameters = new object[] { typeof(byte) }, ReturnType = typeof(BitsByte))]
268 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(BitsByte), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
269 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
271 {
272 throw null;
273 }
274
275 [global::Cpp2ILInjected.Token(Token = "0x600365B")]
276 [global::Cpp2ILInjected.Address(RVA = "0x13DDE34", Offset = "0x13DDE34", Length = "0x10")]
277 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
278 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
280 {
281 throw null;
282 }
283
284 [global::Cpp2ILInjected.Token(Token = "0x4007707")]
285 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
287
288 [global::Cpp2ILInjected.Token(Token = "0x4007708")]
289 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
290 private int _sourceNPCIndex;
291
292 [global::Cpp2ILInjected.Token(Token = "0x4007709")]
293 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
295
296 [global::Cpp2ILInjected.Token(Token = "0x400770A")]
297 [global::Cpp2ILInjected.FieldOffset(Offset = "0x1C")]
298 private int _sourceOtherIndex;
299
300 [global::Cpp2ILInjected.Token(Token = "0x400770B")]
301 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
303
304 [global::Cpp2ILInjected.Token(Token = "0x400770C")]
305 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
306 private int _sourceItemType;
307
308 [global::Cpp2ILInjected.Token(Token = "0x400770D")]
309 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
310 private int _sourceItemPrefix;
311
312 [global::Cpp2ILInjected.Token(Token = "0x400770E")]
313 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
314 private string _sourceCustomReason;
315 }
316}
class f__AnonymousType0<< Count > j__TPar
NetworkText GetDeathText(string deadPlayerName)
static PlayerDeathReason ByCustomReason(string reasonInEnglish)
static PlayerDeathReason FromReader(BinaryReader reader)
static PlayerDeathReason ByOther(int type)
static PlayerDeathReason ByPlayer(int index)
static PlayerDeathReason ByNPC(int index)
static PlayerDeathReason ByProjectile(int playerIndex, int projectileIndex)