→Returns
Line 10: | Line 10: | ||
:;questTitle : String - The title of the quest, or nil if the index is out of range. | :;questTitle : String - The title of the quest, or nil if the index is out of range. | ||
:;level : Integer - The level of the quest | :;level : Integer - The level of the quest | ||
:;questTag : String - Should be "Elite", "Dungeon", "PVP", "Raid", or nil (return value is | :;questTag : String - Should be "Elite", "Dungeon", "PVP", "Raid", "Group" or nil (return value is [[#questTag]]). | ||
:;suggestedGroup : | :;suggestedGroup : Integer - if questTag is GROUP, the positive number of players suggested for the quest or nil (added in 2.0.3) | ||
:;isHeader : Boolean - 1 if the entry is a header, nil otherwise. | :;isHeader : Boolean - 1 if the entry is a header, nil otherwise. | ||
:;isCollapsed : Boolean - 1 if the entry is a collapsed header, nil otherwise. | :;isCollapsed : Boolean - 1 if the entry is a collapsed header, nil otherwise. | ||
:;isComplete : Integer - -1 if quest is (FAILED), +1 if quest is (COMPLETED), nil otherwise. | :;isComplete : Integer - -1 if quest is (FAILED), +1 if quest is (COMPLETED), nil otherwise. | ||
<div id="questTag">questTag localization: </div>while the value of questTag is localized, it is stored in GlobalStrings.lua as ELITE, LFG_TYPE_DUNGEON, PVP, RAID and GROUP respectively. | |||
==Example== | ==Example== |