QtCraft API C++ classes QML types Handbook

QcMsg::QuickMoveItem Struct

struct QcMsg::QuickMoveItem

Client -> server: shift-click on a slot. More...

Header: #include <common/protocol/QcPlayerMessages.h>

Public Variables

qint32 slot

Static Public Members

const qint32 craftingResultSlot

Detailed Description

The server moves the whole stack to where it belongs (QcQuickMove): between hotbar and storage, from the grid or an open block into the inventory, from the inventory into the open chest or the machine's input or fuel, armour from the inventory into its empty armour slot and from there back. On the crafting result it crafts as often as the grid and the inventory allow.

Member Variable Documentation

const qint32 QuickMoveItem::craftingResultSlot

The slot number of the crafting result.

qint32 QuickMoveItem::slot

Slot numbers as in MoveInventoryItem.