Tile - YServerData - Get Score – Ylands
Jump to navigation
Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Get Score(Player, Scope, Leaderboard, Period) ==...") |
No edit summary |
||
Line 28: | Line 28: | ||
'''number''' | '''number''' | ||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === |
Revision as of 12:16, 12 November 2021
Get Score(Player, Scope, Leaderboard, Period)
static getLeaderboardScore(player: YCharacter, dataScope: YServerDataScope, leaderboardUid: String, leaderboardPeriod: YLeaderboardPeriod): number;
Parameters
player
Target player
dataScope
Whenever you are quering data from Game or Game Set
leaderboardUid
Selected leaderboard variable (i.e score)
leaderboardPeriod
Selected leaderboard time period
Returns
number
Availability
Description
Returns selected score value of target player.