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

◆ GetNextSlot()

static int Terraria.Projectile.GetNextSlot ( )
inlinestatic

Definition at line 9650 of file Projectile.cs.

9651 {
9652 int result = 1000;
9653 for (int i = 0; i < 1000; i++)
9654 {
9655 if (!Main.projectile[i].active)
9656 {
9657 result = i;
9658 break;
9659 }
9660 }
9661 return result;
9662 }

References Terraria.Main.projectile.