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

◆ OnPlayerHitNPCWithItem()

static void Terraria.ModLoader.CombinedHooks.OnPlayerHitNPCWithItem ( Player player,
Item sItem,
NPC nPC,
in NPC::HitInfo hit,
int damageDone )
inlinestatic

Definition at line 135 of file CombinedHooks.cs.

136 {
137 ItemLoader.OnHitNPC(sItem, player, nPC, in hit, damageDone);
138 NPCLoader.OnHitByItem(nPC, player, sItem, in hit, damageDone);
139 PlayerLoader.OnHitNPCWithItem(player, sItem, nPC, in hit, damageDone);
140 }

References Terraria.ModLoader.NPCLoader.OnHitByItem(), Terraria.ModLoader.ItemLoader.OnHitNPC(), and Terraria.ModLoader.PlayerLoader.OnHitNPCWithItem().

Referenced by Terraria.Player.ProcessHitAgainstNPC().

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