Platforms to show: All Mac Windows Linux Cross-Platform

GKLeaderboardMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class GameKit MBS MacFrameworks Plugin 12.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A GKLeaderboard object represents a programmatic query to retrieve scores from Game Center.

Your game uses GKLeaderboard objects when it wants to analyze scoring information or when it wants to create its own custom leaderboard screens.

see also
https://developer.apple.com/library/prerelease/mac/#documentation/GameKit/Reference/GKLeaderboard_Ref/Reference/Reference.html

Leaderboard Player Scope

Constant Value Description
GKLeaderboardPlayerScopeFriendsOnly 1 Only friends of the local player should be considered when generating the list of scores.
GKLeaderboardPlayerScopeGlobal 0 All players on Game Center should be considered when generating the list of scores.

Leaderboard Time Scope

Constant Value Description
GKLeaderboardTimeScopeAllTime 2 Each player's best score is returned.
GKLeaderboardTimeScopeToday 0 Each player is restricted to scores recorded in the past 24 hours.
GKLeaderboardTimeScopeWeek 1 Each player is restricted to scores recorded in the past week.

This class has no sub classes.

Some events using this class:


The items on this page are in the following plugins: MBS MacFrameworks Plugin.


GKInviteMBS   -   GKLeaderboardViewControllerMBS


The biggest plugin in space...