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
NPCKillAttempt.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x0200063A RID: 1594
7 public struct NPCKillAttempt
8 {
9 // Token: 0x06003646 RID: 13894 RVA: 0x002128B0 File Offset: 0x00210AB0
10 public NPCKillAttempt(NPC target)
11 {
12 this.npc = target;
13 int netID = target.netID;
14 this.netId = netID;
15 bool flag = target.active;
16 this.active = flag;
17 }
18
19 // Token: 0x06003647 RID: 13895 RVA: 0x000021DB File Offset: 0x000003DB
20 public bool DidNPCDie()
21 {
22 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
23 }
24
25 // Token: 0x06003648 RID: 13896 RVA: 0x002128E0 File Offset: 0x00210AE0
27 {
28 int num = this.netId;
29 return true;
30 }
31
32 // Token: 0x040076FE RID: 30462
34
35 // Token: 0x040076FF RID: 30463
36 public readonly int netId;
37
38 // Token: 0x04007700 RID: 30464
39 public readonly bool active;
40 }
41}
class f__AnonymousType0<< Count > j__TPar
int netID
Definition NPC.cs:11510