Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PlayerScoreResponse

import type { PlayerScoreResponse } from "https://googleapis.deno.dev/v1/games:v1.ts";

A list of leaderboard entry resources.

interface PlayerScoreResponse {
beatenScoreTimeSpans?: "ALL_TIME" | "WEEKLY" | "DAILY"[];
formattedScore?: string;
kind?: string;
leaderboardId?: string;
scoreTag?: string;
unbeatenScores?: PlayerScore[];
}

§Properties

§
beatenScoreTimeSpans?: "ALL_TIME" | "WEEKLY" | "DAILY"[]
[src]

The time spans where the submitted score is better than the existing score for that time span.

§
formattedScore?: string
[src]

The formatted value of the submitted score.

§
kind?: string
[src]

Uniquely identifies the type of this resource. Value is always the fixed string games#playerScoreResponse.

§
leaderboardId?: string
[src]

The leaderboard ID that this score was submitted to.

§
scoreTag?: string
[src]

Additional information about this score. Values will contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.

§
unbeatenScores?: PlayerScore[]
[src]

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.