mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-19 03:45:43 +00:00
Implemented OnPlayerReleasedGhost() hook
This commit is contained in:
@@ -757,6 +757,7 @@ class PlayerScript : public ScriptObject
|
||||
PlayerScript(const char* name);
|
||||
|
||||
public:
|
||||
virtual void OnPlayerReleasedGhost(Player* /*player*/) { }
|
||||
|
||||
// Called when a player kills another player
|
||||
virtual void OnPVPKill(Player* /*killer*/, Player* /*killed*/) { }
|
||||
@@ -1171,6 +1172,7 @@ class ScriptMgr
|
||||
|
||||
public: /* PlayerScript */
|
||||
|
||||
void OnPlayerReleasedGhost(Player* player);
|
||||
void OnPVPKill(Player* killer, Player* killed);
|
||||
void OnCreatureKill(Player* killer, Creature* killed);
|
||||
void OnPlayerKilledByCreature(Creature* killer, Player* killed);
|
||||
|
||||
Reference in New Issue
Block a user