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

◆ FindStardustDragonHeadOfOwner()

Projectile Terraria.Projectile.FindStardustDragonHeadOfOwner ( )
inlineprivate

Definition at line 44629 of file Projectile.cs.

44630 {
44631 for (int i = 0; i < 1000; i++)
44632 {
44633 Projectile projectile = Main.projectile[i];
44634 if (projectile.active && projectile.owner == owner && projectile.type == 625)
44635 {
44636 return projectile;
44637 }
44638 }
44639 return null;
44640 }
int owner
The index of the player who owns this projectile. In Multiplayer, Clients "own" projectiles that they...

References Terraria.Entity.active, Terraria.Projectile.owner, Terraria.Main.projectile, and Terraria.Projectile.type.

Referenced by Terraria.Projectile.Damage().

+ Here is the caller graph for this function: