SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias BotInventoryClickRequest

    BotInventoryClickRequest: Message<"soulfire.v1.BotInventoryClickRequest"> & {
        botId: string;
        clickType: ClickType;
        hotbarSlot: number;
        instanceId: string;
        slot: number;
    }

    Request to perform a click action on an inventory slot. Simulates the various mouse click interactions available in Minecraft inventory UIs.

    Type Declaration

    • botId: string

      The profile UUID of the bot performing the inventory action.

      from field: string bot_id = 2;

    • clickType: ClickType

      The type of click to perform. Different click types have different effects on items.

      from field: soulfire.v1.ClickType click_type = 4;

    • hotbarSlot: number

      For SWAP_HOTBAR click type: which hotbar slot to swap with. Range: 0-8 (corresponding to hotbar slots 1-9). Ignored for other click types.

      from field: int32 hotbar_slot = 5;

    • instanceId: string

      The UUID of the SoulFire instance containing the bot.

      from field: string instance_id = 1;

    • slot: number

      The slot index to click. Valid range depends on the currently open container. Special value: -999 for clicking outside the inventory (dropping items).

      from field: int32 slot = 3;

    from message soulfire.v1.BotInventoryClickRequest