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

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

#include <game_core.h>

Collaboration diagram for Chest:

Data Fields

char desc [80]
 Description string.
 
chestClass class
 Defines which kind of chesteClass the instance relates to.
 
int consumablesCount
 Defines how many consumables the chest contains.
 
Consumableconsumables [CHEST_CONSUMABLES_MAX]
 The contained consumables.
 
int equipsCount
 Defines how many equips the chest contains.
 
Equipequips [CHEST_EQUIPS_MAX]
 The contained equips.
 
char sprite [8][20]
 Char matrix to hold the encoded sprite.
 

Detailed Description

Represents the entity initialised from a chestClass.

See also
chestClass
Chest
Consumable
Equip

Field Documentation

◆ class

chestClass Chest::class

Defines which kind of chesteClass the instance relates to.

◆ consumables

Consumable* Chest::consumables[CHEST_CONSUMABLES_MAX]

The contained consumables.

◆ consumablesCount

int Chest::consumablesCount

Defines how many consumables the chest contains.

◆ desc

char Chest::desc[80]

Description string.

◆ equips

Equip* Chest::equips[CHEST_EQUIPS_MAX]

The contained equips.

◆ equipsCount

int Chest::equipsCount

Defines how many equips the chest contains.

◆ sprite

char Chest::sprite[8][20]

Char matrix to hold the encoded sprite.


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