|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| int Terraria.Projectile.identity |
The projectile's universal unique identifier, which is the same on all clients and the server. Usually used to find the same projectile on multiple clients and/or the server, e.g. Projectile match = Main.projectile.FirstOrDefault(x => x.identity == identity);
Projectile.whoAmI indexes are not consistent between clients.
Definition at line 280 of file Projectile.cs.
Referenced by Terraria.GameContent.UI.EmoteBubble.DeserializeNetAnchor(), Terraria.DataStructures.TrackedProjectileReference.FindMatchingProjectile(), Terraria.Projectile.NewProjectile(), Terraria.NetMessage.SendData(), and Terraria.Projectile.SetDefaults().