QtCraft API C++ classes QML types Handbook

QcMsg::EntityMoves Struct

struct QcMsg::EntityMoves

Server -> client: positions of all visible entities that changed this tick, with the server's time of the tick (players' time, QcServerClock::playerTimeNs, in ms) for the client's interpolation buffer (decision E-271). More...

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

Public Variables

QList<QcMsg::EntityMove> moves
qint64 timeMs

Detailed Description

Member Variable Documentation

QList<QcMsg::EntityMove> EntityMoves::moves

The entities that changed.

qint64 EntityMoves::timeMs

The server's time of the tick in milliseconds (see the struct).