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

◆ OnHitByNPC()

static void Terraria.ModLoader.CombinedHooks.OnHitByNPC ( Player player,
NPC nPC,
in Player::HurtInfo hurtInfo )
inlinestatic

Definition at line 357 of file CombinedHooks.cs.

358 {
359 NPCLoader.OnHitPlayer(nPC, player, hurtInfo);
360 PlayerLoader.OnHitByNPC(player, nPC, in hurtInfo);
361 }

References Terraria.ModLoader.PlayerLoader.OnHitByNPC(), and Terraria.ModLoader.NPCLoader.OnHitPlayer().

Referenced by Terraria.ModLoader.PlayerLoader.OnHurt().

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