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.
1
using
System
;
2
using
Cpp2IlInjected
;
3
4
namespace
Terraria.DataStructures
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
26
public
bool
DidNPCDieOrTransform
()
27
{
28
int
num = this.
netId
;
29
return
true
;
30
}
31
32
// Token: 0x040076FE RID: 30462
33
public
readonly
NPC
npc
;
34
35
// Token: 0x040076FF RID: 30463
36
public
readonly
int
netId
;
37
38
// Token: 0x04007700 RID: 30464
39
public
readonly
bool
active
;
40
}
41
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Cpp2IlInjected.AnalysisFailedException
Definition
AnalysisFailedException.cs:7
Terraria.Entity.active
bool active
Definition
Entity.cs:454
Terraria.NPC.netID
int netID
Definition
NPC.cs:11510
Terraria.NPC
Definition
NPC.cs:20
Cpp2IlInjected
Definition
AnalysisFailedException.cs:4
System
Definition
__ComObject.cs:4
Terraria.DataStructures
Definition
AEntitySource_OnHit.cs:4
Terraria.DataStructures.NPCKillAttempt.DidNPCDie
bool DidNPCDie()
Definition
NPCKillAttempt.cs:20
Terraria.DataStructures.NPCKillAttempt.DidNPCDieOrTransform
bool DidNPCDieOrTransform()
Definition
NPCKillAttempt.cs:26
Terraria.DataStructures.NPCKillAttempt.netId
readonly int netId
Definition
NPCKillAttempt.cs:36
Terraria.DataStructures.NPCKillAttempt.active
readonly bool active
Definition
NPCKillAttempt.cs:39
Terraria.DataStructures.NPCKillAttempt.NPCKillAttempt
NPCKillAttempt(NPC target)
Definition
NPCKillAttempt.cs:10
Terraria.DataStructures.NPCKillAttempt.npc
readonly NPC npc
Definition
NPCKillAttempt.cs:33
Terraria.DataStructures.NPCKillAttempt
Definition
NPCKillAttempt.cs:8
source
Terraria
DataStructures
NPCKillAttempt.cs
Generated by
1.10.0