SubmitLeaderboardScoreResponse

排行榜条目资源列表。

JSON 表示法
{
  "kind": string,
  "beatenScoreTimeSpans": [
    enum (ScoreTimeSpan)
  ],
  "unbeatenScores": [
    {
      object (PlayerScore)
    }
  ],
  "formattedScore": string,
  "leaderboardId": string,
  "scoreTag": string
}
字段
kind

string

唯一标识此资源类型。值始终是固定字符串 games#playerScoreResponse

beatenScoreTimeSpans[]

enum (ScoreTimeSpan)

在该时间范围内提交的得分优于现有得分的时间范围。

unbeatenScores[]

object (PlayerScore)

不同时间段的得分。例如,提交的得分可能高于玩家的 DAILY 得分,但不会高于玩家在 WEEKLYALL_TIME 时间范围内的得分。

formattedScore

string

所提交得分的格式值。

leaderboardId

string

此得分提交到的排行榜 ID。

scoreTag

string

有关此得分的更多信息。根据 RFC 3986 第 2.3 节的规定,值最多只能包含 64 个 URI 安全字符。

PlayerScore

玩家得分。

JSON 表示法
{
  "kind": string,
  "timeSpan": enum (ScoreTimeSpan),
  "score": string,
  "formattedScore": string,
  "scoreTag": string
}
字段
kind

string

唯一标识此资源类型。值始终是固定字符串 games#playerScore

timeSpan

enum (ScoreTimeSpan)

此玩家得分的时间跨度。

score

string (int64 format)

此玩家得分的数值。

formattedScore

string

此玩家得分的格式化得分。

scoreTag

string

有关此得分的更多信息。根据 RFC 3986 第 2.3 节的规定,值最多只能包含 64 个 URI 安全字符。