Skip to content

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

Function: slotViews() ​

slotViews(stacks, items): SlotView[]

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

Slots of the server's message as views: each item's id and name from the room's items.

Parameters ​

stacks ​

object[]

items ​

readonly ItemName[]

Returns ​

SlotView[]