QcQuickMove::Situation Struct
struct QcQuickMove::SituationWhat is open and what the moved item is. More...
| Header: | #include <common/gameplay/QcQuickMove.h> |
Public Variables
| int | containerSlots |
| int | freeArmourSlot |
| bool | fuel |
| bool | hotbarOnly |
| bool | machineOpen |
| bool | smeltable |
Detailed Description
Member Variable Documentation
int Situation::containerSlots
Slots of the open chest (0: none).
int Situation::freeArmourSlot
The moved item is armour whose slot is empty: the slot number (MoveInventoryItem::equipmentSlot onwards), else -1. With no block open, armour from the inventory goes there first.
bool Situation::hotbarOnly
A backpack opened from the hand (decision E-833): its slots go into the hotbar only.