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.
1using System;
2
4{
5 // Token: 0x02000638 RID: 1592
7 {
8 // Token: 0x06003637 RID: 13879 RVA: 0x00212644 File Offset: 0x00210844
9 public void ApplyToNPC(NPC npc)
10 {
12 if (!this.ImmuneToWhips)
13 {
14 immuneToAllBuffsThatAreNotWhips = this.ImmuneToAllBuffsThatAreNotWhips;
15 if (!immuneToAllBuffsThatAreNotWhips)
16 {
17 goto IL_0032;
18 }
19 }
21 {
22 }
24 {
25 bool immuneToWhips = this.ImmuneToWhips;
26 return;
27 }
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
39 {
40 }
41
42 // Token: 0x040076F8 RID: 30456
43 public bool ImmuneToWhips;
44
45 // Token: 0x040076F9 RID: 30457
47
48 // Token: 0x040076FA RID: 30458
50 }
51}
class f__AnonymousType0<< Count > j__TPar
bool[] buffImmune
Definition NPC.cs:11219