helapordo 1.4.12
|
#include <ser_core.h>
Data Fields | |
int32_t | class |
Defines which kind of treasureClass the instance relates to. | |
SerChest | chest |
The treasure SerChest, initialised if class == TREASURE_CHEST. | |
SerConsumable | consumable |
The treasure SerConsumable, initialised if class == TREASURE_CONSUMABLE. | |
SerArtifact | artifact |
The treasure SerArtifact, initialised if class == TREASURE_ARTIFACT. | |
Serialized Treasure.
Packed struct. Can be turned into a Treasure with deser_Treasure(). Can be obtained from a Treasure with ser_Treasure().
SerArtifact SerTreasure::artifact |
The treasure SerArtifact, initialised if class == TREASURE_ARTIFACT.
int32_t SerTreasure::class |
Defines which kind of treasureClass the instance relates to.
SerConsumable SerTreasure::consumable |
The treasure SerConsumable, initialised if class == TREASURE_CONSUMABLE.