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

AchievementUpdateResponse

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

An updated achievement.

interface AchievementUpdateResponse {
achievementId?: string;
currentState?: "HIDDEN" | "REVEALED" | "UNLOCKED";
currentSteps?: number;
kind?: string;
newlyUnlocked?: boolean;
updateOccurred?: boolean;
}

§Properties

§
achievementId?: string
[src]

The achievement this update is was applied to.

§
currentState?: "HIDDEN" | "REVEALED" | "UNLOCKED"
[src]

The current state of the achievement.

§
currentSteps?: number
[src]

The current steps recorded for this achievement if it is incremental.

§
kind?: string
[src]

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

§
newlyUnlocked?: boolean
[src]

Whether this achievement was newly unlocked (that is, whether the unlock request for the achievement was the first for the player).

§
updateOccurred?: boolean
[src]

Whether the requested updates actually affected the achievement.