Tile - YServerData - Update Score – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Leaderboard - get-set score to Ylands:Tile - YServerData - Update Score: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Update Score(Player, Scope, Leaderboard, Value) == | |||
[[File:YlandsTile-1011.png]] | |||
<pre>static updateLeaderboardScore(player: YCharacter, dataScope: YServerDataScope, leaderboardUid: String, score: number): void;</pre> | |||
=== Parameters === | |||
==== player ==== | |||
Target player | |||
==== dataScope ==== | |||
Whenever you are storing data to Game or Game Set | |||
==== leaderboardUid ==== | |||
Target leaderboard variable (i.e score) | |||
==== score ==== | |||
New score value | |||
=== Description === | |||
Allows to update player score value automatically for all time periods. | |||
Line 7: | Line 35: | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Revision as of 09:52, 8 July 2021
Update Score(Player, Scope, Leaderboard, Value)
static updateLeaderboardScore(player: YCharacter, dataScope: YServerDataScope, leaderboardUid: String, 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)
score
New score value
Description
Allows to update player score value automatically for all time periods.