C_QuestLog.GetQuestIDForWorldQuestWatchIndex

From Warcraft Wiki
Jump to navigation Jump to search

Returns the quest ID represented by the given quest watch index.

questID = C_QuestLog.GetQuestIDForWorldQuestWatchIndex(questWatchIndex)

Arguments

questWatchIndex
number

Returns

questID
number?

Example

Returns the Quest ID of any World Quests player is tracking.

/run for i=1, C_QuestLog.GetNumWorldQuestWatches() do local qID = C_QuestLog.GetQuestIDForWorldQuestWatchIndex(i) if qID then print("WQ "..i..": ID "..qID) end end

Patch changes

Shadowlands Patch 9.0.1 (2020-10-13): Added.