QtCraft API C++ classes QML types Handbook

QcMsg::EntityRemove Struct

struct QcMsg::EntityRemove

Server -> client: the entity id left the player's view or died. More...

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

Public Variables

bool died
quint32 id

Detailed Description

Member Variable Documentation

bool EntityRemove::died

The entity died (the client plays the death animation) rather than left the view.

quint32 EntityRemove::id

The entity's id.