leaderboardGetRows: Difference between revisions
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "")  | 
				Lou Montana (talk | contribs)  m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)  | 
				||
| Line 1: | Line 1: | ||
{{Command  | {{Command  | ||
|arma3  | |arma3  | ||
|1.56  | |1.56  | ||
|gr1 = LeaderBoards   | |gr1 = LeaderBoards  | ||
|arg  | |arg=  | ||
|eff  | |eff=  | ||
| 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!   | | 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!  | ||
| [[leaderboardGetRows]] boardName   | | [[leaderboardGetRows]] boardName  | ||
|p1=  boardName: [[String]]  | |p1=  boardName: [[String]]  | ||
| [[Array]]   | | [[Array]]  | ||
|x1=  <code>[[leaderboardGetRows]] "TT01"</code>  | |x1=  <code>[[leaderboardGetRows]] "TT01"</code>  | ||
|x2  | |x2=  | ||
|x3  | |x3=  | ||
|x4  | |x4=  | ||
|x5  | |x5=  | ||
|x6  | |x6=  | ||
|x7  | |x7=  | ||
|x8  | |x8=  | ||
|x9  | |x9=  | ||
|x10=  |EXAMPLE10=  | |x10=  |EXAMPLE10=  | ||
| [[leaderboardDeInit]],[[leaderboardInit]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]]   | | [[leaderboardDeInit]],[[leaderboardInit]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]]  | ||
}}  | }}  | ||
Revision as of 01:06, 18 January 2021
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!
 - Groups:
 - LeaderBoards
 
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