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

◆ ReflectProjectiles()

void Terraria.NPC.ReflectProjectiles ( Rectangle myRect)
inline

Definition at line 71822 of file NPC.cs.

71823 {
71824 for (int i = 0; i < 1000; i++)
71825 {
71826 if (Main.projectile[i].active && Main.projectile[i].CanBeReflected() && CanReflectProjectile(Main.projectile[i]))
71827 {
71828 ReflectProjectile(Main.projectile[i]);
71829 }
71830 }
71831 }
void ReflectProjectile(Projectile proj)
Definition NPC.cs:71865
bool CanReflectProjectile(Projectile proj)
Definition NPC.cs:71833

References Terraria.NPC.CanReflectProjectile(), Terraria.Main.projectile, and Terraria.NPC.ReflectProjectile().

Referenced by Terraria.NPC.VanillaAI_Inner().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: