V-Gears 0
Free Final Fantasy VII engine.
SaveMap::Character Struct Reference

Character record. More...

#include <SaveMap.h>

Collaboration diagram for SaveMap::Character:

Public Attributes

u8 identifier
 Character identifier 1 byte. More...
 
u8 level
 Character level. More...
 
u8 str
 Character strength stat. More...
 
u8 vit
 Character vitality stat. More...
 
u8 mag
 Character magic stat. More...
 
u8 spr
 Character spirit stat. More...
 
u8 dex
 Character dexterity stat. More...
 
u8 lck
 Character luck stat. More...
 
u8 str_bonus
 Character strength bonus from sources. More...
 
u8 vit_bonus
 Character vitality bonus from sources. More...
 
u8 mag_bonus
 Character magic bonus from sources. More...
 
u8 spr_bonus
 Character spirit bonus from sources. More...
 
u8 dex_bonus
 Character dexterity bonus from sources. More...
 
u8 lck_bonus
 Character luck bonus from sources. More...
 
u8 limit_level
 Current limit level (1-4). More...
 
u8 limit_bar
 Limit bar fill status (0x00: empty, 0xFF, full) More...
 
u8 name_raw [12]
 Character name. More...
 
u8 weapon
 Equipped weapon ID. More...
 
u8 armor
 Equipped armor ID. More...
 
u8 accessory
 Equipped accessory ID. More...
 
u8 status_raw
 Fury/sadness flags. More...
 
u8 row_raw
 Character row. More...
 
u8 level_progress
 Progress of the level bar. More...
 
u16 learned_limits_raw
 Learned limits. More...
 
u16 kills
 Number of monster kills. More...
 
u16 limit_uses [3]
 Number of times the limit 1-1 has been used. More...
 
u16 hp
 Current HP. More...
 
u16 base_hp
 Base HP. More...
 
u16 mp
 Current MP. More...
 
u16 base_mp
 Base MP. More...
 
u32 unknown
 Unknown data. More...
 
u16 max_hp
 Max HP. More...
 
u16 max_mp
 Max MP. More...
 
u32 exp
 Total gained experience. More...
 
Materia weapon_materia [8]
 Materia equipped in the weapon. More...
 
Materia armor_materia [8]
 Materia equipped in the armor. More...
 
u32 exp_to_next
 Remaining experience to reach next level. More...
 
std::string name
 Character name. More...
 
bool fury
 Indicates if the character is in fury state. More...
 
bool sadness
 Indicates if the character is in saddness state. More...
 
bool back_row
 Indicates if the character is in the back row. More...
 
bool limits_learned [4][2]
 Indicates which limits the character have learned. More...
 

Detailed Description

Character record.

132 bytes.

Member Data Documentation

◆ accessory

u8 SaveMap::Character::accessory

Equipped accessory ID.

0xFF if none. 1 byte.

◆ armor

u8 SaveMap::Character::armor

Equipped armor ID.

1 byte.

◆ armor_materia

Materia SaveMap::Character::armor_materia[8]

Materia equipped in the armor.

8 x 4 bytes.

◆ back_row

bool SaveMap::Character::back_row

Indicates if the character is in the back row.

◆ base_hp

u16 SaveMap::Character::base_hp

Base HP.

2 bytes.

The max HP before materia alterations.

◆ base_mp

u16 SaveMap::Character::base_mp

Base MP.

2 bytes.

The max MP before materia alterations.

◆ dex

u8 SaveMap::Character::dex

Character dexterity stat.

1 byte.

◆ dex_bonus

u8 SaveMap::Character::dex_bonus

Character dexterity bonus from sources.

1 byte.

◆ exp

u32 SaveMap::Character::exp

Total gained experience.

4 bytes.

◆ exp_to_next

u32 SaveMap::Character::exp_to_next

Remaining experience to reach next level.

4 bytes.

◆ fury

bool SaveMap::Character::fury

Indicates if the character is in fury state.

Derived from {

See also
status_raw}.

◆ hp

u16 SaveMap::Character::hp

Current HP.

2 bytes.

◆ identifier

u8 SaveMap::Character::identifier

Character identifier 1 byte.

It's not the standard character ID. Used only for Cait Sith and Vincent, to distinguish them from Young Cloud and Sephiroth. V-Gears mostly ignores this.

◆ kills

u16 SaveMap::Character::kills

Number of monster kills.

2 bytes.

◆ lck

u8 SaveMap::Character::lck

Character luck stat.

1 byte.

◆ lck_bonus

u8 SaveMap::Character::lck_bonus

Character luck bonus from sources.

1 byte.

◆ learned_limits_raw

u16 SaveMap::Character::learned_limits_raw

Learned limits.

2 bytes.

XORed values: 0x0001: 1-1 Learned. 0x0002: 1-2 Learned. 0x0008: 2-1 Learned. 0x0010: 2-2 Learned. 0x0040: 3-1 Learned. 0x0080: 3-2 Learned. 0x0200: 4-1 Learned.

◆ level

u8 SaveMap::Character::level

Character level.

1 byte.

◆ level_progress

u8 SaveMap::Character::level_progress

Progress of the level bar.

1 byte.

Cosmetic only. V-Gears ignores it.

◆ limit_bar

u8 SaveMap::Character::limit_bar

Limit bar fill status (0x00: empty, 0xFF, full)

◆ limit_level

u8 SaveMap::Character::limit_level

Current limit level (1-4).

1 byte.

◆ limit_uses

u16 SaveMap::Character::limit_uses[3]

Number of times the limit 1-1 has been used.

3 x 2 bytes.

0: Uses of limit 1-1. 1: Uses of limit 2-1. 2: Uses of limit 3-1.

◆ limits_learned

bool SaveMap::Character::limits_learned[4][2]

Indicates which limits the character have learned.

◆ mag

u8 SaveMap::Character::mag

Character magic stat.

1 byte.

◆ mag_bonus

u8 SaveMap::Character::mag_bonus

Character magic bonus from sources.

1 byte.

◆ max_hp

u16 SaveMap::Character::max_hp

Max HP.

2 bytes.

The max HP after materia alterations.

◆ max_mp

u16 SaveMap::Character::max_mp

Max MP.

2 bytes.

The max MP after materia alterations.

◆ mp

u16 SaveMap::Character::mp

Current MP.

2 bytes.

◆ name

std::string SaveMap::Character::name

Character name.

Derived from {

See also
name_raw}.

◆ name_raw

u8 SaveMap::Character::name_raw[12]

Character name.

FF Text format, ended in 0xFF. 12 bytes.

◆ row_raw

u8 SaveMap::Character::row_raw

Character row.

1 byte.

0xFF: Front row (default). 0xFE: Back row.

◆ sadness

bool SaveMap::Character::sadness

Indicates if the character is in saddness state.

Derived from {

See also
status_raw}.

◆ spr

u8 SaveMap::Character::spr

Character spirit stat.

1 byte.

◆ spr_bonus

u8 SaveMap::Character::spr_bonus

Character spirit bonus from sources.

1 byte.

◆ status_raw

u8 SaveMap::Character::status_raw

Fury/sadness flags.

1 byte.

0x10: Sadness. 0x20: Fury. Other: None.

◆ str

u8 SaveMap::Character::str

Character strength stat.

1 byte.

◆ str_bonus

u8 SaveMap::Character::str_bonus

Character strength bonus from sources.

1 byte.

◆ unknown

u32 SaveMap::Character::unknown

Unknown data.

4 bytes.

◆ vit

u8 SaveMap::Character::vit

Character vitality stat.

1 byte.

◆ vit_bonus

u8 SaveMap::Character::vit_bonus

Character vitality bonus from sources.

1 byte.

◆ weapon

u8 SaveMap::Character::weapon

Equipped weapon ID.

1 byte.

◆ weapon_materia

Materia SaveMap::Character::weapon_materia[8]

Materia equipped in the weapon.

8 x 4 bytes.


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