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
NPCDebuffImmunityData.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
Terraria.DataStructures
4
{
5
// Token: 0x02000638 RID: 1592
6
public
class
NPCDebuffImmunityData
7
{
8
// Token: 0x06003637 RID: 13879 RVA: 0x00212644 File Offset: 0x00210844
9
public
void
ApplyToNPC
(
NPC
npc)
10
{
11
bool
immuneToAllBuffsThatAreNotWhips
;
12
if
(!this.
ImmuneToWhips
)
13
{
14
immuneToAllBuffsThatAreNotWhips = this.
ImmuneToAllBuffsThatAreNotWhips
;
15
if
(!immuneToAllBuffsThatAreNotWhips)
16
{
17
goto
IL_0032
;
18
}
19
}
20
if
(!
immuneToAllBuffsThatAreNotWhips
)
21
{
22
}
23
if
(
immuneToAllBuffsThatAreNotWhips
)
24
{
25
bool
immuneToWhips
= this.
ImmuneToWhips
;
26
return
;
27
}
28
bool
immuneToAllBuffsThatAreNotWhips2
= this.
ImmuneToAllBuffsThatAreNotWhips
;
29
bool
[] buffImmune = npc.
buffImmune
;
30
IL_0032
:
31
if
(this.
SpecificallyImmuneTo
!=
null
)
32
{
33
bool
[]
buffImmune2
= npc.
buffImmune
;
34
}
35
}
36
37
// Token: 0x06003638 RID: 13880 RVA: 0x00212698 File Offset: 0x00210898
38
public
NPCDebuffImmunityData
()
39
{
40
}
41
42
// Token: 0x040076F8 RID: 30456
43
public
bool
ImmuneToWhips
;
44
45
// Token: 0x040076F9 RID: 30457
46
public
bool
ImmuneToAllBuffsThatAreNotWhips
;
47
48
// Token: 0x040076FA RID: 30458
49
public
int
[]
SpecificallyImmuneTo
;
50
}
51
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Terraria.DataStructures.NPCDebuffImmunityData.NPCDebuffImmunityData
NPCDebuffImmunityData()
Definition
NPCDebuffImmunityData.cs:38
Terraria.DataStructures.NPCDebuffImmunityData.SpecificallyImmuneTo
int[] SpecificallyImmuneTo
Definition
NPCDebuffImmunityData.cs:49
Terraria.DataStructures.NPCDebuffImmunityData.ImmuneToWhips
bool ImmuneToWhips
Definition
NPCDebuffImmunityData.cs:43
Terraria.DataStructures.NPCDebuffImmunityData.ApplyToNPC
void ApplyToNPC(NPC npc)
Definition
NPCDebuffImmunityData.cs:9
Terraria.DataStructures.NPCDebuffImmunityData.ImmuneToAllBuffsThatAreNotWhips
bool ImmuneToAllBuffsThatAreNotWhips
Definition
NPCDebuffImmunityData.cs:46
Terraria.DataStructures.NPCDebuffImmunityData
Definition
NPCDebuffImmunityData.cs:7
Terraria.NPC.buffImmune
bool[] buffImmune
Definition
NPC.cs:11219
Terraria.NPC
Definition
NPC.cs:20
System
Definition
__ComObject.cs:4
Terraria.DataStructures
Definition
AEntitySource_OnHit.cs:4
source
Terraria
DataStructures
NPCDebuffImmunityData.cs
Generated by
1.10.0