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
§
items?: LeaderboardEntry[]
[src]The scores in the leaderboard.
§
kind?: string
[src]Uniquely identifies the type of this resource. Value is always the fixed
string games#leaderboardScores
.
§
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 scoreRank
and formattedScoreRank
values will not be
present.