liblcf
RPG::Actor Class Reference

#include <rpg_actor.h>

+ Collaboration diagram for RPG::Actor:

Public Member Functions

void Setup ()
 

Public Attributes

int ID = 0
 
std::string name
 
std::string title
 
std::string character_name
 
int32_t character_index = 0
 
bool transparent = false
 
int32_t initial_level = 1
 
int32_t final_level = -1
 
bool critical_hit = true
 
int32_t critical_hit_chance = 30
 
std::string face_name
 
int32_t face_index = 0
 
bool two_weapon = false
 
bool lock_equipment = false
 
bool auto_battle = false
 
bool super_guard = false
 
Parameters parameters
 
int32_t exp_base = -1
 
int32_t exp_inflation = -1
 
int32_t exp_correction = 0
 
Equipment initial_equipment
 
int32_t unarmed_animation = 1
 
int32_t class_id = 0
 
int32_t battle_x = 220
 
int32_t battle_y = 120
 
int32_t battler_animation = 1
 
std::vector< Learningskills
 
bool rename_skill = false
 
std::string skill_name
 
std::vector< uint8_t > state_ranks
 
std::vector< uint8_t > attribute_ranks
 
std::vector< int32_t > battle_commands
 

Detailed Description

Definition at line 27 of file rpg_actor.h.

Member Function Documentation

◆ Setup()

void RPG::Actor::Setup ( )

Definition at line 153 of file rpg_setup.cpp.

References Data::system.

Member Data Documentation

◆ attribute_ranks

static TypedField< RPG::Actor, std::vector< uint8_t > > static_attribute_ranks & RPG::Actor::attribute_ranks

Definition at line 60 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ auto_battle

static TypedField< RPG::Actor, bool > static_auto_battle & RPG::Actor::auto_battle = false

Definition at line 44 of file rpg_actor.h.

Referenced by RPG::operator==(), and RPG::SaveActor::Setup().

◆ battle_commands

static TypedField< RPG::Actor, std::vector< int32_t > > static_battle_commands & RPG::Actor::battle_commands

Definition at line 61 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ battle_x

static TypedField< RPG::Actor, int32_t > static_battle_x & RPG::Actor::battle_x = 220

Definition at line 53 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ battle_y

static TypedField< RPG::Actor, int32_t > static_battle_y & RPG::Actor::battle_y = 120

Definition at line 54 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ battler_animation

static TypedField< RPG::Actor, int32_t > static_battler_animation & RPG::Actor::battler_animation = 1

Definition at line 55 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ character_index

static TypedField< RPG::Actor, int32_t > static_character_index & RPG::Actor::character_index = 0

◆ character_name

static TypedField< RPG::Actor, std::string > static_character_name & RPG::Actor::character_name

◆ class_id

static TypedField< RPG::Actor, int32_t > static_class_id & RPG::Actor::class_id = 0

Definition at line 52 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ critical_hit

static TypedField< RPG::Actor, bool > static_critical_hit & RPG::Actor::critical_hit = true

Definition at line 38 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ critical_hit_chance

static TypedField< RPG::Actor, int32_t > static_critical_hit_chance & RPG::Actor::critical_hit_chance = 30

Definition at line 39 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ exp_base

static TypedField< RPG::Actor, int32_t > static_exp_base & RPG::Actor::exp_base = -1

Definition at line 47 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ exp_correction

static TypedField< RPG::Actor, int32_t > static_exp_correction & RPG::Actor::exp_correction = 0

Definition at line 49 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ exp_inflation

static TypedField< RPG::Actor, int32_t > static_exp_inflation & RPG::Actor::exp_inflation = -1

Definition at line 48 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ face_index

static TypedField< RPG::Actor, int32_t > static_face_index & RPG::Actor::face_index = 0

◆ face_name

static TypedField< RPG::Actor, std::string > static_face_name & RPG::Actor::face_name

◆ final_level

static TypedField< RPG::Actor, int32_t > static_final_level & RPG::Actor::final_level = -1

Definition at line 37 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ ID

int RPG::Actor::ID = 0

Definition at line 30 of file rpg_actor.h.

Referenced by RPG::SaveActor::Setup().

◆ initial_equipment

static TypedField< RPG::Actor, RPG::Equipment > static_initial_equipment & RPG::Actor::initial_equipment

Definition at line 50 of file rpg_actor.h.

Referenced by RPG::operator==(), and RPG::SaveActor::Setup().

◆ initial_level

static TypedField< RPG::Actor, int32_t > static_initial_level & RPG::Actor::initial_level = 1

Definition at line 36 of file rpg_actor.h.

Referenced by RPG::operator==(), and RPG::SaveActor::Setup().

◆ lock_equipment

static TypedField< RPG::Actor, bool > static_lock_equipment & RPG::Actor::lock_equipment = false

Definition at line 43 of file rpg_actor.h.

Referenced by RPG::operator==(), and RPG::SaveActor::Setup().

◆ name

static TypedField< RPG::Actor, std::string > static_name & RPG::Actor::name

◆ parameters

static TypedField< RPG::Actor, RPG::Parameters > static_parameters & RPG::Actor::parameters

Definition at line 46 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ rename_skill

static TypedField< RPG::Actor, bool > static_rename_skill & RPG::Actor::rename_skill = false

Definition at line 57 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ skill_name

static TypedField< RPG::Actor, std::string > static_skill_name & RPG::Actor::skill_name

Definition at line 58 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ skills

static TypedField< RPG::Actor, std::vector< RPG::Learning > > static_skills & RPG::Actor::skills

Definition at line 56 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ state_ranks

static TypedField< RPG::Actor, std::vector< uint8_t > > static_state_ranks & RPG::Actor::state_ranks

Definition at line 59 of file rpg_actor.h.

Referenced by RPG::operator==().

◆ super_guard

static TypedField< RPG::Actor, bool > static_super_guard & RPG::Actor::super_guard = false

Definition at line 45 of file rpg_actor.h.

Referenced by RPG::operator==(), and RPG::SaveActor::Setup().

◆ title

static TypedField< RPG::Actor, std::string > static_title & RPG::Actor::title

◆ transparent

static TypedField< RPG::Actor, bool > static_transparent & RPG::Actor::transparent = false

◆ two_weapon

static TypedField< RPG::Actor, bool > static_two_weapon & RPG::Actor::two_weapon = false

Definition at line 42 of file rpg_actor.h.

Referenced by RPG::operator==(), and RPG::SaveActor::Setup().

◆ unarmed_animation

static TypedField< RPG::Actor, int32_t > static_unarmed_animation & RPG::Actor::unarmed_animation = 1

Definition at line 51 of file rpg_actor.h.

Referenced by RPG::operator==().


The documentation for this class was generated from the following files: