Tile - YServerData - Set Score – Ylands

From Bohemia Interactive Community
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...")
 
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(One intermediate revision by one other user not shown)
Line 28: Line 28:


New score value
New score value
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===
Line 36: Line 40:
----
----
{{Navbox/Ylands}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]

Latest revision as of 15:26, 24 November 2023

Set Score(Player, Scope, Leaderboard, Period, Value)

YlandsTile-1010.png

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

Availability

Server

Description

Allows to set player score value for given time period.