WoW:API GetNumQuestLeaderBoards: Difference between revisions

m
reworked page without {{WoW API}}
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.
Anonymous user