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

◆ TryGetContainerIndex()

bool Terraria.Projectile.TryGetContainerIndex ( out int containerIndex)
inline

Definition at line 91855 of file Projectile.cs.

91856 {
91857 containerIndex = -1;
91858 if (type == 525 || type == 960)
91859 {
91860 containerIndex = -2;
91861 return true;
91862 }
91863 if (type == 734)
91864 {
91865 containerIndex = -5;
91866 return true;
91867 }
91868 return false;
91869 }
int type
The Projectile ID of this projectile. The Projectile ID is a unique number assigned to each Projectil...

Referenced by Terraria.Player.GetNearbyContainerProjectilesList(), and Terraria.Player.QuickStackAllChests().

+ Here is the caller graph for this function: