no edit summary
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<center>'''GetQuestLogTitle''' ''-Documentation by AlexanderYoshi-''</center> | <center>'''GetQuestLogTitle''' ''-Documentation by AlexanderYoshi-''</center> | ||
Returns the string which is associated with the specific QuestLog Title in the game. | Returns the string and other information which is associated with the specific QuestLog Title in the game. | ||
GetQuestLogTitle(questID); | GetQuestLogTitle(questID); | ||
| Line 15: | Line 15: | ||
;''Returns'' | ;''Returns'' | ||
:String | :;questTitle(String) : The title of the quest | ||
:;level(Number) : The level of the quest | |||
:; | :;questTag(String) : Should be "Elite" if it's an elite quest and nil otherwise | ||
:;isHeader(boolean) : True if this quest is a header. | |||
:;isCollapsed(boolean) : True if this quest is a header and is collapsed. | |||
:;isComplete(boolean) : True if this quest is not a header and is complete. | |||
---- | ---- | ||
| Line 25: | Line 28: | ||
;''Result'' | ;''Result'' | ||
"Leprechaun Assault" | "Leprechaun Assault" | ||
;''Example from QuestLogFrame.lua'' | |||
local questLogTitleText, level, questTag, isHeader, isCollapsed, isComplete = GetQuestLogTitle(questIndex); | |||
---- | ---- | ||
;''Description'' | ;''Description'' | ||
: Returns the string which is associated with the specific QuestLog Title in the game. | : Returns the string which is associated with the specific QuestLog Title in the game. Also returns other information about a given quest such as what it's level is, completion status, whether it's a header and if so if it is collapsed. | ||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||