Class PlayerLeaderboardScore
A player leaderboard score object.
Implements
Inherited Members
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class PlayerLeaderboardScore : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FriendsRank
The rank of the score in the friends collection for this leaderboard.
Declaration
[JsonProperty("friendsRank")]
public virtual LeaderboardScoreRank FriendsRank { get; set; }
Property Value
Type | Description |
---|---|
LeaderboardScoreRank |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string
games#playerLeaderboardScore
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
LeaderboardId
The ID of the leaderboard this score is in.
Declaration
[JsonProperty("leaderboard_id")]
public virtual string LeaderboardId { get; set; }
Property Value
Type | Description |
---|---|
string |
PublicRank
The public rank of the score in this leaderboard. This object will not be present if the user is not sharing their scores publicly.
Declaration
[JsonProperty("publicRank")]
public virtual LeaderboardScoreRank PublicRank { get; set; }
Property Value
Type | Description |
---|---|
LeaderboardScoreRank |
ScoreString
The formatted value of this score.
Declaration
[JsonProperty("scoreString")]
public virtual string ScoreString { get; set; }
Property Value
Type | Description |
---|---|
string |
ScoreTag
Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.
Declaration
[JsonProperty("scoreTag")]
public virtual string ScoreTag { get; set; }
Property Value
Type | Description |
---|---|
string |
ScoreValue
The numerical value of this score.
Declaration
[JsonProperty("scoreValue")]
public virtual long? ScoreValue { get; set; }
Property Value
Type | Description |
---|---|
long? |
SocialRank
The social rank of the score in this leaderboard.
Declaration
[JsonProperty("socialRank")]
public virtual LeaderboardScoreRank SocialRank { get; set; }
Property Value
Type | Description |
---|---|
LeaderboardScoreRank |
TimeSpan
The time span of this score.
Declaration
[JsonProperty("timeSpan")]
public virtual string TimeSpan { get; set; }
Property Value
Type | Description |
---|---|
string |
WriteTimestamp
The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.
Declaration
[JsonProperty("writeTimestamp")]
public virtual long? WriteTimestamp { get; set; }
Property Value
Type | Description |
---|---|
long? |