diff options
author | Shauren <shauren.trinity@gmail.com> | 2017-04-23 15:21:40 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2017-04-23 15:21:40 +0200 |
commit | ec83e3faf339be9e8129889859de464cfc47a1ed (patch) | |
tree | acb4b45c64f2408a958063f4841792e332556082 /src | |
parent | ebcf7a95c0b2571bbbe54d2ed723a80c8b6e5996 (diff) |
Core/Quests: Defined quest objective flags
Closes #19492
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Quests/QuestDef.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/server/game/Quests/QuestDef.h b/src/server/game/Quests/QuestDef.h index d7639109afe..aa8d99d5301 100644 --- a/src/server/game/Quests/QuestDef.h +++ b/src/server/game/Quests/QuestDef.h @@ -242,6 +242,17 @@ enum QuestObjectiveType QUEST_OBJECTIVE_OBTAIN_CURRENCY = 17 // requires the player to gain X currency after starting the quest but not required to keep it until the end (does not consume) }; +enum QuestObjectiveFlags +{ + QUEST_OBJECTIVE_FLAG_TRACKED_ON_MINIMAP = 0x01, // client displays large yellow blob on minimap for creature/gameobject + QUEST_OBJECTIVE_FLAG_SEQUENCED = 0x02, // client will not see the objective displayed until all previous objectives are completed + QUEST_OBJECTIVE_FLAG_OPTIONAL = 0x04, // not required to complete the quest + QUEST_OBJECTIVE_FLAG_HIDDEN = 0x08, // never displayed in quest log + QUEST_OBJECTIVE_FLAG_HIDE_ITEM_GAINS = 0x10, // skip showing item objective progress + QUEST_OBJECTIVE_FLAG_PROGRESS_COUNTS_ITEMS_IN_INVENTORY = 0x20, // item objective progress counts items in inventory instead of reading it from updatefields + QUEST_OBJECTIVE_FLAG_PART_OF_PROGRESS_BAR = 0x40, // hidden objective used to calculate progress bar percent (quests are limited to a single progress bar objective) +}; + struct QuestTemplateLocale { StringVector LogTitle; |