Class AN_PlayersClient
A client to interact with Players.
Inheritance
System.Object
AN_PlayersClient
Namespace: SA.Android.GMS.Games
Assembly: cs.temp.dll.dll
Syntax
public class AN_PlayersClient : AN_LinkedObject
Methods
GetCurrentPlayer(Action<AN_SerializedObjectResult<AN_Player>>)
Asynchronously loads the current signed-in AN_Player , if available.
Required Scopes: SCOPE_GAMES_LITE
Declaration
public void GetCurrentPlayer(Action<AN_SerializedObjectResult<AN_Player>> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<AN_SerializedObjectResult<AN_Player>> | callback | player load callback. |