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

LeaderboardScores

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

A ListScores response.

interface LeaderboardScores {
items?: LeaderboardEntry[];
kind?: string;
nextPageToken?: string;
numScores?: bigint;
playerScore?: LeaderboardEntry;
prevPageToken?: string;
}

§Properties

§

The scores in the leaderboard.

§
kind?: string
[src]

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

§
nextPageToken?: string
[src]

The pagination token for the next page of results.

§
numScores?: bigint
[src]

The total number of scores in the leaderboard.

§
playerScore?: LeaderboardEntry
[src]

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 scoreRankand formattedScoreRank values will not be present.

§
prevPageToken?: string
[src]

The pagination token for the previous page of results.