Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
GameKit.Leaderboard.New
Creates new leaderboard.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GameKit | 8.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "GameKit.Leaderboard.New" { ; playerIdentifiers } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
playerIdentifiers | The list of player identifiers. | Optional |
Result
Returns leaderboard identifier or error.
Description
Creates new leaderboard.If player list is given, returns an identifier for the leaderboard object initialized with this method ignores the playerScope and range properties. Instead, it retrieves scores for the specific list of players whose player identifiers are included in the players parameter.
If no player list is given, a leaderboard object initialized with this method uses the playerScope, timeScope, and range properties to search Game Center for scores.
See also
Release notes
- Version 9.1
- Fixed GameKit.Leaderboard.New function.
Blog Entries
This function is free to use.
Created 5th November 2018, last changed 8th November 2018