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 Member Functions | |
Item () | |
Public Attributes | |
int | ID |
std::string | name |
std::string | description |
int | type |
int | price |
int | uses |
int | atk_points1 |
int | def_points1 |
int | spi_points1 |
int | agi_points1 |
bool | two_handed |
int | sp_cost |
int | hit |
int | critical_hit |
int | animation_id |
bool | preemptive |
bool | dual_attack |
bool | attack_all |
bool | ignore_evasion |
bool | prevent_critical |
bool | raise_evasion |
bool | half_sp_cost |
bool | no_terrain_damage |
bool | cursed |
bool | entire_party |
int | recover_hp_rate |
int | recover_hp |
int | recover_sp_rate |
int | recover_sp |
bool | occasion_field1 |
bool | ko_only |
int | max_hp_points |
int | max_sp_points |
int | atk_points2 |
int | def_points2 |
int | spi_points2 |
int | agi_points2 |
int | using_message |
int | skill_id |
int | switch_id |
bool | occasion_field2 |
bool | occasion_battle |
std::vector< bool > | actor_set |
std::vector< bool > | state_set |
std::vector< bool > | attribute_set |
int | state_chance |
bool | state_effect |
int | weapon_animation |
std::vector< ItemAnimation > | animation_data |
bool | use_skill |
std::vector< bool > | class_set |
int | ranged_trajectory |
int | ranged_target |
Definition at line 21 of file rpg_item.h.
enum RPG::Item::Target |
Enumerator | |
---|---|
Target_single | |
Target_center | |
Target_simultaneous | |
Target_sequential |
Definition at line 40 of file rpg_item.h.
Enumerator | |
---|---|
Trajectory_straight | |
Trajectory_return |
Definition at line 36 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 23 of file rpg_item.h.
RPG::Item::Item | ( | ) |
Constructor.
Definition at line 15 of file rpg_item.cpp.
References agi_points1, agi_points2, animation_id, atk_points1, atk_points2, attack_all, critical_hit, cursed, def_points1, def_points2, description, dual_attack, entire_party, half_sp_cost, hit, ID, ignore_evasion, ko_only, max_hp_points, max_sp_points, name, no_terrain_damage, occasion_battle, occasion_field1, occasion_field2, preemptive, prevent_critical, price, raise_evasion, ranged_target, ranged_trajectory, recover_hp, recover_hp_rate, recover_sp, recover_sp_rate, skill_id, sp_cost, spi_points1, spi_points2, state_chance, state_effect, switch_id, two_handed, type, use_skill, uses, using_message, and weapon_animation.
std::vector<bool> RPG::Item::actor_set |
Definition at line 91 of file rpg_item.h.
int RPG::Item::agi_points1 |
Definition at line 58 of file rpg_item.h.
Referenced by Item().
int RPG::Item::agi_points2 |
Definition at line 85 of file rpg_item.h.
Referenced by Item().
std::vector<ItemAnimation> RPG::Item::animation_data |
Definition at line 97 of file rpg_item.h.
int RPG::Item::animation_id |
Definition at line 63 of file rpg_item.h.
Referenced by Item().
int RPG::Item::atk_points1 |
Definition at line 55 of file rpg_item.h.
Referenced by Item().
int RPG::Item::atk_points2 |
Definition at line 82 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::attack_all |
Definition at line 66 of file rpg_item.h.
Referenced by Item().
std::vector<bool> RPG::Item::attribute_set |
Definition at line 93 of file rpg_item.h.
std::vector<bool> RPG::Item::class_set |
Definition at line 99 of file rpg_item.h.
int RPG::Item::critical_hit |
Definition at line 62 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::cursed |
Definition at line 72 of file rpg_item.h.
Referenced by Item().
int RPG::Item::def_points1 |
Definition at line 56 of file rpg_item.h.
Referenced by Item().
int RPG::Item::def_points2 |
Definition at line 83 of file rpg_item.h.
Referenced by Item().
std::string RPG::Item::description |
Definition at line 51 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::dual_attack |
Definition at line 65 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::entire_party |
Definition at line 73 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::half_sp_cost |
Definition at line 70 of file rpg_item.h.
Referenced by Item().
int RPG::Item::hit |
Definition at line 61 of file rpg_item.h.
Referenced by Item().
int RPG::Item::ID |
Definition at line 49 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::ignore_evasion |
Definition at line 67 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::ko_only |
Definition at line 79 of file rpg_item.h.
Referenced by Item().
int RPG::Item::max_hp_points |
Definition at line 80 of file rpg_item.h.
Referenced by Item().
int RPG::Item::max_sp_points |
Definition at line 81 of file rpg_item.h.
Referenced by Item().
std::string RPG::Item::name |
Definition at line 50 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::no_terrain_damage |
Definition at line 71 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::occasion_battle |
Definition at line 90 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::occasion_field1 |
Definition at line 78 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::occasion_field2 |
Definition at line 89 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::preemptive |
Definition at line 64 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::prevent_critical |
Definition at line 68 of file rpg_item.h.
Referenced by Item().
int RPG::Item::price |
Definition at line 53 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::raise_evasion |
Definition at line 69 of file rpg_item.h.
Referenced by Item().
int RPG::Item::ranged_target |
Definition at line 101 of file rpg_item.h.
Referenced by Item().
int RPG::Item::ranged_trajectory |
Definition at line 100 of file rpg_item.h.
Referenced by Item().
int RPG::Item::recover_hp |
Definition at line 75 of file rpg_item.h.
Referenced by Item().
int RPG::Item::recover_hp_rate |
Definition at line 74 of file rpg_item.h.
Referenced by Item().
int RPG::Item::recover_sp |
Definition at line 77 of file rpg_item.h.
Referenced by Item().
int RPG::Item::recover_sp_rate |
Definition at line 76 of file rpg_item.h.
Referenced by Item().
int RPG::Item::skill_id |
Definition at line 87 of file rpg_item.h.
Referenced by Item().
int RPG::Item::sp_cost |
Definition at line 60 of file rpg_item.h.
Referenced by Item().
int RPG::Item::spi_points1 |
Definition at line 57 of file rpg_item.h.
Referenced by Item().
int RPG::Item::spi_points2 |
Definition at line 84 of file rpg_item.h.
Referenced by Item().
int RPG::Item::state_chance |
Definition at line 94 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::state_effect |
Definition at line 95 of file rpg_item.h.
Referenced by Item().
std::vector<bool> RPG::Item::state_set |
Definition at line 92 of file rpg_item.h.
int RPG::Item::switch_id |
Definition at line 88 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::two_handed |
Definition at line 59 of file rpg_item.h.
Referenced by Item().
int RPG::Item::type |
Definition at line 52 of file rpg_item.h.
Referenced by Item().
bool RPG::Item::use_skill |
Definition at line 98 of file rpg_item.h.
Referenced by Item().
int RPG::Item::uses |
Definition at line 54 of file rpg_item.h.
Referenced by Item().
int RPG::Item::using_message |
Definition at line 86 of file rpg_item.h.
Referenced by Item().
int RPG::Item::weapon_animation |
Definition at line 96 of file rpg_item.h.
Referenced by Item().