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

◆ OnSpawn()

static void Terraria.ModLoader.ProjectileLoader.OnSpawn ( Projectile projectile,
IEntitySource source )
inlinestaticpackage

Definition at line 228 of file ProjectileLoader.cs.

229 {
230 projectile.ModProjectile?.OnSpawn(source);
231 EntityGlobalsEnumerator<GlobalProjectile> enumerator = HookOnSpawn.Enumerate(projectile).GetEnumerator();
232 while (enumerator.MoveNext())
233 {
234 enumerator.Current.OnSpawn(projectile, source);
235 }
236 }
static GlobalHookList< GlobalProjectile > HookOnSpawn

References Terraria.ModLoader.ProjectileLoader.HookOnSpawn, and Terraria.Projectile.ModProjectile.

Referenced by Terraria.Projectile.NewProjectile().

+ Here is the caller graph for this function: