SubmitLeaderboardScoreResponse
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Daftar resource entri papan peringkat.
Representasi JSON |
{
"kind": string,
"beatenScoreTimeSpans": [
enum (ScoreTimeSpan )
],
"unbeatenScores": [
{
object (PlayerScore )
}
],
"formattedScore": string,
"leaderboardId": string,
"scoreTag": string
} |
Kolom |
kind |
string
Secara unik mengidentifikasi jenis resource ini. Nilainya selalu berupa string tetap games#playerScoreResponse .
|
beatenScoreTimeSpans[] |
enum (ScoreTimeSpan )
Rentang waktu saat skor yang dikirimkan lebih baik daripada skor yang ada untuk rentang waktu tersebut.
|
unbeatenScores[] |
object (PlayerScore )
Skor dalam rentang waktu yang belum dikalahkan. Misalnya, skor yang dikirimkan mungkin lebih baik daripada skor DAILY pemain, tetapi tidak lebih baik daripada skor pemain untuk rentang waktu WEEKLY atau ALL_TIME .
|
formattedScore |
string
Nilai skor yang dikirimkan dalam format.
|
leaderboardId |
string
ID papan peringkat tempat skor ini dikirimkan.
|
scoreTag |
string
Informasi tambahan tentang skor ini. Nilai tidak akan berisi lebih dari 64 karakter yang aman untuk URI seperti yang ditentukan oleh bagian 2.3 RFC 3986.
|
PlayerScore
Representasi JSON |
{
"kind": string,
"timeSpan": enum (ScoreTimeSpan ),
"score": string,
"formattedScore": string,
"scoreTag": string
} |
Kolom |
kind |
string
Secara unik mengidentifikasi jenis resource ini. Nilainya selalu berupa string tetap games#playerScore .
|
timeSpan |
enum (ScoreTimeSpan )
Rentang waktu untuk skor pemain ini.
|
score |
string (int64 format)
Nilai numerik untuk skor pemain ini.
|
formattedScore |
string
Skor yang diformat untuk skor pemain ini.
|
scoreTag |
string
Informasi tambahan tentang skor ini. Nilai tidak akan 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,["# SubmitLeaderboardScoreResponse\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [PlayerScore](#PlayerScore)\n - [JSON representation](#PlayerScore.SCHEMA_REPRESENTATION)\n\nA list of leaderboard entry resources.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"beatenScoreTimeSpans\": [ enum (/games/services/web/api/rest/v1/scores#ScoreTimeSpan) ], \"unbeatenScores\": [ { object (/games/services/web/api/rest/v1/SubmitLeaderboardScoreResponse#PlayerScore) } ], \"formattedScore\": string, \"leaderboardId\": string, \"scoreTag\": string } ``` |\n\n| Fields ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#playerScoreResponse`. |\n| `beatenScoreTimeSpans[]` | `enum (`[ScoreTimeSpan](/games/services/web/api/rest/v1/scores#ScoreTimeSpan)`)` The time spans where the submitted score is better than the existing score for that time span. |\n| `unbeatenScores[]` | `object (`[PlayerScore](/games/services/web/api/rest/v1/SubmitLeaderboardScoreResponse#PlayerScore)`)` The scores in time spans that have not been beaten. As an example, the submitted score may be better than the player's `DAILY` score, but not better than the player's scores for the `WEEKLY` or `ALL_TIME` time spans. |\n| `formattedScore` | `string` The formatted value of the submitted score. |\n| `leaderboardId` | `string` The leaderboard ID that this score was submitted to. |\n| `scoreTag` | `string` Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986. |\n\nPlayerScore\n-----------\n\nA player score.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"timeSpan\": enum (/games/services/web/api/rest/v1/scores#ScoreTimeSpan), \"score\": string, \"formattedScore\": string, \"scoreTag\": string } ``` |\n\n| Fields ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#playerScore`. |\n| `timeSpan` | `enum (`[ScoreTimeSpan](/games/services/web/api/rest/v1/scores#ScoreTimeSpan)`)` The time span for this player score. |\n| `score` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The numerical value for this player score. |\n| `formattedScore` | `string` The formatted score for this player score. |\n| `scoreTag` | `string` Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986. |"]]