Tile - YServerData - Get Score – Ylands

From Bohemia Interactive Community
Revision as of 14:27, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Get Score(Player, Scope, Leaderboard, Period)

YlandsTile-1009.png

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

Server

Description

Returns selected score value of target player.