QcDamagedFile Struct
A damaged file of a world and what it held. More...
| Header: | #include <common/world/QcDamagedFile.h> |
Public Variables
Related Non-Members
| enum class | QcDamagedPart { None, Blocks, Entities, BlockEntities, Journal } |
Detailed Description
Member Variable Documentation
QString QcDamagedFile::file
Relative to the world directory.
QcDamagedPart QcDamagedFile::part
What the file held.
Related Non-Members
enum class QcDamagedPart
What a damaged per-region file of a world held (decision E-366): the server refuses the world and names the file; moved out of the world folder, the world opens without what it held.
Journal: the last save broke off and cannot be finished; without its journal and staged files the world opens as saved before (decision E-378).
| Constant | Value | Description |
|---|---|---|
QcDamagedFile::QcDamagedPart::None | 0 | No file is damaged. |
QcDamagedFile::QcDamagedPart::Blocks | 1 | The blocks of a region's chunks: without the file they are generated anew. |
QcDamagedFile::QcDamagedPart::Entities | 2 | The entities of a region (creatures, items, armour stands). |
QcDamagedFile::QcDamagedPart::BlockEntities | 3 | The block entities of a region (contents of chests and machines). |
QcDamagedFile::QcDamagedPart::Journal | 4 | The journal of a save that broke off. |