Skip to content

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

Function: containerView() ​

containerView(message, items): ContainerView | undefined

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

The container's panel of an inventory message, or undefined with none open.

Parameters ​

message ​

bank? ​

number = ...

cash? ​

number = ...

container ​

{ eid: number; kind: "crate" | "locker" | "shop" | "trunk" | "pockets"; prices?: number[]; slots: object[]; } | null = ...

slots ​

object[] = ...

stored? ​

object[] = ...

type ​

"inventory" = ...

items ​

readonly ItemName[]

Returns ​

ContainerView | undefined