QcPlayerData Struct
What is saved of a player (decision E-093): his body, view, inventory, armour, health, food, game mode, experience, seeds, effects, advancements and air. More...
| Header: | #include <server/storage/QcPlayerStorage.h> |
Public Variables
| QcAdvancementProgress | advancements |
| int | air |
| QList<QcStatusEffect> | effects |
| quint32 | enchantSeed |
| QcEquipment | equipment |
| double | exhaustion |
| QcExperience | experience |
| int | food |
| QcGameMode | gameMode |
| double | health |
| QcInventory | inventory |
| QcEquipment | keptEquipment |
| QcInventory | keptInventory |
| QcEntityMotion | motion |
| float | pitch |
| quint32 | runeSeed |
| float | yaw |
Detailed Description
Member Variable Documentation
QcAdvancementProgress QcPlayerData::advancements
The met criteria of the adventure guide (decision E-923), unknown advancements included; empty in files before version 9.
int QcPlayerData::air
The air under water in game ticks (decision E-955); a full breath in files before version 10.
QList<QcStatusEffect> QcPlayerData::effects
Status effects (decision E-450).
quint32 QcPlayerData::enchantSeed
The enchantment seed (decision E-864); 0 in files of version 6.
QcEquipment QcPlayerData::equipment
Armour slots (decision E-234).
QcExperience QcPlayerData::experience
Level and points (decision E-398).
double QcPlayerData::health
Health points.
QcInventory QcPlayerData::inventory
The hotbar and the main inventory.
QcEntityMotion QcPlayerData::motion
Where his feet are and how he moves.
quint32 QcPlayerData::runeSeed
The rune seed of the enchanting screen (decision E-884); 0 in files of versions 6 and 7.