aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/game/Quests/QuestDef.h11
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;