PlayerAchievement
import type { PlayerAchievement } from "https://googleapis.deno.dev/v1/games:v1.ts";
An achievement object.
interface PlayerAchievement {
achievementState?: "HIDDEN" | "REVEALED" | "UNLOCKED";
currentSteps?: number;
experiencePoints?: bigint;
formattedCurrentStepsString?: string;
id?: string;
kind?: string;
lastUpdatedTimestamp?: bigint;
}§Properties
§
experiencePoints?: bigint
[src]Experience points earned for the achievement. This field is absent for achievements that have not yet been unlocked and 0 for achievements that have been unlocked by testers but that are unpublished.
§
formattedCurrentStepsString?: string
[src]The current steps for an incremental achievement as a string.