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.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

GameKit.LocalPlayer.isAuthenticated

Checks whether local player is authenticated.

Component Version macOS Windows Linux Server FileMaker iOS SDK
GameKit 8.5 Yes No No No Yes
MBS( "GameKit.LocalPlayer.isAuthenticated" )   More

Parameters

none

Result

Returns 1, 0 or error.

Description

Checks whether local player is authenticated.
A Boolean value that indicates whether a local player is currently signed in to Game Center.

Examples

Login if needed:

If [ MBS( "GameKit.LocalPlayer.isAuthenticated" ) = 0 ]
    # Show Login dialog
    Set Variable [ $r ; Value: MBS( "GameKit.LocalPlayer.Authenticate" ) ]
End If

See also

Example Databases

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


GameKit.LocalPlayer.ClearAuthenticateHandler   -   GameKit.LocalPlayer.isUnderage

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat