five-on-it / apps/client/src/ui/inventory-view / stripViews
Function: stripViews()
stripViews(
stacks,items,count,ammoOf):SlotView[]
Defined in: apps/client/src/ui/inventory-view.ts:63
The strip's slots of the server's message (its first count; the ammunition pouch beyond them never shows), each weapon with its rounds: ammoOf says which item a weapon item spends (by the item's index), nothing for an item that spends none of its own.
Parameters
stacks
object[]
items
readonly ItemName[]
count
number
ammoOf
(item) => string | undefined
Returns
SlotView[]