Skip to content

ShopUndo beta ​

Interface of @v12-engine/client

ts
export interface ShopUndo

A purchase the player may still undo at the shop (ShopSettings.undo)

Members ​

id ​

ts
id: number;

The purchase's id, what the undoBuy command names it by

item ​

ts
item: string;

The item bought, by id

name ​

ts
name: string;

The item's name as the player reads it

seconds ​

ts
seconds: number;

Whole seconds left to undo it