QtCraft API C++ classes QML types Handbook

QcMsg::BlockAck Struct

struct QcMsg::BlockAck

Server -> client: the player's action numbered sequence (FinishMining, UseItem) is handled, together with every earlier one (decision E-853). More...

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

Public Variables

quint32 sequence

Detailed Description

It follows the world sync of the next tick, so the blocks and the entities (drops) the server sent before it are its answer: the client drops its predictions up to the number and shows the server's blocks there.

Member Variable Documentation

quint32 BlockAck::sequence

The number of the latest action handled.