Class Player
This is a JSON template for a Player resource.
Inheritance
Implements
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class Player : object, IDirectResponseSchema
Properties
AvatarImageUrl
The base URL for the image that represents the player.
Declaration
public virtual string AvatarImageUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
BannerUrlLandscape
The url to the landscape mode player banner image.
Declaration
public virtual string BannerUrlLandscape { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
BannerUrlPortrait
The url to the portrait mode player banner image.
Declaration
public virtual string BannerUrlPortrait { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DisplayName
The name to display for the player.
Declaration
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ExperienceInfo
An object to represent Play Game experience information for the player.
Declaration
public virtual PlayerExperienceInfo ExperienceInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| PlayerExperienceInfo |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string games#player.
Declaration
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
LastPlayedWith
Details about the last time this player played a multiplayer game with the currently authenticated player. Populated for PLAYED_WITH player collection members.
Declaration
public virtual Played LastPlayedWith { get; set; }
Property Value
| Type | Description |
|---|---|
| Played |
Name
An object representation of the individual components of the player's name. For some players, these fields may not be present.
Declaration
public virtual Player.NameData Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Player.NameData |
OriginalPlayerId
The player ID that was used for this player the first time they signed into the game in question. This is only populated for calls to player.get for the requesting player, only if the player ID has subsequently changed, and only to clients that support remapping player IDs.
Declaration
public virtual string OriginalPlayerId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PlayerId
The ID of the player.
Declaration
public virtual string PlayerId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PlayerStattus
Declaration
public virtual string PlayerStattus { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ProfileSettings
The player's profile settings. Controls whether or not the player's profile is visible to other players.
Declaration
public virtual ProfileSettings ProfileSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| ProfileSettings |
Title
The player's title rewarded for their game activities.
Declaration
public virtual string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |