Tile - YServerData - Get Position – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Leaderboard - get position to Ylands:Tile - YServerData - Get Position: New Structure) |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(2 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. | |||
--> | |||
== Get Position(Player, Scope, Leaderboard, Period, On result) == | |||
[[File:YlandsTile-1012.png]] | |||
<pre>static getLeaderboardPosition(player: YCharacter, dataScope: YServerDataScope, leaderboardUid: String, leaderboardPeriod: YLeaderboardPeriod, onResult: (info: YLeaderboardPlayerInfo) => void): void;</pre> | |||
=== Parameters === | |||
==== player ==== | |||
Target player | |||
==== dataScope ==== | |||
Whenever you are quering data from Game or Game Set | |||
==== leaderboardUid ==== | |||
Target leaderboard variable (i.e score) | |||
==== leaderboardPeriod ==== | |||
Target leaderboard time period | |||
==== onResult ==== | |||
Player leaderboard information | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | |||
Returns leaderbord info of target player, which can be then parsed for more data. | |||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 14:27, 24 November 2023
Get Position(Player, Scope, Leaderboard, Period, On result)
static getLeaderboardPosition(player: YCharacter, dataScope: YServerDataScope, leaderboardUid: String, leaderboardPeriod: YLeaderboardPeriod, onResult: (info: YLeaderboardPlayerInfo) => void): void;
Parameters
player
Target player
dataScope
Whenever you are quering data from Game or Game Set
leaderboardUid
Target leaderboard variable (i.e score)
leaderboardPeriod
Target leaderboard time period
onResult
Player leaderboard information
Availability
Description
Returns leaderbord info of target player, which can be then parsed for more data.