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

PlayerLeaderboardScore

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

A player leaderboard score object.

interface PlayerLeaderboardScore {
friendsRank?: LeaderboardScoreRank;
kind?: string;
leaderboard_id?: string;
publicRank?: LeaderboardScoreRank;
scoreString?: string;
scoreTag?: string;
scoreValue?: bigint;
socialRank?: LeaderboardScoreRank;
timeSpan?: "ALL_TIME" | "WEEKLY" | "DAILY";
writeTimestamp?: bigint;
}

§Properties

§

The rank of the score in the friends collection for this leaderboard.

§
kind?: string
[src]

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

§
leaderboard_id?: string
[src]

The ID of the leaderboard this score is in.

§

The public rank of the score in this leaderboard. This object will not be present if the user is not sharing their scores publicly.

§
scoreString?: string
[src]

The formatted value of this score.

§
scoreTag?: string
[src]

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

§
scoreValue?: bigint
[src]

The numerical value of this score.

§

The social rank of the score in this leaderboard.

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

The time span of this score.

§
writeTimestamp?: bigint
[src]

The timestamp at which this score was recorded, in milliseconds since the epoch in UTC.