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

Serialized Boss. More...

#include <ser_core.h>

Collaboration diagram for SerBoss:

Data Fields

int32_t class
 Defines which kind of enemyClass the instance relates to.
 
int8_t hp
 Current hp value.
 
int8_t atk
 Current atk value.
 
int8_t def
 Current def value.
 
int8_t vel
 Current vel value.
 
int8_t level
 Level value.
 
int8_t luck
 Luck value.
 
int8_t xp
 Xp value given on death.
 
int8_t totalhp
 Full hp value.
 
int8_t energy
 Current energy value.
 
int8_t totalenergy
 Full energy value.
 
int8_t stamina
 Current stamina value.
 
int8_t totalstamina
 Full stamina value.
 
int32_t status
 Defines active fighterStatus.
 
int8_t beast
 Flag defining the instance as "beast" if set.
 
SerSkillslot skills [BOSS_SKILL_SLOTS+1]
 Array with all the SerSkillslot.
 
SerTurncounter counters [COUNTERSMAX+1]
 Array with all the SerTurncounter.
 
int8_t turnboost_atk
 Current temp boost value for atk.
 
int8_t turnboost_def
 Current temp boost value for def.
 
int8_t turnboost_vel
 Current temp boost value for vel.
 
int8_t turnboost_enr
 Current temp boost value for enr.
 
int8_t prize
 Amount of currency dropped on defeat.
 

Detailed Description

Serialized Boss.

Packed struct. Can be turned into an Boss with deser_Boss(). Can be obtained from a Boss with ser_Boss().

See also
Boss
deser_Boss()
ser_Boss()

Field Documentation

◆ atk

int8_t SerBoss::atk

Current atk value.

◆ beast

int8_t SerBoss::beast

Flag defining the instance as "beast" if set.

◆ class

int32_t SerBoss::class

Defines which kind of enemyClass the instance relates to.

◆ counters

SerTurncounter SerBoss::counters[COUNTERSMAX+1]

Array with all the SerTurncounter.

◆ def

int8_t SerBoss::def

Current def value.

◆ energy

int8_t SerBoss::energy

Current energy value.

◆ hp

int8_t SerBoss::hp

Current hp value.

◆ level

int8_t SerBoss::level

Level value.

◆ luck

int8_t SerBoss::luck

Luck value.

◆ prize

int8_t SerBoss::prize

Amount of currency dropped on defeat.

◆ skills

SerSkillslot SerBoss::skills[BOSS_SKILL_SLOTS+1]

Array with all the SerSkillslot.

◆ stamina

int8_t SerBoss::stamina

Current stamina value.

◆ status

int32_t SerBoss::status

Defines active fighterStatus.

◆ totalenergy

int8_t SerBoss::totalenergy

Full energy value.

◆ totalhp

int8_t SerBoss::totalhp

Full hp value.

◆ totalstamina

int8_t SerBoss::totalstamina

Full stamina value.

◆ turnboost_atk

int8_t SerBoss::turnboost_atk

Current temp boost value for atk.

◆ turnboost_def

int8_t SerBoss::turnboost_def

Current temp boost value for def.

◆ turnboost_enr

int8_t SerBoss::turnboost_enr

Current temp boost value for enr.

◆ turnboost_vel

int8_t SerBoss::turnboost_vel

Current temp boost value for vel.

◆ vel

int8_t SerBoss::vel

Current vel value.

◆ xp

int8_t SerBoss::xp

Xp value given on death.


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