liblcf
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RPG::Item Class Reference

#include <rpg_item.h>

+ Collaboration diagram for RPG::Item:

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< ItemAnimationanimation_data
 
bool use_skill
 
std::vector< bool > class_set
 
int ranged_trajectory
 
int ranged_target
 

Detailed Description

Definition at line 21 of file rpg_item.h.

Member Enumeration Documentation

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.

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.

Constructor & Destructor Documentation

Member Data Documentation

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().


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