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
Back to GKLocalPlayerMBS class.
GKLocalPlayerMBS.isAuthenticated as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Before using other Game Center features, your game must authenticate the local player. Your game can read this property elsewhere in your game to confirm that the local player is authenticated.
Important Even after the local player has successfully authenticated their credentials, the value of this property can change. For example, if your game is switched into the background, the player could launch the Game Center game and sign out of Game Center. To be notified when the value of this property changes, your game should register to receive the GKPlayerAuthenticationDidChangeNotificationName notification (or use GameKitMBS.PlayerAuthenticationDidChange event).
(Read only property)
GKLocalPlayerMBS.isUnderage as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GameKit | MBS MacFrameworks Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Some Game Center features are disabled if the local player is underage. Your game can test this property if it wants to disable some of its own features based on the player's age.
(Read only property)
The items on this page are in the following plugins: MBS MacFrameworks Plugin.