QtCraft API C++ classes QML types Handbook

QcMsg::UseEntity Struct

struct QcMsg::UseEntity

Client -> server: use the held item on a creature (catch a firefly with an empty bottle) or on an armour stand (put on or take off armour or the held item; the server picks the body part from the player's view). More...

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

Public Variables

quint32 id

Detailed Description

Member Variable Documentation

quint32 UseEntity::id

The entity's id.