mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 05:36:23 +00:00
feat(Core/Hooks): Add OnPlayerJustDied hook (#17973)
feat(Core/Hooks): Add OnPlayerJustDied
This commit is contained in:
@@ -29,6 +29,10 @@ protected:
|
||||
PlayerScript(const char* name);
|
||||
|
||||
public:
|
||||
// Called when a player dies
|
||||
virtual void OnPlayerJustDied(Player* /*player*/) { }
|
||||
|
||||
// Called when clicking the release button
|
||||
virtual void OnPlayerReleasedGhost(Player* /*player*/) { }
|
||||
|
||||
// Called on Send Initial Packets Before Add To Map
|
||||
|
||||
Reference in New Issue
Block a user