[Quest API] Add EVENT_TASKACCEPTED to Player scope (#2822)

* Add EVENT_TASKACCEPTED to player scope

* Formatting
This commit is contained in:
Vayle
2023-02-05 22:53:37 -05:00
committed by GitHub
parent c1584da9cc
commit 8031bf0bcb
4 changed files with 23 additions and 0 deletions
+1
View File
@@ -242,6 +242,7 @@ LuaParser::LuaParser() {
PlayerArgumentDispatch[EVENT_DUEL_LOSE] = handle_player_duel_loss;
PlayerArgumentDispatch[EVENT_LOOT] = handle_player_loot;
PlayerArgumentDispatch[EVENT_TASK_STAGE_COMPLETE] = handle_player_task_stage_complete;
PlayerArgumentDispatch[EVENT_TASK_ACCEPTED] = handle_player_task_accepted;
PlayerArgumentDispatch[EVENT_TASK_COMPLETE] = handle_player_task_update;
PlayerArgumentDispatch[EVENT_TASK_UPDATE] = handle_player_task_update;
PlayerArgumentDispatch[EVENT_TASK_BEFORE_UPDATE] = handle_player_task_update;