helapordo 1.4.12
Loading...
Searching...
No Matches
Treasure Struct Reference

Represents the entity initialised from a treasureClass. More...

#include <game_core.h>

Collaboration diagram for Treasure:

Data Fields

char desc [80]
 Description string.
 
treasureClass class
 Defines which kind of treasureClass the instance relates to.
 
Chestchest
 The treasure Chest, initialised if class == TREASURE_CHEST.
 
Consumableconsumable
 The treasure Consumable, initialised if class == TREASURE_CONSUMABLE.
 
Artifactartifact
 The treasure Artifact, initialised if class == TREASURE_ARTIFACT.
 

Detailed Description

Represents the entity initialised from a treasureClass.

See also
treasureClass
Chest
Consumable
Equip
Artifact

Field Documentation

◆ artifact

Artifact* Treasure::artifact

The treasure Artifact, initialised if class == TREASURE_ARTIFACT.

◆ chest

Chest* Treasure::chest

The treasure Chest, initialised if class == TREASURE_CHEST.

◆ class

treasureClass Treasure::class

Defines which kind of treasureClass the instance relates to.

◆ consumable

Consumable* Treasure::consumable

The treasure Consumable, initialised if class == TREASURE_CONSUMABLE.

◆ desc

char Treasure::desc[80]

Description string.


The documentation for this struct was generated from the following file: