Class PlayerLeaderboardScore
This is a JSON template for a player leaderboard score object.
Inheritance
Implements
Namespace: Google.Apis.Games.v1.Data
Assembly: Google.Apis.Games.v1.dll
Syntax
public class PlayerLeaderboardScore : object, IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Kind
Uniquely identifies the type of this resource. Value is always the fixed string games#playerLeaderboardScore.
Declaration
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
LeaderboardId
The ID of the leaderboard this score is in.
Declaration
public virtual string LeaderboardId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.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
public virtual LeaderboardScoreRank PublicRank { get; set; }
Property Value
| Type | Description |
|---|---|
| LeaderboardScoreRank |
ScoreString
The formatted value of this score.
Declaration
public virtual string ScoreString { get; set; }
Property Value
| Type | Description |
|---|---|
| System.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
public virtual string ScoreTag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ScoreValue
The numerical value of this score.
Declaration
public virtual Nullable<long> ScoreValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
SocialRank
The social rank of the score in this leaderboard.
Declaration
public virtual LeaderboardScoreRank SocialRank { get; set; }
Property Value
| Type | Description |
|---|---|
| LeaderboardScoreRank |
TimeSpan
The time span of this score. Possible values are: - "ALL_TIME" - The score is an all-time score. - "WEEKLY" - The score is a weekly score. - "DAILY" - The score is a daily score.
Declaration
public virtual string TimeSpan { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
WriteTimestamp
The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.
Declaration
public virtual Nullable<long> WriteTimestamp { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |