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

◆ CanBeHitByProjectile()

static bool Terraria.ModLoader.CombinedHooks.CanBeHitByProjectile ( Player player,
Projectile projectile )
inlinestatic

Definition at line 195 of file CombinedHooks.cs.

196 {
197 if (ProjectileLoader.CanHitPlayer(projectile, player))
198 {
199 return PlayerLoader.CanBeHitByProjectile(player, projectile);
200 }
201 return false;
202 }

References Terraria.ModLoader.PlayerLoader.CanBeHitByProjectile(), and Terraria.ModLoader.ProjectileLoader.CanHitPlayer().

Referenced by Terraria.Projectile.Damage().

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