You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: methods/TrinityCore/QuestMethods.h
+23-29Lines changed: 23 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -16,35 +16,29 @@ namespace LuaQuest
16
16
* Returns 'true' if the [Quest] has the specified flag, false otherwise.
17
17
* Below flags are based off of 3.3.5a. Subject to change.
18
18
*
19
-
* <pre>
20
-
* enum QuestFlags
21
-
* {
22
-
* // Flags used at server and sent to client
23
-
* QUEST_FLAGS_NONE = 0x0,
24
-
* QUEST_FLAGS_STAY_ALIVE = 0x1, // Not used currently
25
-
* QUEST_FLAGS_PARTY_ACCEPT = 0x2, // Not used currently. If player in party, all players that can accept this quest will receive confirmation box to accept quest CMSG_QUEST_CONFIRM_ACCEPT/SMSG_QUEST_CONFIRM_ACCEPT
26
-
* QUEST_FLAGS_EXPLORATION = 0x4, // Not used currently
27
-
* QUEST_FLAGS_SHARABLE = 0x8, // Can be shared: Player::CanShareQuest()
28
-
* QUEST_FLAGS_HAS_CONDITION = 0x10, // Not used currently
29
-
* QUEST_FLAGS_HIDE_REWARD_POI = 0x20, // Not used currently: Unsure of content
30
-
* QUEST_FLAGS_RAID = 0x40, // Not used currently
31
-
* QUEST_FLAGS_TBC = 0x80, // Not used currently: Available if TBC expansion enabled only
32
-
* QUEST_FLAGS_NO_MONEY_FROM_XP = 0x100, // Not used currently: Experience is not converted to gold at max level
33
-
* QUEST_FLAGS_HIDDEN_REWARDS = 0x200, // Items and money rewarded only sent in SMSG_QUESTGIVER_OFFER_REWARD (not in SMSG_QUESTGIVER_QUEST_DETAILS or in client quest log(SMSG_QUEST_QUERY_RESPONSE))
34
-
* QUEST_FLAGS_TRACKING = 0x400, // These quests are automatically rewarded on quest complete and they will never appear in quest log client side.
35
-
* QUEST_FLAGS_DEPRECATE_REPUTATION = 0x800, // Not used currently
36
-
* QUEST_FLAGS_DAILY = 0x1000, // Used to know quest is Daily one
37
-
* QUEST_FLAGS_FLAGS_PVP = 0x2000, // Having this quest in log forces PvP flag
38
-
* QUEST_FLAGS_UNAVAILABLE = 0x4000, // Used on quests that are not generically available
39
-
* QUEST_FLAGS_WEEKLY = 0x8000,
40
-
* QUEST_FLAGS_AUTOCOMPLETE = 0x10000, // auto complete
* QUEST_FLAGS_OBJ_TEXT = 0x40000, // use Objective text as Complete text
43
-
* QUEST_FLAGS_AUTO_ACCEPT = 0x80000, // The client recognizes this flag as auto-accept. However, NONE of the current quests (3.3.5a) have this flag. Maybe blizz used to use it, or will use it in the future.
44
-
*
45
-
* // ... 4.x added flags up to 0x80000000 - all unknown for now
46
-
* };
47
-
* </pre>
19
+
* @table
20
+
* @columns [QuestFlags, ID, Comment]
21
+
* @values [QUEST_FLAGS_NONE, 0x0, ""]
22
+
* @values [QUEST_FLAGS_STAY_ALIVE, 0x1, "Not used currently"]
23
+
* @values [QUEST_FLAGS_PARTY_ACCEPT, 0x2, "Not used currently. If player in party, all players that can accept this quest will receive confirmation box to accept quest CMSG_QUEST_CONFIRM_ACCEPT/SMSG_QUEST_CONFIRM_ACCEPT"]
24
+
* @values [QUEST_FLAGS_EXPLORATION, 0x4, "Not used currently"]
25
+
* @values [QUEST_FLAGS_SHARABLE, 0x8, "Can be shared: Player::CanShareQuest()"]
26
+
* @values [QUEST_FLAGS_HAS_CONDITION, 0x10, "Not used currently"]
27
+
* @values [QUEST_FLAGS_HIDE_REWARD_POI, 0x20, "Not used currently: Unsure of content"]
28
+
* @values [QUEST_FLAGS_RAID, 0x40, "Not used currently"]
29
+
* @values [QUEST_FLAGS_TBC, 0x80, "Not used currently: Available if TBC expansion enabled only"]
30
+
* @values [QUEST_FLAGS_NO_MONEY_FROM_XP, 0x100, "Not used currently: Experience is not converted to gold at max level"]
31
+
* @values [QUEST_FLAGS_HIDDEN_REWARDS, 0x200, "Items and money rewarded only sent in SMSG_QUESTGIVER_OFFER_REWARD (not in SMSG_QUESTGIVER_QUEST_DETAILS or in client quest log(SMSG_QUEST_QUERY_RESPONSE))"]
32
+
* @values [QUEST_FLAGS_TRACKING, 0x400, "These quests are automatically rewarded on quest complete and they will never appear in quest log client side."]
33
+
* @values [QUEST_FLAGS_DEPRECATE_REPUTATION, 0x800, "Not used currently"]
34
+
* @values [QUEST_FLAGS_DAILY, 0x1000, "Used to know quest is Daily one"]
35
+
* @values [QUEST_FLAGS_FLAGS_PVP, 0x2000, "Having this quest in log forces PvP flag"]
36
+
* @values [QUEST_FLAGS_UNAVAILABLE, 0x4000, "Used on quests that are not generically available"]
* @values [QUEST_FLAGS_DISPLAY_ITEM_IN_TRACKER, 0x20000, "Displays usable item in quest tracker"]
40
+
* @values [QUEST_FLAGS_OBJ_TEXT, 0x40000, "use Objective text as Complete text"]
41
+
* @values [QUEST_FLAGS_AUTO_ACCEPT, 0x80000, "The client recognizes this flag as auto-accept. However, NONE of the current quests (3.3.5a) have this flag. Maybe blizz used to use it, or will use it in the future."]
48
42
*
49
43
* @param [QuestFlags] flag : all available flags can be seen above
0 commit comments