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

ScoresSubmitOptions

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

Additional options for Games#scoresSubmit.

interface ScoresSubmitOptions {
language?: string;
score: bigint;
scoreTag?: string;
}

§Properties

§
language?: string
[src]

The preferred language to use for strings returned by this method.

§
score: bigint
[src]

Required. The score you're submitting. The submitted score is ignored if it is worse than a previously submitted score, where worse depends on the leaderboard sort order. The meaning of the score value depends on the leaderboard format type. For fixed-point, the score represents the raw value. For time, the score represents elapsed time in milliseconds. For currency, the score represents a value in micro units.

§
scoreTag?: string
[src]

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