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

有关此评分的更多信息。值包含的 URI 安全字符不超过 64 个(如 RFC 3986 第 2.3 节所定义)。

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

有关此评分的更多信息。值包含的 URI 安全字符不超过 64 个(如 RFC 3986 第 2.3 节所定义)。