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

◆ GetNextSlot()

static int Terraria.Projectile.GetNextSlot ( )
inlinestatic

Definition at line 10083 of file Projectile.cs.

10084 {
10085 int result = 1000;
10086 for (int i = 0; i < 1000; i++)
10087 {
10088 if (!Main.projectile[i].active)
10089 {
10090 result = i;
10091 break;
10092 }
10093 }
10094 return result;
10095 }

References Terraria.Main.projectile.