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

◆ OnKill()

virtual void Terraria.ModLoader.GlobalNPC.OnKill ( NPC npc)
inlinevirtualinherited

Allows you to make things happen when an NPC dies (for example, setting ModSystem fields). This hook runs on the server/single player. For client-side effects, such as dust, gore, and sounds, see HitEffect.

Parameters
npc

Definition at line 234 of file GlobalNPC.cs.

235 {
236 }