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

◆ CheckUsability()

void Terraria.Projectile.CheckUsability ( Player player,
ref bool currentlyUsable )
inline

Definition at line 56761 of file Projectile.cs.

56762 {
56763 if (aiStyle == 160)
56764 {
56765 currentlyUsable = false;
56766 }
56767 }
int aiStyle
Selects which vanilla code to use for the AI method. Vanilla projectile AI styles are enumerated in t...

Referenced by Terraria.Player.ItemCheck_CheckUsabilityOfProjectiles().

+ Here is the caller graph for this function: