Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
GameKit.Leaderboard.LocalPlayerScore
Queries the score earned by the local player.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GameKit | 8.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "GameKit.Leaderboard.LocalPlayerScore"; LeaderboardIdentifier ) More
Parameters
Parameter | Description | Example |
---|---|---|
LeaderboardIdentifier | The identifier of the leaderboard. |
Result
Returns score identifier or error.
Description
Queries the score earned by the local player.This property is invalid until a call to GameKit.Leaderboard.LoadScores is completed. Afterward, it contains a score object representing the local player’s score on the leaderboard given the filters you applied to the query.
See also
- GameKit.Leaderboard.GetPlayerScope
- GameKit.Leaderboard.LoadScores
- GameKit.Leaderboard.SetPlayerScope
This function is free to use.
Created 5th November 2018, last changed 8th November 2018