Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

Blog Entries

This function is free to use.

Created 5th November 2018, last changed 8th November 2018


GameKit.Leaderboard.MaxRange - GameKit.Leaderboard.Scores

💬 Ask a question or report a problem