liblcf
|
#include <rpg_saveactor.h>
Public Member Functions | |
SaveActor () | |
void | Setup (int actor_id) |
void | Fixup () |
Public Attributes | |
int | ID |
std::string | name |
std::string | title |
std::string | sprite_name |
int | sprite_id |
int | sprite_flags |
std::string | face_name |
int | face_id |
int | level |
int | exp |
int | hp_mod |
int | sp_mod |
int | attack_mod |
int | defense_mod |
int | spirit_mod |
int | agility_mod |
int | skills_size |
std::vector< int16_t > | skills |
std::vector< int16_t > | equipped |
int | current_hp |
int | current_sp |
std::vector< uint32_t > | battle_commands |
int | status_size |
std::vector< int16_t > | status |
bool | changed_class |
int | class_id |
int | row |
bool | two_weapon |
bool | lock_equipment |
bool | auto_battle |
bool | mighty_guard |
int | unknown_60 |
Definition at line 21 of file rpg_saveactor.h.
RPG::SaveActor::SaveActor | ( | ) |
Constructor.
Definition at line 15 of file rpg_saveactor.cpp.
References agility_mod, attack_mod, auto_battle, changed_class, class_id, current_hp, current_sp, defense_mod, exp, face_id, face_name, hp_mod, ID, level, lock_equipment, mighty_guard, name, row, skills_size, sp_mod, spirit_mod, sprite_flags, sprite_id, sprite_name, status_size, title, two_weapon, and unknown_60.
void RPG::SaveActor::Fixup | ( | ) |
Definition at line 15 of file rpg_fixup.cpp.
References Data::actors, RPG::Actor::character_index, RPG::Actor::character_name, RPG::Actor::class_id, class_id, face_id, RPG::Actor::face_index, face_name, RPG::Actor::face_name, ID, name, RPG::Actor::name, sprite_flags, sprite_id, sprite_name, status, title, RPG::Actor::title, and RPG::Actor::transparent.
void RPG::SaveActor::Setup | ( | int | actor_id | ) |
Definition at line 18 of file rpg_setup.cpp.
References RPG::Equipment::accessory_id, Data::actors, agility_mod, RPG::Equipment::armor_id, attack_mod, RPG::Actor::auto_battle, auto_battle, battle_commands, RPG::Actor::battle_commands, changed_class, RPG::Actor::character_index, RPG::Actor::character_name, RPG::Actor::class_id, class_id, current_hp, current_sp, defense_mod, equipped, exp, face_id, RPG::Actor::face_index, face_name, RPG::Actor::face_name, RPG::Actor::fix_equipment, RPG::Equipment::helmet_id, hp_mod, ID, RPG::Actor::ID, RPG::Actor::initial_equipment, RPG::Actor::initial_level, level, lock_equipment, mighty_guard, name, RPG::Actor::name, row, RPG::Equipment::shield_id, skills, skills_size, sp_mod, spirit_mod, sprite_flags, sprite_id, sprite_name, status, status_size, RPG::Actor::super_guard, title, RPG::Actor::title, RPG::Actor::transparent, RPG::Actor::two_swords_style, two_weapon, unknown_60, and RPG::Equipment::weapon_id.
int RPG::SaveActor::agility_mod |
Definition at line 42 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
int RPG::SaveActor::attack_mod |
Definition at line 39 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
bool RPG::SaveActor::auto_battle |
Definition at line 56 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
std::vector<uint32_t> RPG::SaveActor::battle_commands |
Definition at line 48 of file rpg_saveactor.h.
Referenced by Setup().
bool RPG::SaveActor::changed_class |
Definition at line 51 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
int RPG::SaveActor::class_id |
Definition at line 52 of file rpg_saveactor.h.
Referenced by Fixup(), SaveActor(), and Setup().
int RPG::SaveActor::current_hp |
Definition at line 46 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
int RPG::SaveActor::current_sp |
Definition at line 47 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
int RPG::SaveActor::defense_mod |
Definition at line 40 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
std::vector<int16_t> RPG::SaveActor::equipped |
Definition at line 45 of file rpg_saveactor.h.
Referenced by Setup().
int RPG::SaveActor::exp |
Definition at line 36 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
int RPG::SaveActor::face_id |
Definition at line 34 of file rpg_saveactor.h.
Referenced by Fixup(), SaveActor(), and Setup().
std::string RPG::SaveActor::face_name |
Definition at line 33 of file rpg_saveactor.h.
Referenced by Fixup(), SaveActor(), and Setup().
int RPG::SaveActor::hp_mod |
Definition at line 37 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
int RPG::SaveActor::ID |
Definition at line 27 of file rpg_saveactor.h.
Referenced by Fixup(), SaveActor(), and Setup().
int RPG::SaveActor::level |
Definition at line 35 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
bool RPG::SaveActor::lock_equipment |
Definition at line 55 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
bool RPG::SaveActor::mighty_guard |
Definition at line 57 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
std::string RPG::SaveActor::name |
Definition at line 28 of file rpg_saveactor.h.
Referenced by Fixup(), SaveActor(), and Setup().
int RPG::SaveActor::row |
Definition at line 53 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
std::vector<int16_t> RPG::SaveActor::skills |
Definition at line 44 of file rpg_saveactor.h.
Referenced by Setup().
int RPG::SaveActor::skills_size |
Definition at line 43 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
int RPG::SaveActor::sp_mod |
Definition at line 38 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
int RPG::SaveActor::spirit_mod |
Definition at line 41 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
int RPG::SaveActor::sprite_flags |
Definition at line 32 of file rpg_saveactor.h.
Referenced by Fixup(), SaveActor(), and Setup().
int RPG::SaveActor::sprite_id |
Definition at line 31 of file rpg_saveactor.h.
Referenced by Fixup(), SaveActor(), and Setup().
std::string RPG::SaveActor::sprite_name |
Definition at line 30 of file rpg_saveactor.h.
Referenced by Fixup(), SaveActor(), and Setup().
std::vector<int16_t> RPG::SaveActor::status |
Definition at line 50 of file rpg_saveactor.h.
int RPG::SaveActor::status_size |
Definition at line 49 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
std::string RPG::SaveActor::title |
Definition at line 29 of file rpg_saveactor.h.
Referenced by Fixup(), SaveActor(), and Setup().
bool RPG::SaveActor::two_weapon |
Definition at line 54 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().
int RPG::SaveActor::unknown_60 |
Definition at line 58 of file rpg_saveactor.h.
Referenced by SaveActor(), and Setup().