C# Class GooglePlayGames.PlayGamesLocalUser

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

Private Properties

Свойство Type Description
GetIdToken void
PlayGamesLocalUser System

Méthodes publiques

Méthode 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

Méthode Description
GetIdToken ( Action idTokenCallback ) : void
PlayGamesLocalUser ( PlayGamesPlatform plaf ) : System

Method Details

Authenticate() public méthode

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

Authenticate() public méthode

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

Authenticate() public méthode

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

Authenticate() public méthode

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

GetStats() public méthode

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

LoadFriends() public méthode

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