AchievementDefinition
import type { AchievementDefinition } from "https://googleapis.deno.dev/v1/games:v1.ts";
An achievement definition object.
interface AchievementDefinition {
achievementType?: "STANDARD" | "INCREMENTAL";
description?: string;
experiencePoints?: bigint;
formattedTotalSteps?: string;
id?: string;
initialState?: "HIDDEN" | "REVEALED" | "UNLOCKED";
isRevealedIconUrlDefault?: boolean;
isUnlockedIconUrlDefault?: boolean;
kind?: string;
name?: string;
revealedIconUrl?: string;
totalSteps?: number;
unlockedIconUrl?: string;
}§Properties
§
experiencePoints?: bigint
[src]Experience points which will be earned when unlocking this achievement.
§
isRevealedIconUrlDefault?: boolean
[src]Indicates whether the revealed icon image being returned is a default image, or is provided by the game.
§
isUnlockedIconUrlDefault?: boolean
[src]Indicates whether the unlocked icon image being returned is a default image, or is game-provided.