TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ InitializeStaticThings()

static void Terraria.Projectile.InitializeStaticThings ( )
inlinestatic

Definition at line 695 of file Projectile.cs.

696 {
698 for (int i = 0; i < perIDStaticNPCImmunity.Length; i++)
699 {
700 perIDStaticNPCImmunity[i] = new uint[200];
701 }
702 WorldGen.Hooks.OnWorldLoad += ResetImmunity;
703 }
static readonly short Count
static uint[][] perIDStaticNPCImmunity
Definition Projectile.cs:97
static void ResetImmunity()

References Terraria.ID.ProjectileID.Count, Terraria.Projectile.perIDStaticNPCImmunity, and Terraria.Projectile.ResetImmunity().

Referenced by Terraria.Main.Initialize_AlmostEverything().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: