Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

GameKit.LocalPlayer.isUnderage

Queries underage status.

Component Version macOS Windows Linux Server iOS SDK
GameKit 8.5 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "GameKit.LocalPlayer.isUnderage" )

Parameters

none

Result

Returns 1, 0 or error.

Description

Queries underage status.
A Boolean value that declares whether the local player is underage.

Some Game Center features are disabled if the local player is underage. Your game can also test this property if it wants to disable some of its own features based on the player’s age.

Example Databases

Created 5th November 2018, last changed 8th November 2018


GameKit.LocalPlayer.isAuthenticated - GameKit.Player.Alias

Feedback: Report problem or ask question.