WoW API: GetNumQuestLeaderBoards

From AddOn Studio
Revision as of 02:05, 23 May 2007 by WoWWiki>Thailyn (fixed typo in sample code)
Jump to navigation Jump to search

WoW API < GetNumQuestLeaderBoards

Returns the number of objectives for a given quest.

local numQuestLogLeaderBoards = GetNumQuestLeaderBoards([questID])

Parameters

Arguments

questID
Integer - Identifier of the quest. If not provided, default to the currently selected Quest, via SelectQuestLogEntry().


Returns

numQuestLogLeaderBoards
Integer - The number of objectives this quest possesses (Can be 0).


Notes

Previous versions of this page stated that the function returns three values, but did not list what the other two values were.