C_QuestLog .GetQuestIDForQuestWatchIndex
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 9.0.1 |
Returns the quest ID represented by the given quest watch index.
questID = C_QuestLog.GetQuestIDForQuestWatchIndex(questWatchIndex)
Arguments
- questWatchIndex
- number
Returns
- questID
- number?
Example
Returns the Quest ID of any non-world quests player is tracking.
/run for i=1, C_QuestLog.GetNumQuestWatches() do local qID = C_QuestLog.GetQuestIDForQuestWatchIndex(i) if qID then print("# "..i..": ID "..qID) end end
Patch changes
Patch 9.0.1 (2020-10-13): Added.