C# Class GooglePlayGames.PlayGamesLocalUser

Represents the Google Play Games local user.
Inheritance: GooglePlayGames.PlayGamesUserProfile, ILocalUser
Mostra file Open project: playgameservices/play-games-plugin-for-unity Class Usage Examples

Private Properties

Property Type Description
GetIdToken void
PlayGamesLocalUser System

Public Methods

Method Description
Authenticate ( string>.Action callback ) : void

Authenticates the local user. Equivalent to calling PlayGamesPlatform.Authenticate.

Authenticate ( string>.Action callback, bool silent ) : void

Authenticates the local user. Equivalent to calling PlayGamesPlatform.Authenticate.

Authenticate ( Action callback ) : void

Authenticates the local user. Equivalent to calling PlayGamesPlatform.Authenticate.

Authenticate ( Action callback, bool silent ) : void

Authenticates the local user. Equivalent to calling PlayGamesPlatform.Authenticate.

GetStats ( PlayerStats>.Action callback ) : void

Gets the player's stats.

LoadFriends ( Action callback ) : void

Loads all friends of the authenticated user.

Private Methods

Method Description
GetIdToken ( Action idTokenCallback ) : void
PlayGamesLocalUser ( PlayGamesPlatform plaf ) : System

Method Details

Authenticate() public method

Authenticates the local user. Equivalent to calling PlayGamesPlatform.Authenticate.
public Authenticate ( string>.Action callback ) : void
callback string>.Action
return void

Authenticate() public method

Authenticates the local user. Equivalent to calling PlayGamesPlatform.Authenticate.
public Authenticate ( string>.Action callback, bool silent ) : void
callback string>.Action
silent bool
return void

Authenticate() public method

Authenticates the local user. Equivalent to calling PlayGamesPlatform.Authenticate.
public Authenticate ( Action callback ) : void
callback Action
return void

Authenticate() public method

Authenticates the local user. Equivalent to calling PlayGamesPlatform.Authenticate.
public Authenticate ( Action callback, bool silent ) : void
callback Action
silent bool
return void

GetStats() public method

Gets the player's stats.
public GetStats ( PlayerStats>.Action callback ) : void
callback PlayerStats>.Action Callback when they are available.
return void

LoadFriends() public method

Loads all friends of the authenticated user.
public LoadFriends ( Action callback ) : void
callback Action
return void