QcBlockMirror::Change Struct
struct QcBlockMirror::ChangeWhat a world message changed. More...
Public Variables
| QList<QcBlockMirror::Changed> | blocks |
| bool | contentReady |
| QString | error |
| std::optional<QcChunkPos> | loaded |
| QList<QcBlockMirror::Changed> | rolledBack |
| std::optional<QcChunkPos> | unloaded |
Detailed Description
Member Variable Documentation
QList<QcBlockMirror::Changed> Change::blocks
The blocks the server set.
bool Change::contentReady
Whether the message was the content (ContentSync): world() and content() are set now.
QString Change::error
Empty while the message was valid; else why the session closes the connection.
std::optional<QcChunkPos> Change::loaded
The chunk that arrived, if the message was a ChunkData.
QList<QcBlockMirror::Changed> Change::rolledBack
The cells an acknowledgement rolled back to the server's block.
std::optional<QcChunkPos> Change::unloaded
The chunk that left, if the message was a ChunkUnload.