WoW:API GetNumQuestLeaderBoards: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (reworked page without {{WoW API}})
Line 1: Line 1:
This function returns up to 3 values:
{{wowapi}} __NOTOC__


local numQuestLogLeaderBoards = GetNumQuestLogLeaderBoards([questID])


----
Returns the number of objectives for a given quest.
;''Arguments''


:;questID : Identifier of the quest. If not provided, default to the currently selected Quest, via [[API SelectQuestLogEntry|SelectQuestLogEntry()]].
{{Code/Begin}}
local numQuestLogLeaderBoards = GetNumQuestLogLeaderBoards([questID])
{{Code/End}}


----
== Parameters ==
;''Return values''


:;numQuestLogLeaderBoards : Integer - The number of objectives this quest possesses. (Can be 0.)
<big>'''Arguments'''</big>
:;questID : Integer - Identifier of the quest. If not provided, default to the currently selected Quest, via [[API SelectQuestLogEntry|SelectQuestLogEntry()]].


----
 
{{WoW API}}
<big>'''Returns'''</big>
:;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.

Revision as of 22:22, 2 January 2007

WoW API < GetNumQuestLeaderBoards


Returns the number of objectives for a given quest.

Template:Code/Begin local numQuestLogLeaderBoards = GetNumQuestLogLeaderBoards([questID]) Template:Code/End


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.