Skip to content

five-on-it / apps/client/src/ui/inventory-view / ContainerView

Interface: ContainerView ​

Defined in: apps/client/src/ui/inventory-view.ts:38

The open container's panel: what it is and what it holds.

Properties ​

kind ​

kind: "crate" | "locker" | "shop" | "trunk" | "pockets"

Defined in: apps/client/src/ui/inventory-view.ts:40

A crate, a locker, a car's trunk, a body's pockets, or a shop.


prices? ​

optional prices?: number[]

Defined in: apps/client/src/ui/inventory-view.ts:44

A shop's prices ($), line by line.


slots ​

slots: SlotView[]

Defined in: apps/client/src/ui/inventory-view.ts:42

Its slots, in order (a shop's: one line per item it sells).