Strata - v1.4.10
    Preparing search index...

    Interface InventoryRef

    Ref interface for imperative Inventory control.

    interface InventoryRef {
        selectSlot: (index: number) => void;
        setSlots: (slots: InventorySlot[]) => void;
    }
    Index

    Properties

    Properties

    selectSlot: (index: number) => void

    Programmatically select a slot by its index.

    setSlots: (slots: InventorySlot[]) => void

    Replace the entire set of inventory data.