mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
[Core /Script] Added On player complete quest hook (#1427)
* Added OnPlayerCompleteQuest Hook
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user