Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetAvailableQuestInfo

From Wowpedia
Jump to: navigation, search

Returns information about the type of an available quest.

isTrivial, frequency, isRepeatable, isLegendary = GetAvailableQuestInfo(index);

Arguments

index 
Integer - 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 
Integer - 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.

Patch changes

Warlords of Draenor Patch 6.0.2 (2014-10-14): Changed 1/nil return values to boolean. Changed isDaily return value to frequency.
Mists of Pandaria Patch 5.0.4 (2012-08-28): Added isLegendary return value.
Wrath of the Lich King Patch 3.3.3 (2010-03-23): Added.