Tile - YServerData - Update Score – Ylands
Jump to navigation
Jump to search
(Created page with "{{Wiki|stub}} ---- {{Navbox/Ylands}} {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} Category: Instructions Category: Ylands 1.6") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(3 intermediate revisions by one other user not shown) | |||
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 | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
Allows to update player score value automatically for all time periods. | |||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 15:27, 24 November 2023
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
Availability
Description
Allows to update player score value automatically for all time periods.