SoulFire TypeScript SDK 2.10.3
    Preparing search index...
    ContainerSnapshot: Message<"soulfire.v1.ContainerSnapshot"> & {
        carried?: ItemStackSnapshot;
        containerId: number;
        containerType: string;
        layout?: ContainerLayout;
        menuId: bigint;
        pathBuildingBlockCount: number;
        revision: bigint;
        selectedHotbarSlot: number;
        slots: InventorySlotSnapshot[];
        stateId: number;
        title?: TextComponent;
    }

    Type Declaration

    • Optionalcarried?: ItemStackSnapshot

      from field: optional soulfire.v1.ItemStackSnapshot carried = 8;

    • containerId: number

      from field: int32 container_id = 1;

    • containerType: string

      from field: string container_type = 4;

    • Optionallayout?: ContainerLayout

      from field: soulfire.v1.ContainerLayout layout = 6;

    • menuId: bigint

      Identifies this menu while SoulFire runs, unlike container_id, which restarts when the player respawns or reconnects. Never 0.

      from field: uint64 menu_id = 11;

    • pathBuildingBlockCount: number

      Number of disposable full-block items available to the pathfinder for bridging, pillaring, and other route construction.

      from field: int32 path_building_block_count = 10;

    • revision: bigint

      from field: uint64 revision = 3;

    • selectedHotbarSlot: number

      from field: int32 selected_hotbar_slot = 9;

    • slots: InventorySlotSnapshot[]

      from field: repeated soulfire.v1.InventorySlotSnapshot slots = 7;

    • stateId: number

      from field: int32 state_id = 2;

    • Optionaltitle?: TextComponent

      from field: soulfire.v1.TextComponent title = 5;

    from message soulfire.v1.ContainerSnapshot