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
Retrieves the shared instance of the local player.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| GameKit | 8.5 | Yes | No | No | No | Yes |
MBS( "GameKit.LocalPlayer" ) More
Parameters
none
Result
Returns player identifier or error.
Description
Retrieves the shared instance of the local player.You never directly create a local player object. Instead, you retrieve the Singleton object by calling this function.
Identifier changes when authenticated, but the plugin can always use local player if you pass "localplayer" as player identifier.
See also
- GameKit.Initialize
- GameKit.LoadPlayers
- GameKit.LocalPlayer.Authenticate
- GameKit.LocalPlayer.AuthenticateError
- GameKit.LocalPlayer.ClearAuthenticateHandler
- GameKit.LocalPlayer.isAuthenticated
- GameKit.Score.Player
Example Databases
Created 5th November 2018, last changed 8th November 2018
GameKit.LoadReceivedChallenges - GameKit.LocalPlayer.Authenticate
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos