leaderboardGetRows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1.56)
m (template:command argument fix)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns an array with values for the given leaderboard, the array is in format: <nowiki>[[player1Name, score, rank], [player2Name, score, rank], [player3Name, score, rank] ... ]</nowiki>; This can be called after the one of the row request function has been called and successfully finished! |= Description
| Returns an array with values for the given leaderboard, the array is in format: <nowiki>[[player1Name, score, rank], [player2Name, score, rank], [player3Name, score, rank] ... ]</nowiki>; This can be called after the one of the row request function has been called and successfully finished! |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[leaderboardGetRows]] boardName |= Syntax
| [[leaderboardGetRows]] boardName |SYNTAX=


|p1=  boardName: [[String]]|= Parameter 1
|p1=  boardName: [[String]]|PARAMETER1=


| [[Array]] |= Return Value
| [[Array]] |RETURNVALUE=




____________________________________________________________________________________________
____________________________________________________________________________________________


|x1=  <code>[[leaderboardGetRows]] "TT01"</code>|= Example 1
|x1=  <code>[[leaderboardGetRows]] "TT01"</code>|EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x2=  |= Example 2
|x2=  |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x3=  |= Example 3
|x3=  |EXAMPLE3=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x4=  |= Example 4
|x4=  |EXAMPLE4=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x5=  |= Example 5
|x5=  |EXAMPLE5=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x6=  |= Example 6
|x6=  |EXAMPLE6=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x7=  |= Example 7
|x7=  |EXAMPLE7=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x8=  |= Example 8
|x8=  |EXAMPLE8=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x9=  |= Example 9
|x9=  |EXAMPLE9=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x10=  |= Example 10
|x10=  |EXAMPLE1=0
____________________________________________________________________________________________
____________________________________________________________________________________________


|mp= - |= Multiplayer Behaviour
|mp= - |= Multiplayer Behaviour


| [[leaderboardDeInit]],[[leaderboardInit]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]] |= See Also
| [[leaderboardDeInit]],[[leaderboardInit]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]] |SEEALSO=


}}
}}

Revision as of 14:42, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns an array with values for the given leaderboard, the array is in format: [[player1Name, score, rank], [player2Name, score, rank], [player3Name, score, rank] ... ]; This can be called after the one of the row request function has been called and successfully finished!
Multiplayer:
-
Groups:
Uncategorised

Syntax

Syntax:
leaderboardGetRows boardName
Parameters:
boardName: String
Return Value:
Array

Examples

Example 1:
leaderboardGetRows "TT01"

Additional Information

See also:
leaderboardDeInitleaderboardInitleaderboardRequestRowsFriendsleaderboardRequestRowsGloballeaderboardRequestRowsGlobalAroundUserleaderboardsRequestUploadScoreleaderboardsRequestUploadScoreKeepBestleaderboardState

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Bottom Section