Strata - v1.4.10
    Preparing search index...

    Interface InventorySlot

    Definition of a single item slot in an inventory.

    interface InventorySlot {
        highlighted?: boolean;
        id: string;
        itemIcon?: string;
        itemId?: string;
        itemName?: string;
        locked?: boolean;
        maxStack?: number;
        quantity?: number;
        rarity?: "common" | "uncommon" | "rare" | "epic" | "legendary";
    }
    Index

    Properties

    highlighted?: boolean

    Whether this slot is currently highlighted.

    id: string

    Unique identifier for this slot.

    itemIcon?: string

    Path to the item's icon image.

    itemId?: string

    ID of the item currently occupying this slot.

    itemName?: string

    Display name of the item.

    locked?: boolean

    Whether this slot is locked (unusable).

    maxStack?: number

    Maximum stack size for this item.

    quantity?: number

    Current quantity of the item.

    rarity?: "common" | "uncommon" | "rare" | "epic" | "legendary"

    Item rarity, used for background coloring and categorization.