WoW:API GetNumQuestLeaderBoards: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API GetNumQuestLeaderBoards to API GetNumQuestLeaderBoards without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This function returns up to 3 values:
{{wowapi}}


local numQuestLogLeaderBoards = GetNumQuestLogLeaderBoards([questID])
Returns the number of objectives for a given quest.


----
local numQuestLogLeaderBoards = GetNumQuestLeaderBoards([questID])
;''Arguments''


:;questID : Identifier of the quest. If not provided, default to the currently selected Quest, via [[API SelectQuestLogEntry|SelectQuestLogEntry()]].
== Parameters ==


----
<big>'''Arguments'''</big>
;''Return values''
:;questID : Integer - Identifier of the quest. If not provided, default to the currently selected Quest, via [[API SelectQuestLogEntry|SelectQuestLogEntry()]].


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


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

Latest revision as of 04:46, 15 August 2023

WoW API < GetNumQuestLeaderBoards

Returns the number of objectives for a given quest.

local numQuestLogLeaderBoards = GetNumQuestLeaderBoards([questID])

Parameters[edit]

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[edit]

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