WoW:API GetQuestLogLeaderBoard: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
:;desc : String - The text description of the objective, like: "Kill foo: 0/3"
:;desc : String - The text description of the objective, like: "Kill foo: 0/3"


:;type : String - could be the following things: "item" or "monster".
:;type : String - could be the following things: "item", "object", "monster", "reputation", or "event".


:;done : Boolean - ''nil'' if this sub objective is not completed yet, else 1
:;done : Boolean - ''nil'' if this sub objective is not completed yet, else 1

Revision as of 10:52, 5 November 2006

This function returns up to 3 values:

local desc, type, done = GetQuestLogLeaderBoard(i, [questID])

Arguments
i
Index of the quests objectives (see GetNumQuestLeaderBoards() ).
questID
Identifier of the quest. If not provided, default to the currently selected Quest, via SelectQuestLogEntry().

Return values
desc
String - The text description of the objective, like: "Kill foo: 0/3"
type
String - could be the following things: "item", "object", "monster", "reputation", or "event".
done
Boolean - nil if this sub objective is not completed yet, else 1



Template:WoW API