Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
GameKit.Score.GetShouldSetDefaultLeaderboard
Queries whether this score should update default leaderboard.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GameKit | 8.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "GameKit.Score.GetShouldSetDefaultLeaderboard"; ScoreIdentifier ) More
Parameters
Parameter | Description | Example |
---|---|---|
ScoreIdentifier | The identifier for the score object. |
Result
Returns 1, 0 or error.
Description
Queries whether this score should update default leaderboard.A Boolean value that indicates whether this score should also update the default leaderboard.
If the value of this property is true, when the score is reported to Game Center, Game Center also updates the local player’s default leaderboard to match the value stored in the leaderboardIdentifier property of the score object.
If the value of this property is false, the default leaderboard is not changed by reporting the score. The default value of this property is false.
See also
This function is free to use.
Created 5th November 2018, last changed 8th November 2018