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

Serialized Fighter. More...

#include <ser_core.h>

Collaboration diagram for SerFighter:

Data Fields

char name [SERFIGHTER_NAME_BUFSIZE]
 Name string.
 
int32_t class
 Defines which kind of fighterClass 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
 Current level value.
 
int8_t luck
 Current luck value.
 
int8_t totalxp
 Lifetime xp value.
 
int8_t currentlevelxp
 Xp gained for the current level.
 
int8_t totallevelxp
 Xp needed to level up.
 
int8_t totalhp
 Full hp value.
 
int32_t status
 Defines active fighterStatus.
 
int8_t energy
 Current energy value.
 
int8_t totalenergy
 Full energy value.
 
int8_t stamina
 Current stamina value.
 
int8_t totalstamina
 Full stamina value.
 
SerSpecialslot specials [SPECIALSMAX+1]
 Array with all the SerSpecialslot.
 
SerSkillslot skills [FIGHTER_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 perksCount
 Keeps track of how many perks are active.
 
SerPerk perks [PERKSMAX+1]
 Array with all the SerPerk.
 
SerEquipslot equipslots [EQUIPZONES+1]
 Array with all the SerEquipslot.
 
SerEquip equipsBag [EQUIPSBAGSIZE+1]
 Array with all the SerEquip found.
 
SerConsumable consumablesBag [CONSUMABLESMAX+1]
 Array with all the Consumables found.
 
SerArtifact artifactsBag [ARTIFACTSMAX+1]
 Array with all the Artifacts found.
 
int8_t equipsBagOccupiedSlots
 Keeps track of how many slots are occupied.
 
int8_t earliestBagSlot
 Keeps track of first available spot.
 
int8_t permboost_atk
 Current temp boost value for atk.
 
int8_t permboost_def
 Current temp boost value for def.
 
int8_t permboost_vel
 Current temp boost value for vel.
 
int8_t permboost_enr
 Current temp boost value for enr.
 
int8_t equipboost_atk
 Current equip boost value for atk.
 
int8_t equipboost_def
 Current equip boost value for def.
 
int8_t equipboost_vel
 Current equip boost value for vel.
 
int8_t equipboost_enr
 Current equip boost value for enr.
 
SerCountstats stats
 SerCountstats instance.
 
int32_t balance
 Amount of currency owned.
 
int8_t keys_balance
 Amount of keys owned.
 
int8_t floor_x
 Current x position in floor.
 
int8_t floor_y
 Current y position in floor.
 

Detailed Description

Serialized Fighter.

Packed struct. Can be turned into an Fighter with deser_Fighter(). Can be obtained from a Fighter with ser_Fighter().

See also
Fighter
deser_Fighter()
ser_Fighter()

Field Documentation

◆ artifactsBag

SerArtifact SerFighter::artifactsBag[ARTIFACTSMAX+1]

Array with all the Artifacts found.

◆ atk

int8_t SerFighter::atk

Current atk value.

◆ balance

int32_t SerFighter::balance

Amount of currency owned.

◆ class

int32_t SerFighter::class

Defines which kind of fighterClass the instance relates to.

◆ consumablesBag

SerConsumable SerFighter::consumablesBag[CONSUMABLESMAX+1]

Array with all the Consumables found.

◆ counters

SerTurncounter SerFighter::counters[COUNTERSMAX+1]

Array with all the SerTurncounter.

◆ currentlevelxp

int8_t SerFighter::currentlevelxp

Xp gained for the current level.

◆ def

int8_t SerFighter::def

Current def value.

◆ earliestBagSlot

int8_t SerFighter::earliestBagSlot

Keeps track of first available spot.

◆ energy

int8_t SerFighter::energy

Current energy value.

◆ equipboost_atk

int8_t SerFighter::equipboost_atk

Current equip boost value for atk.

◆ equipboost_def

int8_t SerFighter::equipboost_def

Current equip boost value for def.

◆ equipboost_enr

int8_t SerFighter::equipboost_enr

Current equip boost value for enr.

◆ equipboost_vel

int8_t SerFighter::equipboost_vel

Current equip boost value for vel.

◆ equipsBag

SerEquip SerFighter::equipsBag[EQUIPSBAGSIZE+1]

Array with all the SerEquip found.

◆ equipsBagOccupiedSlots

int8_t SerFighter::equipsBagOccupiedSlots

Keeps track of how many slots are occupied.

◆ equipslots

SerEquipslot SerFighter::equipslots[EQUIPZONES+1]

Array with all the SerEquipslot.

◆ floor_x

int8_t SerFighter::floor_x

Current x position in floor.

◆ floor_y

int8_t SerFighter::floor_y

Current y position in floor.

◆ hp

int8_t SerFighter::hp

Current hp value.

◆ keys_balance

int8_t SerFighter::keys_balance

Amount of keys owned.

◆ level

int8_t SerFighter::level

Current level value.

◆ luck

int8_t SerFighter::luck

Current luck value.

◆ name

char SerFighter::name[SERFIGHTER_NAME_BUFSIZE]

Name string.

◆ perks

SerPerk SerFighter::perks[PERKSMAX+1]

Array with all the SerPerk.

◆ perksCount

int8_t SerFighter::perksCount

Keeps track of how many perks are active.

◆ permboost_atk

int8_t SerFighter::permboost_atk

Current temp boost value for atk.

◆ permboost_def

int8_t SerFighter::permboost_def

Current temp boost value for def.

◆ permboost_enr

int8_t SerFighter::permboost_enr

Current temp boost value for enr.

◆ permboost_vel

int8_t SerFighter::permboost_vel

Current temp boost value for vel.

◆ skills

SerSkillslot SerFighter::skills[FIGHTER_SKILL_SLOTS+1]

Array with all the SerSkillslot.

◆ specials

SerSpecialslot SerFighter::specials[SPECIALSMAX+1]

Array with all the SerSpecialslot.

◆ stamina

int8_t SerFighter::stamina

Current stamina value.

◆ stats

SerCountstats SerFighter::stats

SerCountstats instance.

◆ status

int32_t SerFighter::status

Defines active fighterStatus.

◆ totalenergy

int8_t SerFighter::totalenergy

Full energy value.

◆ totalhp

int8_t SerFighter::totalhp

Full hp value.

◆ totallevelxp

int8_t SerFighter::totallevelxp

Xp needed to level up.

◆ totalstamina

int8_t SerFighter::totalstamina

Full stamina value.

◆ totalxp

int8_t SerFighter::totalxp

Lifetime xp value.

◆ turnboost_atk

int8_t SerFighter::turnboost_atk

Current temp boost value for atk.

◆ turnboost_def

int8_t SerFighter::turnboost_def

Current temp boost value for def.

◆ turnboost_enr

int8_t SerFighter::turnboost_enr

Current temp boost value for enr.

◆ turnboost_vel

int8_t SerFighter::turnboost_vel

Current temp boost value for vel.

◆ vel

int8_t SerFighter::vel

Current vel value.


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