SubmitLeaderboardScoreResponse
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Un elenco di risorse per l'accesso alla classifica.
Rappresentazione JSON |
{
"kind": string,
"beatenScoreTimeSpans": [
enum (ScoreTimeSpan )
],
"unbeatenScores": [
{
object (PlayerScore )
}
],
"formattedScore": string,
"leaderboardId": string,
"scoreTag": string
} |
Campi |
kind |
string
Identifica in modo univoco il tipo di questa risorsa. Il valore è sempre la stringa fissa games#playerScoreResponse .
|
beatenScoreTimeSpans[] |
enum (ScoreTimeSpan )
Gli intervalli di tempo in cui il punteggio inviato è migliore di quello esistente per l'intervallo di tempo in questione.
|
unbeatenScores[] |
object (PlayerScore )
I punteggi in intervalli di tempo che non sono stati superati. Ad esempio, il punteggio inviato può essere migliore del punteggio di DAILY del giocatore, ma non superiore ai punteggi del giocatore per gli intervalli di tempo WEEKLY o ALL_TIME .
|
formattedScore |
string
Il valore formattato del punteggio inviato.
|
leaderboardId |
string
L'ID classifica a cui è stato inviato questo punteggio.
|
scoreTag |
string
Ulteriori informazioni su questo punteggio. I valori non conterranno più di 64 caratteri di sicurezza URI come definito dalla sezione 2.3 di RFC 3986.
|
PlayerScore
Rappresentazione JSON |
{
"kind": string,
"timeSpan": enum (ScoreTimeSpan ),
"score": string,
"formattedScore": string,
"scoreTag": string
} |
Campi |
kind |
string
Identifica in modo univoco il tipo di questa risorsa. Il valore è sempre la stringa fissa games#playerScore .
|
timeSpan |
enum (ScoreTimeSpan )
Il periodo di tempo per il punteggio di questo giocatore.
|
score |
string (int64 format)
Il valore numerico del punteggio di questo giocatore.
|
formattedScore |
string
Il punteggio formattato per questo punteggio giocatore.
|
scoreTag |
string
Ulteriori informazioni su questo punteggio. I valori non conterranno più di 64 caratteri di sicurezza URI come definito dalla sezione 2.3 di RFC 3986.
|
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-26 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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. |"]]