Class AN_Player
Data interface for retrieving player information.
Inheritance
Inherited Members
Namespace: SA.Android.GMS.Games
Assembly: cs.temp.dll.dll
Syntax
public class AN_Player
Fields
CURRENT_XP_UNKNOWN
Constant indicating that the current XP total for a player is not known.
Declaration
public static long CURRENT_XP_UNKNOWN
Field Value
Type | Description |
---|---|
System.Int64 |
TIMESTAMP_UNKNOWN
Constant indicating that a timestamp for a player is not known.
Declaration
public static long TIMESTAMP_UNKNOWN
Field Value
Type | Description |
---|---|
System.Int64 |
Properties
BannerImageLandscapeUri
Retrieves the URI for loading this player's landscape banner image. Returns null if the player has no landscape banner image.
To retrieve the Image from the Uri, use
Declaration
public string BannerImageLandscapeUri { get; }
Property Value
Type | Description |
---|---|
System.String |
BannerImagePortraitUri
Retrieves the URI for loading this player's portrait banner image. Returns null if the player has no portrait banner image.
To retrieve the Image from the Uri, use
Declaration
public string BannerImagePortraitUri { get; }
Property Value
Type | Description |
---|---|
System.String |
DisplayName
Retrieves the display name for this player.
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
HasHiResImage
Indicates whether this player has a hi-res profile image to display.
Declaration
public bool HasHiResImage { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasIconImage
Indicates whether this player has an icon-size profile image to display.
Declaration
public bool HasIconImage { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HiResImageUri
Retrieves the URI for loading this player's hi-res profile image. Returns null if the player has no profile image.
To retrieve the Image from the Uri, use
Declaration
public string HiResImageUri { get; }
Property Value
Type | Description |
---|---|
System.String |
IconImageUri
Retrieves the URI for loading this player's icon-size profile image. Returns null if the player has no profile image.
To retrieve the Image from the Uri, use
Declaration
public string IconImageUri { get; }
Property Value
Type | Description |
---|---|
System.String |
LastPlayedWithTimestamp
Retrieves the timestamp at which this player last played a multiplayer game with the currently signed in user. If the timestamp is not found, this method returns TIMESTAMP_UNKNOWN.
Declaration
public long LastPlayedWithTimestamp { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
LevelInfo
Retrieves the player level associated information if any exists. If no level information exists for this player, this method will return null.
Declaration
public AN_PlayerLevelInfo LevelInfo { get; }
Property Value
Type | Description |
---|---|
AN_PlayerLevelInfo |
PlayerId
Retrieves the ID of this player.
Declaration
public string PlayerId { get; }
Property Value
Type | Description |
---|---|
System.String |
RetrievedTimestamp
Retrieves the timestamp at which this player record was last updated locally.
Declaration
public long RetrievedTimestamp { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Title
Retrieves the title of the player. This is based on the player's gameplay activity in apps using Google Play Games services. Note that not all players have titles, and that a player's title may change over time.
Declaration
public string Title { get; }
Property Value
Type | Description |
---|---|
System.String |