Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

GKLeaderboardMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class GameKit MBS MacFrameworks Plugin 12.3 Yes No No Yes, macOS only No
Function: A GKLeaderboard object represents a programmatic query to retrieve scores from Game Center.
Notes:
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

Feedback, Comments & Corrections

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 for this class:


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


GKInviteMBS   -   GKLeaderboardViewControllerMBS





Links
MBS FileMaker blog