liblcf
|
#include <rpg_item.h>
Public Types | |
enum | Type { Type_normal = 0, Type_weapon = 1, Type_shield = 2, Type_armor = 3, Type_helmet = 4, Type_accessory = 5, Type_medicine = 6, Type_book = 7, Type_material = 8, Type_special = 9, Type_switch = 10 } |
enum | Trajectory { Trajectory_straight = 0, Trajectory_return = 1 } |
enum | Target { Target_single = 0, Target_center = 1, Target_simultaneous = 2, Target_sequential = 3 } |
Public Attributes | |
int | ID = 0 |
std::string | name |
std::string | description |
int32_t | type = 0 |
int32_t | price = 0 |
int32_t | uses = 1 |
int32_t | atk_points1 = 0 |
int32_t | def_points1 = 0 |
int32_t | spi_points1 = 0 |
int32_t | agi_points1 = 0 |
bool | two_handed = false |
int32_t | sp_cost = 0 |
int32_t | hit = 90 |
int32_t | critical_hit = 0 |
int32_t | animation_id = 1 |
bool | preemptive = false |
bool | dual_attack = false |
bool | attack_all = false |
bool | ignore_evasion = false |
bool | prevent_critical = false |
bool | raise_evasion = false |
bool | half_sp_cost = false |
bool | no_terrain_damage = false |
bool | cursed = false |
bool | entire_party = false |
int32_t | recover_hp_rate = 0 |
int32_t | recover_hp = 0 |
int32_t | recover_sp_rate = 0 |
int32_t | recover_sp = 0 |
bool | occasion_field1 = false |
bool | ko_only = false |
int32_t | max_hp_points = 0 |
int32_t | max_sp_points = 0 |
int32_t | atk_points2 = 0 |
int32_t | def_points2 = 0 |
int32_t | spi_points2 = 0 |
int32_t | agi_points2 = 0 |
int32_t | using_message = 0 |
int32_t | skill_id = 1 |
int32_t | switch_id = 1 |
bool | occasion_field2 = true |
bool | occasion_battle = false |
std::vector< bool > | actor_set |
std::vector< bool > | state_set |
std::vector< bool > | attribute_set |
int32_t | state_chance = 0 |
bool | reverse_state_effect = false |
int32_t | weapon_animation = -1 |
std::vector< ItemAnimation > | animation_data |
bool | use_skill = false |
std::vector< bool > | class_set |
int32_t | ranged_trajectory = 0 |
int32_t | ranged_target = 0 |
Static Public Attributes | |
static constexpr auto | kTypeTags |
static constexpr auto | kTrajectoryTags |
static constexpr auto | kTargetTags |
Definition at line 26 of file rpg_item.h.
enum RPG::Item::Target |
Enumerator | |
---|---|
Target_single | |
Target_center | |
Target_simultaneous | |
Target_sequential |
Definition at line 62 of file rpg_item.h.
Enumerator | |
---|---|
Trajectory_straight | |
Trajectory_return |
Definition at line 54 of file rpg_item.h.
enum RPG::Item::Type |
Enumerator | |
---|---|
Type_normal | |
Type_weapon | |
Type_shield | |
Type_armor | |
Type_helmet | |
Type_accessory | |
Type_medicine | |
Type_book | |
Type_material | |
Type_special | |
Type_switch |
Definition at line 28 of file rpg_item.h.
static TypedField< RPG::Item, std::vector< bool > > static_actor_set & RPG::Item::actor_set |
Definition at line 117 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_agi_points1 & RPG::Item::agi_points1 = 0 |
Definition at line 84 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_agi_points2 & RPG::Item::agi_points2 = 0 |
Definition at line 111 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, std::vector< RPG::ItemAnimation > > static_animation_data & RPG::Item::animation_data |
Definition at line 123 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_animation_id & RPG::Item::animation_id = 1 |
Definition at line 89 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_atk_points1 & RPG::Item::atk_points1 = 0 |
Definition at line 81 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_atk_points2 & RPG::Item::atk_points2 = 0 |
Definition at line 108 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_attack_all & RPG::Item::attack_all = false |
Definition at line 92 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, std::vector< bool > > static_attribute_set & RPG::Item::attribute_set |
Definition at line 119 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, std::vector< bool > > static_class_set & RPG::Item::class_set |
Definition at line 125 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_critical_hit & RPG::Item::critical_hit = 0 |
Definition at line 88 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_cursed & RPG::Item::cursed = false |
Definition at line 98 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_def_points1 & RPG::Item::def_points1 = 0 |
Definition at line 82 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_def_points2 & RPG::Item::def_points2 = 0 |
Definition at line 109 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, std::string > static_description & RPG::Item::description |
Definition at line 77 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_dual_attack & RPG::Item::dual_attack = false |
Definition at line 91 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_entire_party & RPG::Item::entire_party = false |
Definition at line 99 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_half_sp_cost & RPG::Item::half_sp_cost = false |
Definition at line 96 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_hit & RPG::Item::hit = 90 |
Definition at line 87 of file rpg_item.h.
Referenced by RPG::operator==().
int RPG::Item::ID = 0 |
Definition at line 75 of file rpg_item.h.
static TypedField< RPG::Item, bool > static_ignore_evasion & RPG::Item::ignore_evasion = false |
Definition at line 93 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_ko_only & RPG::Item::ko_only = false |
Definition at line 105 of file rpg_item.h.
Referenced by RPG::operator==().
|
static |
Definition at line 68 of file rpg_item.h.
|
static |
Definition at line 58 of file rpg_item.h.
|
static |
Definition at line 41 of file rpg_item.h.
static TypedField< RPG::Item, int32_t > static_max_hp_points & RPG::Item::max_hp_points = 0 |
Definition at line 106 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_max_sp_points & RPG::Item::max_sp_points = 0 |
Definition at line 107 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, std::string > static_name & RPG::Item::name |
Definition at line 76 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_no_terrain_damage & RPG::Item::no_terrain_damage = false |
Definition at line 97 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_occasion_battle & RPG::Item::occasion_battle = false |
Definition at line 116 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_occasion_field1 & RPG::Item::occasion_field1 = false |
Definition at line 104 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_occasion_field2 & RPG::Item::occasion_field2 = true |
Definition at line 115 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_preemptive & RPG::Item::preemptive = false |
Definition at line 90 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_prevent_critical & RPG::Item::prevent_critical = false |
Definition at line 94 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_price & RPG::Item::price = 0 |
Definition at line 79 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_raise_evasion & RPG::Item::raise_evasion = false |
Definition at line 95 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_ranged_target & RPG::Item::ranged_target = 0 |
Definition at line 127 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_ranged_trajectory & RPG::Item::ranged_trajectory = 0 |
Definition at line 126 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_recover_hp & RPG::Item::recover_hp = 0 |
Definition at line 101 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_recover_hp_rate & RPG::Item::recover_hp_rate = 0 |
Definition at line 100 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_recover_sp & RPG::Item::recover_sp = 0 |
Definition at line 103 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_recover_sp_rate & RPG::Item::recover_sp_rate = 0 |
Definition at line 102 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_reverse_state_effect & RPG::Item::reverse_state_effect = false |
Definition at line 121 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_skill_id & RPG::Item::skill_id = 1 |
Definition at line 113 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_sp_cost & RPG::Item::sp_cost = 0 |
Definition at line 86 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_spi_points1 & RPG::Item::spi_points1 = 0 |
Definition at line 83 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_spi_points2 & RPG::Item::spi_points2 = 0 |
Definition at line 110 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_state_chance & RPG::Item::state_chance = 0 |
Definition at line 120 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, std::vector< bool > > static_state_set & RPG::Item::state_set |
Definition at line 118 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_switch_id & RPG::Item::switch_id = 1 |
Definition at line 114 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_two_handed & RPG::Item::two_handed = false |
Definition at line 85 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_type & RPG::Item::type = 0 |
Definition at line 78 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, bool > static_use_skill & RPG::Item::use_skill = false |
Definition at line 124 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_uses & RPG::Item::uses = 1 |
Definition at line 80 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_using_message & RPG::Item::using_message = 0 |
Definition at line 112 of file rpg_item.h.
Referenced by RPG::operator==().
static TypedField< RPG::Item, int32_t > static_weapon_animation & RPG::Item::weapon_animation = -1 |
Definition at line 122 of file rpg_item.h.
Referenced by RPG::operator==().