QtCraft API C++ classes QML types Handbook

QcMsg::FinishMining Struct

struct QcMsg::FinishMining

Client -> server: the client's timer says the block is broken; the server checks the time itself. More...

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

Public Variables

QcBlockPos pos
quint32 sequence

Detailed Description

sequence numbers the client's prediction of the break (decision E-853), 0 when it predicted nothing; the server answers it with a BlockAck.

Member Variable Documentation

QcBlockPos FinishMining::pos

The block broken.

quint32 FinishMining::sequence

The number of the client's prediction (see the struct).