Implemented OnPlayerReleasedGhost() hook

This commit is contained in:
Kevin
2017-06-29 20:59:37 +02:00
committed by Francesco Borzì
parent ef57d9ba69
commit 2da9db04eb
3 changed files with 9 additions and 0 deletions

View File

@@ -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);