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

◆ ShouldUpdatePosition()

static bool Terraria.ModLoader.ProjectileLoader.ShouldUpdatePosition ( Projectile projectile)
inlinestatic

Definition at line 376 of file ProjectileLoader.cs.

377 {
378 if (IsModProjectile(projectile) && !projectile.ModProjectile.ShouldUpdatePosition())
379 {
380 return false;
381 }
383 while (enumerator.MoveNext())
384 {
385 if (!enumerator.Current.ShouldUpdatePosition(projectile))
386 {
387 return false;
388 }
389 }
390 return true;
391 }
static GlobalHookList< GlobalProjectile > HookShouldUpdatePosition
static bool IsModProjectile(Projectile projectile)

References Terraria.ModLoader.ProjectileLoader.HookShouldUpdatePosition, Terraria.ModLoader.ProjectileLoader.IsModProjectile(), and Terraria.Projectile.ModProjectile.

Referenced by Terraria.Projectile.UpdatePosition().

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