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

Serialized Room. More...

#include <ser_core.h>

Collaboration diagram for SerRoom:

Data Fields

int8_t index
 The room's own number.
 
int32_t class
 Defines which kind of roomClass the instance relates to.
 
SerShop shop
 The SerShop, initialised for rooms of class SHOP.
 
SerRoadfork roadfork
 The SerRoadfork, initialised for rooms of class ROADFORK.
 
SerTreasure treasure
 The SerTreasure, initialised for rooms of class TREASURE.
 
SerBoss boss
 The SerBoss, initialised for rooms of class BOSS.
 
int8_t enemyTotal
 Total number of enemies initialised in enemies array.
 
SerEnemy enemies [ROOM_ENEMIES_MAX]
 Array for enemies.
 
SerFoeParty foes
 The SerFoeParty pointer, initialised for rooms of class ENEMIES.
 

Detailed Description

Serialized Room.

Packed struct. Can be turned into a Room with deser_Room(). Can be obtained from a Room with ser_Room().

See also
Room
deser_Room()
ser_Room()

Field Documentation

◆ boss

SerBoss SerRoom::boss

The SerBoss, initialised for rooms of class BOSS.

◆ class

int32_t SerRoom::class

Defines which kind of roomClass the instance relates to.

◆ enemies

SerEnemy SerRoom::enemies[ROOM_ENEMIES_MAX]

Array for enemies.

◆ enemyTotal

int8_t SerRoom::enemyTotal

Total number of enemies initialised in enemies array.

◆ foes

SerFoeParty SerRoom::foes

The SerFoeParty pointer, initialised for rooms of class ENEMIES.

◆ index

int8_t SerRoom::index

The room's own number.

◆ roadfork

SerRoadfork SerRoom::roadfork

The SerRoadfork, initialised for rooms of class ROADFORK.

◆ shop

SerShop SerRoom::shop

The SerShop, initialised for rooms of class SHOP.

◆ treasure

SerTreasure SerRoom::treasure

The SerTreasure, initialised for rooms of class TREASURE.


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