ShopInfo beta
Interface of @v12-engine/client
ts
export interface ShopInfoThe window of a shop, open for a hero standing at it (the slot shop)
Members
allCallings
ts
allCallings: CallingTag[];The callings the game has, for the shop's filter by calling
callings
ts
callings: CallingTag[];The hero's callings, strongest first: what the shop recommends by
carried
ts
carried: (ItemSlot | null)[];What the hero carries, to give back
filters
ts
filters: ShopTag[];The tags that are the shop's filters (TagDef.filter), of those its items have, in the game's order
hero
ts
hero: number;The hero the window is open for, by entity id
heroName
ts
heroName: string;The hero's name as the player reads it
items
ts
items: ShopItem[];What the shop sells, in its order
money
ts
money: ResourceAmount;What the player has of the game's money, the resource shops deal in
shop
ts
shop: number;The shop, by entity id
undo
ts
undo?: ShopUndo;The latest purchase the player may still undo, with the seconds left; none when there is none