GetAvailableQuestInfo
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 3.3.0 |
Returns info for an available quest.
isTrivial, frequency, isRepeatable, isLegendary, questID, isImportant = 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.
- isImportant
- boolean - true if the quest is considered important, false otherwise.
Patch changes
Patch 11.0.2 (Beta): Added
isImportant
return value.[1]
Patch 9.0.1 (2020-10-13): Added
questID
return value.[2]
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
- ^ 2024-07-03, QuestFrame.lua, version 11.0.2.55399, near line 372, archived at Townlong-Yak
- ^ 2020-10-13, QuestFrame.lua, version 9.0.1.36230, near line 363, archived at Townlong-Yak