QcMsg::CreativeItem Struct
struct QcMsg::CreativeItemClient -> server, creative mode only (decision E-283): puts stack into the inventory slot slot (0..35, or an armour slot 100..103 for armour made for it), onto the same item up to its stack size, else in place of what is there; an empty stack clears the slot (the bin). More...
| Header: | #include <common/protocol/QcPlayerMessages.h> |
Public Variables
Static Public Members
| const qint32 | addSlot |
Detailed Description
addSlot adds the stack to the inventory like picking it up. The server refuses it in other modes. A stack with contents fails to decode; of the other data the server keeps only a filled map's id (decision E-823).
Member Variable Documentation
const qint32 CreativeItem::addSlot
The slot number that adds the stack like picking it up.
qint32 CreativeItem::slot
The target slot, or addSlot.
QcItemStack CreativeItem::stack
The stack to put there.