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

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

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

Gets the instance of the specified GlobalProjectile type.

Type Constraints
T :GlobalProjectile 

Definition at line 93061 of file Projectile.cs.

93062 {
93063 return GlobalType<GlobalProjectile>.TryGetGlobal<T>(type, EntityGlobals, out result);
93064 }
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...