Platforms to show: All Mac Windows Linux Cross-Platform
GKScoreMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Your game creates GKScore objects to post scores to a leaderboard on Game Center. When your game retrieves score information from a leaderboard those scores are returned as GKScore objects.
see also
https://developer.apple.com/library/mac/#documentation/GameKit/Reference/GKScore_Ref/Reference/Reference.html
- 5 properties
- property Handle as Integer
- property category as string
- property context as UInt64
- property shouldSetDefaultLeaderboard as boolean
- property value as Int64
- 7 methods
- method Constructor(category as string)
- method date as date
- method formattedValue as string
- method issueChallengeToPlayers(playerIDs() as string, message as string)
- method playerID as string
- method rank as Integer
- method reportScore(tag as Variant = nil)
- 2 shared methods
- shared method Available as boolean
- shared method reportScores(scores() as GKScoreMBS, tag as Variant = nil)
This class has no sub classes.
Some methods using this class:
- GKLeaderboardMBS.localPlayerScore as GKScoreMBS
- GKLeaderboardMBS.scores as GKScoreMBS()
- GKScoreChallengeMBS.score as GKScoreMBS
Some events using this class:
- GameKitMBS.loadScoresCompleted(Leaderboard as GKLeaderboardMBS, scores() as GKScoreMBS, error as NSErrorMBS, tag as Variant)
- GameKitMBS.reportScoreCompleted(score as GKScoreMBS, error as NSErrorMBS, tag as Variant)
- GameKitMBS.reportScoresCompleted(Scores() as GKScoreMBS, error as NSErrorMBS, tag as Variant)
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
GKScoreChallengeMBS - GKTurnBasedMatchmakerViewControllerMBS