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

◆ ApplyToNPC()

void Terraria.DataStructures.NPCDebuffImmunityData.ApplyToNPC ( NPC npc)
inline

Definition at line 9 of file NPCDebuffImmunityData.cs.

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 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.NPC.buffImmune, Terraria.DataStructures.NPCDebuffImmunityData.ImmuneToAllBuffsThatAreNotWhips, Terraria.DataStructures.NPCDebuffImmunityData.ImmuneToWhips, j__TPar, and Terraria.DataStructures.NPCDebuffImmunityData.SpecificallyImmuneTo.