C_QuestLog .GetNumWorldQuestWatches
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 9.0.1 |
Replaces `GetNumWorldQuestWatches`.
numQuestWatches = C_QuestLog.GetNumWorldQuestWatches()
Returns
- numQuestWatches
- number
Example
Returns the number of World Quests that the player is tracking.
/run local count = 0 for i = 1, C_QuestLog.GetNumWorldQuestWatches() do if C_QuestLog.GetQuestIDForWorldQuestWatchIndex(i) then count = count + 1 end end print("Tracking " .. count .. " World Quests")
Patch changes
Patch 9.0.1 (2020-10-13): Added.