|
liblcf
|
#include <rpg_state.h>
Collaboration diagram for RPG::State:Public Types | |
| enum | Persistence { Persistence_ends = 0 , Persistence_persists = 1 } |
| enum | Restriction { Restriction_normal = 0 , Restriction_do_nothing = 1 , Restriction_attack_enemy = 2 , Restriction_attack_ally = 3 } |
| enum | AffectType { AffectType_half = 0 , AffectType_double = 1 , AffectType_nothing = 2 } |
| enum | ChangeType { ChangeType_lose = 0 , ChangeType_gain = 1 , ChangeType_nothing = 2 } |
Public Attributes | |
| int | ID = 0 |
| std::string | name |
| int32_t | type = 0 |
| int32_t | color = 6 |
| int32_t | priority = 50 |
| int32_t | restriction = 0 |
| int32_t | a_rate = 100 |
| int32_t | b_rate = 80 |
| int32_t | c_rate = 60 |
| int32_t | d_rate = 30 |
| int32_t | e_rate = 0 |
| int32_t | hold_turn = 0 |
| int32_t | auto_release_prob = 0 |
| int32_t | release_by_damage = 0 |
| int32_t | affect_type = 0 |
| bool | affect_attack = false |
| bool | affect_defense = false |
| bool | affect_spirit = false |
| bool | affect_agility = false |
| int32_t | reduce_hit_ratio = 100 |
| bool | avoid_attacks = false |
| bool | reflect_magic = false |
| bool | cursed = false |
| int32_t | battler_animation_id = 100 |
| bool | restrict_skill = false |
| int32_t | restrict_skill_level = 0 |
| bool | restrict_magic = false |
| int32_t | restrict_magic_level = 0 |
| int32_t | hp_change_type = 0 |
| int32_t | sp_change_type = 0 |
| std::string | message_actor |
| std::string | message_enemy |
| std::string | message_already |
| std::string | message_affected |
| std::string | message_recovery |
| int32_t | hp_change_max = 0 |
| int32_t | hp_change_val = 0 |
| int32_t | hp_change_map_steps = 0 |
| int32_t | hp_change_map_val = 0 |
| int32_t | sp_change_max = 0 |
| int32_t | sp_change_val = 0 |
| int32_t | sp_change_map_steps = 0 |
| int32_t | sp_change_map_val = 0 |
Static Public Attributes | |
| static constexpr int | kDeathID = 1 |
| static constexpr auto | kPersistenceTags |
| static constexpr auto | kRestrictionTags |
| static constexpr auto | kAffectTypeTags |
| static constexpr auto | kChangeTypeTags |
Definition at line 24 of file rpg_state.h.
| Enumerator | |
|---|---|
| AffectType_half | |
| AffectType_double | |
| AffectType_nothing | |
Definition at line 49 of file rpg_state.h.
| Enumerator | |
|---|---|
| ChangeType_lose | |
| ChangeType_gain | |
| ChangeType_nothing | |
Definition at line 59 of file rpg_state.h.
| Enumerator | |
|---|---|
| Persistence_ends | |
| Persistence_persists | |
Definition at line 29 of file rpg_state.h.
| Enumerator | |
|---|---|
| Restriction_normal | |
| Restriction_do_nothing | |
| Restriction_attack_enemy | |
| Restriction_attack_ally | |
Definition at line 37 of file rpg_state.h.
| static TypedField< RPG::State, int32_t > static_a_rate & RPG::State::a_rate = 100 |
Definition at line 76 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, bool > static_affect_agility & RPG::State::affect_agility = false |
Definition at line 88 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, bool > static_affect_attack & RPG::State::affect_attack = false |
Definition at line 85 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, bool > static_affect_defense & RPG::State::affect_defense = false |
Definition at line 86 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, bool > static_affect_spirit & RPG::State::affect_spirit = false |
Definition at line 87 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_affect_type & RPG::State::affect_type = 0 |
Definition at line 84 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_auto_release_prob & RPG::State::auto_release_prob = 0 |
Definition at line 82 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, bool > static_avoid_attacks & RPG::State::avoid_attacks = false |
Definition at line 90 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_b_rate & RPG::State::b_rate = 80 |
Definition at line 77 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_battler_animation_id & RPG::State::battler_animation_id = 100 |
Definition at line 93 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_c_rate & RPG::State::c_rate = 60 |
Definition at line 78 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_color & RPG::State::color = 6 |
Definition at line 73 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, bool > static_cursed & RPG::State::cursed = false |
Definition at line 92 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_d_rate & RPG::State::d_rate = 30 |
Definition at line 79 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_e_rate & RPG::State::e_rate = 0 |
Definition at line 80 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_hold_turn & RPG::State::hold_turn = 0 |
Definition at line 81 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_hp_change_map_steps & RPG::State::hp_change_map_steps = 0 |
Definition at line 107 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_hp_change_map_val & RPG::State::hp_change_map_val = 0 |
Definition at line 108 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_hp_change_max & RPG::State::hp_change_max = 0 |
Definition at line 105 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_hp_change_type & RPG::State::hp_change_type = 0 |
Definition at line 98 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_hp_change_val & RPG::State::hp_change_val = 0 |
Definition at line 106 of file rpg_state.h.
Referenced by RPG::operator==().
| int RPG::State::ID = 0 |
Definition at line 70 of file rpg_state.h.
|
staticconstexpr |
Definition at line 54 of file rpg_state.h.
|
staticconstexpr |
Definition at line 64 of file rpg_state.h.
|
staticconstexpr |
Definition at line 27 of file rpg_state.h.
|
staticconstexpr |
Definition at line 33 of file rpg_state.h.
|
staticconstexpr |
Definition at line 43 of file rpg_state.h.
| static TypedField< RPG::State, std::string > static_message_actor & RPG::State::message_actor |
Definition at line 100 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, std::string > static_message_affected & RPG::State::message_affected |
Definition at line 103 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, std::string > static_message_already & RPG::State::message_already |
Definition at line 102 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, std::string > static_message_enemy & RPG::State::message_enemy |
Definition at line 101 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, std::string > static_message_recovery & RPG::State::message_recovery |
Definition at line 104 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, std::string > static_name & RPG::State::name |
Definition at line 71 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_priority & RPG::State::priority = 50 |
Definition at line 74 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_reduce_hit_ratio & RPG::State::reduce_hit_ratio = 100 |
Definition at line 89 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, bool > static_reflect_magic & RPG::State::reflect_magic = false |
Definition at line 91 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_release_by_damage & RPG::State::release_by_damage = 0 |
Definition at line 83 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, bool > static_restrict_magic & RPG::State::restrict_magic = false |
Definition at line 96 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_restrict_magic_level & RPG::State::restrict_magic_level = 0 |
Definition at line 97 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, bool > static_restrict_skill & RPG::State::restrict_skill = false |
Definition at line 94 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_restrict_skill_level & RPG::State::restrict_skill_level = 0 |
Definition at line 95 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_restriction & RPG::State::restriction = 0 |
Definition at line 75 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_sp_change_map_steps & RPG::State::sp_change_map_steps = 0 |
Definition at line 111 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_sp_change_map_val & RPG::State::sp_change_map_val = 0 |
Definition at line 112 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_sp_change_max & RPG::State::sp_change_max = 0 |
Definition at line 109 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_sp_change_type & RPG::State::sp_change_type = 0 |
Definition at line 99 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_sp_change_val & RPG::State::sp_change_val = 0 |
Definition at line 110 of file rpg_state.h.
Referenced by RPG::operator==().
| static TypedField< RPG::State, int32_t > static_type & RPG::State::type = 0 |
Definition at line 72 of file rpg_state.h.
Referenced by RPG::operator==().