WoW:API GetNumQuestLeaderBoards: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (reworked page without {{WoW API}})
(removed code block)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}}
 


Returns the number of objectives for a given quest.
Returns the number of objectives for a given quest.


{{Code/Begin}}
local numQuestLogLeaderBoards = GetNumQuestLogLeaderBoards([questID])
local numQuestLogLeaderBoards = GetNumQuestLogLeaderBoards([questID])
{{Code/End}}


== Parameters ==
== Parameters ==

Revision as of 00:22, 13 May 2007

WoW API < GetNumQuestLeaderBoards

Returns the number of objectives for a given quest.

local numQuestLogLeaderBoards = GetNumQuestLogLeaderBoards([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.