[Core /Script] Added On player complete quest hook (#1427)
* Added OnPlayerCompleteQuest Hook
This commit is contained in:
parent
c141e06362
commit
6750fd5a73
3 changed files with 12 additions and 0 deletions
|
|
@ -1374,6 +1374,12 @@ bool ScriptMgr::OnCriteriaCheck(uint32 scriptId, Player* source, Unit* target, u
|
|||
}
|
||||
|
||||
// Player
|
||||
|
||||
void ScriptMgr::OnPlayerCompleteQuest(Player* player, Quest const* quest)
|
||||
{
|
||||
FOREACH_SCRIPT(PlayerScript)->OnPlayerCompleteQuest(player, quest);
|
||||
}
|
||||
|
||||
void ScriptMgr::OnPlayerReleasedGhost(Player* player)
|
||||
{
|
||||
FOREACH_SCRIPT(PlayerScript)->OnPlayerReleasedGhost(player);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue