SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias InventorySlotSnapshot

    InventorySlotSnapshot: Message<"soulfire.v1.InventorySlotSnapshot"> & {
        area: InventoryArea;
        item?: ItemStackSnapshot;
        mayPickup: boolean;
        mayPlace: boolean;
        slot: number;
    }

    Type Declaration

    • area: InventoryArea

      from field: soulfire.v1.InventoryArea area = 2;

    • Optionalitem?: ItemStackSnapshot

      from field: optional soulfire.v1.ItemStackSnapshot item = 3;

    • mayPickup: boolean

      from field: bool may_pickup = 5;

    • mayPlace: boolean

      from field: bool may_place = 4;

    • slot: number

      from field: int32 slot = 1;

    from message soulfire.v1.InventorySlotSnapshot