Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
GameKit.Score.New
Creates a new score object.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GameKit | 8.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "GameKit.Score.New"; LeaderboardIdentifier { ; PlayerIdentifier } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
LeaderboardIdentifier | The identifier for the leaderboard for this score. | ||
PlayerIdentifier | The player identifier, if not the current one. | Optional |
Result
Returns score identifier or error.
Description
Creates a new score object.Returns score identifier for a new score object for the specified leaderboard and optional player.
Your game explicitly allocates and initializes a score object using the designated player and current date when it needs to report a new score to Game Center.
See also
This function is free to use.
Created 5th November 2018, last changed 8th November 2018