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

◆ TryGetGlobalProjectile< T >() [2/2]

bool Terraria.Projectile.TryGetGlobalProjectile< T > ( T baseInstance,
out T result )
inline

Safely attempts to get the local instance of the type of the specified GlobalProjectile instance.

Returns
Whether or not the requested instance has been found.
Type Constraints
T :GlobalProjectile 

Definition at line 93068 of file Projectile.cs.

93069 {
93071 }
This class allows you to modify and use hooks for all projectiles, including vanilla projectiles....
RefReadOnlyArray< GlobalProjectile > EntityGlobals
int type
The Projectile ID of this projectile. The Projectile ID is a unique number assigned to each Projectil...