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

◆ DelBuff()

void Terraria.NPC.DelBuff ( int buffIndex)
inline

Definition at line 7216 of file NPC.cs.

7217 {
7218 int[] array = this.buffTime;
7219 if (this.buffType == null)
7220 {
7221 }
7222 int[] array2;
7223 if (this.buffTime != null)
7224 {
7225 array2 = this.buffType;
7226 if (array2 != null)
7227 {
7228 return;
7229 }
7230 }
7231 if (array2 == null)
7232 {
7233 }
7234 int[] array3 = this.buffTime;
7235 int[] array4 = this.buffType;
7236 }
class f__AnonymousType0<< Count > j__TPar
int[] buffTime
Definition NPC.cs:11216
int[] buffType
Definition NPC.cs:11213

References System.array, Terraria.NPC.buffTime, Terraria.NPC.buffType, and j__TPar.

Referenced by Terraria.NPC.RequestBuffRemoval(), and Terraria.NPC.UpdateNPC_BuffClearExpiredBuffs().