Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | GameKit | MBS MacFrameworks Plugin | 13.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Important: Your game must authenticate a local player before you can use any Game Center classes. If there is no authenticated player, your game receives a GKErrorNotAuthenticated error. For more information on authentication see Game Center Programming Guide.
Players use the Game Center app to issue and view challenges. However, your game can also customize its challenge behaviors in a number of ways:
Constant | Value | Description |
---|---|---|
GKChallengeStateCompleted | 2 |
The receiving player successfully completed the challenge. Available on Mac OS X 10.8.2 and newer. |
GKChallengeStateDeclined | 3 |
The receiving player declined the challenge. Available on Mac OS X 10.8.2 and newer. |
GKChallengeStateInvalid | 0 |
An error occurred. The state of this challenge is not valid. Available on Mac OS X 10.8.2 and newer. |
GKChallengeStatePending | 1 |
The challenge has been issued, but is not yet completed nor declined. Available on Mac OS X 10.8.2 and newer. |
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
GKAchievementViewControllerMBS - GKChallengesViewControllerMBS