Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns info for an available quest.
isTrivial, frequency, isRepeatable, isLegendary, questID = GetAvailableQuestInfo(index)
Arguments[]
- index
- number - Index of the available quest to query, starting from 1.
Returns[]
- isTrivial
- boolean - true if the quest is trivial (too low-level compared to the character), false otherwise.
- frequency
- number - 1 if the quest is a normal quest,
LE_QUEST_FREQUENCY_DAILY
(2) for daily quests,LE_QUEST_FREQUENCY_WEEKLY
(3) for weekly quests. - isRepeatable
- boolean - true if the quest is repeatable, false otherwise.
- isLegendary
- boolean - true if the quest is a legendary quest, false otherwise.
- questID
- number - quest ID of the quest.
Patch changes[]
Patch 9.0.1 (2020-10-13): Added questID
return value.[1]
Patch 6.0.2 (2014-10-14): Changed 1/nil return values to boolean. Changed isDaily
return value to frequency
.
Patch 5.0.4 (2012-08-28): Added isLegendary
return value.
Patch 3.3.3 (2010-03-23): Added.
References[]
- ^ 2020-10-13, QuestFrame.lua, version 9.0.1.36230, near line 363, archived at Townlong-Yak