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

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

T Terraria.Projectile.GetGlobalProjectile< T > ( T baseInstance)
inline

Gets the local instance of the type of the specified GlobalProjectile instance. This will throw exceptions on failure.

Exceptions
T:System.Collections.Generic.KeyNotFoundException
Exceptions
T:System.NullReferenceException
Type Constraints
T :GlobalProjectile 

Definition at line 93055 of file Projectile.cs.

93056 {
93058 }
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...