Class Player
A Player resource.
Implements
Inherited Members
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class Player : IDirectResponseSchema
Properties
AvatarImageUrl
The base URL for the image that represents the player.
Declaration
[JsonProperty("avatarImageUrl")]
public virtual string AvatarImageUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
BannerUrlLandscape
The url to the landscape mode player banner image.
Declaration
[JsonProperty("bannerUrlLandscape")]
public virtual string BannerUrlLandscape { get; set; }
Property Value
Type | Description |
---|---|
string |
BannerUrlPortrait
The url to the portrait mode player banner image.
Declaration
[JsonProperty("bannerUrlPortrait")]
public virtual string BannerUrlPortrait { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
The name to display for the player.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExperienceInfo
An object to represent Play Game experience information for the player.
Declaration
[JsonProperty("experienceInfo")]
public virtual PlayerExperienceInfo ExperienceInfo { get; set; }
Property Value
Type | Description |
---|---|
PlayerExperienceInfo |
FriendStatus
The friend status of the given player, relative to the requester. This is unset if the player is not sharing their friends list with the game.
Declaration
[JsonProperty("friendStatus")]
public virtual string FriendStatus { get; set; }
Property Value
Type | Description |
---|---|
string |
GamePlayerId
Per-application unique player identifier.
Declaration
[JsonProperty("gamePlayerId")]
public virtual string GamePlayerId { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string games#player
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
A representation of the individual components of the name.
Declaration
[JsonProperty("name")]
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
[JsonProperty("originalPlayerId")]
public virtual string OriginalPlayerId { get; set; }
Property Value
Type | Description |
---|---|
string |
PlayerId
The ID of the player.
Declaration
[JsonProperty("playerId")]
public virtual string PlayerId { get; set; }
Property Value
Type | Description |
---|---|
string |
ProfileSettings
The player's profile settings. Controls whether or not the player's profile is visible to other players.
Declaration
[JsonProperty("profileSettings")]
public virtual ProfileSettings ProfileSettings { get; set; }
Property Value
Type | Description |
---|---|
ProfileSettings |
Title
The player's title rewarded for their game activities.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type | Description |
---|---|
string |