Core/Quests: Implemented player choices

* Implemented SPELL_EFFECT_LAUNCH_QUEST_CHOICE
* Script hook for player choices
This commit is contained in:
Traesh
2017-12-17 14:40:04 +01:00
committed by Shauren
parent 5dd686c080
commit 89c91c271b
18 changed files with 573 additions and 24 deletions

View File

@@ -2297,6 +2297,11 @@ void ScriptMgr::OnMovieComplete(Player* player, uint32 movieId)
FOREACH_SCRIPT(PlayerScript)->OnMovieComplete(player, movieId);
}
void ScriptMgr::OnPlayerChoiceResponse(Player* player, uint32 choiceID, uint32 responseID)
{
FOREACH_SCRIPT(PlayerScript)->OnPlayerChoiceResponse(player, choiceID, responseID);
}
// Account
void ScriptMgr::OnAccountLogin(uint32 accountId)
{