[Tasks] Add pre-task update event (#2512)

This adds the player EVENT_TASK_BEFORE_UPDATE event which will allow
quests to prevent a source controlled task update by returning non-zero.
This commit is contained in:
hg
2022-10-29 20:46:08 -04:00
committed by GitHub
parent 43ec9dc815
commit 444a4f6744
5 changed files with 16 additions and 1 deletions
+1
View File
@@ -103,6 +103,7 @@ typedef enum {
EVENT_MERCHANT_BUY,
EVENT_MERCHANT_SELL,
EVENT_INSPECT,
EVENT_TASK_BEFORE_UPDATE,
_LargestEventID
} QuestEventID;