Tile - YServerData - Set 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. --> == Set Score(Player, Scope, Leaderboard, Period, Val...") |
(No difference)
|
Revision as of 09:52, 8 July 2021
Set Score(Player, Scope, Leaderboard, Period, Value)
static setLeaderboardScore(player: YCharacter, dataScope: YServerDataScope, leaderboardUid: String, leaderboardPeriod: YLeaderboardPeriod, score: number): void;
Parameters
player
Target player
dataScope
Whenever you are storing data to Game or Game Set
leaderboardUid
Target leaderboard variable (i.e score)
leaderboardPeriod
Target leaderboard time period
score
New score value
Description
Allows to set player score value for given time period.