ListLeaderboardScoresResponse
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Representasi JSON |
{
"kind": string,
"nextPageToken": string,
"prevPageToken": string,
"numScores": string,
"playerScore": {
object (LeaderboardEntry )
},
"items": [
{
object (LeaderboardEntry )
}
]
} |
Kolom |
kind |
string
Secara unik mengidentifikasi jenis resource ini. Nilainya selalu berupa string tetap games#leaderboardScores .
|
nextPageToken |
string
Token penomoran halaman untuk halaman hasil berikutnya.
|
prevPageToken |
string
Token penomoran halaman untuk halaman hasil sebelumnya.
|
numScores |
string (int64 format)
Jumlah total skor di papan peringkat.
|
playerScore |
object (LeaderboardEntry )
Skor pemain yang meminta di papan peringkat. Skor pemain dapat muncul di sini dan dalam daftar skor di atas. Jika Anda melihat papan peringkat publik dan pemain tidak membagikan informasi gameplay-nya secara publik, nilai scoreRank dan formattedScoreRank tidak akan ada.
|
items[] |
object (LeaderboardEntry )
Skor di papan peringkat.
|
LeaderboardEntry
Resource Entri Papan Peringkat.
Representasi JSON |
{
"kind": string,
"player": {
object (Player )
},
"scoreRank": string,
"formattedScoreRank": string,
"scoreValue": string,
"formattedScore": string,
"timeSpan": enum (ScoreTimeSpan ),
"writeTimestampMillis": string,
"scoreTag": string
} |
Kolom |
kind |
string
Secara unik mengidentifikasi jenis resource ini. Nilainya selalu berupa string tetap games#leaderboardEntry .
|
player |
object (Player )
Pemain yang memegang skor ini.
|
scoreRank |
string (int64 format)
Peringkat skor ini untuk papan peringkat ini.
|
formattedScoreRank |
string
String yang dilokalkan untuk peringkat skor ini untuk papan peringkat ini.
|
scoreValue |
string (int64 format)
Nilai numerik skor ini.
|
formattedScore |
string
String yang dilokalkan untuk nilai numerik skor ini.
|
timeSpan |
enum (ScoreTimeSpan )
Rentang waktu skor tertinggi ini.
|
writeTimestampMillis |
string (int64 format)
Stempel waktu saat skor ini dicatat, dalam milidetik sejak epoch di UTC.
|
scoreTag |
string
Informasi tambahan tentang skor. Nilai tidak boleh berisi lebih dari 64 karakter yang aman untuk URI seperti yang ditentukan oleh bagian 2.3 RFC 3986.
|
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-26 UTC."],[],[],null,["# ListLeaderboardScoresResponse\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [LeaderboardEntry](#LeaderboardEntry)\n - [JSON representation](#LeaderboardEntry.SCHEMA_REPRESENTATION)\n\nA ListScores response.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"nextPageToken\": string, \"prevPageToken\": string, \"numScores\": string, \"playerScore\": { object (/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry) }, \"items\": [ { object (/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry) } ] } ``` |\n\n| Fields ||\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#leaderboardScores`. |\n| `nextPageToken` | `string` The pagination token for the next page of results. |\n| `prevPageToken` | `string` The pagination token for the previous page of results. |\n| `numScores` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The total number of scores in the leaderboard. |\n| `playerScore` | `object (`[LeaderboardEntry](/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry)`)` The score of the requesting player on the leaderboard. The player's score may appear both here and in the list of scores above. If you are viewing a public leaderboard and the player is not sharing their gameplay information publicly, the `scoreRank`and `formattedScoreRank` values will not be present. |\n| `items[]` | `object (`[LeaderboardEntry](/games/services/web/api/rest/v1/ListLeaderboardScoresResponse#LeaderboardEntry)`)` The scores in the leaderboard. |\n\nLeaderboardEntry\n----------------\n\nThe Leaderboard Entry resource.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"player\": { object (/games/services/web/api/rest/v1/players#Player) }, \"scoreRank\": string, \"formattedScoreRank\": string, \"scoreValue\": string, \"formattedScore\": string, \"timeSpan\": enum (/games/services/web/api/rest/v1/scores#ScoreTimeSpan), \"writeTimestampMillis\": string, \"scoreTag\": string } ``` |\n\n| Fields ||\n|------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#leaderboardEntry`. |\n| `player` | `object (`[Player](/games/services/web/api/rest/v1/players#Player)`)` The player who holds this score. |\n| `scoreRank` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The rank of this score for this leaderboard. |\n| `formattedScoreRank` | `string` The localized string for the rank of this score for this leaderboard. |\n| `scoreValue` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The numerical value of this score. |\n| `formattedScore` | `string` The localized string for the numerical value of this score. |\n| `timeSpan` | `enum (`[ScoreTimeSpan](/games/services/web/api/rest/v1/scores#ScoreTimeSpan)`)` The time span of this high score. |\n| `writeTimestampMillis` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The timestamp at which this score was recorded, in milliseconds since the epoch in UTC. |\n| `scoreTag` | `string` Additional information about the score. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986. |"]]