liblcf
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
rpg_item.h
Go to the documentation of this file.
1 /* !!!! GENERATED FILE - DO NOT EDIT !!!! */
2 
3 /*
4  * Copyright (c) 2014 liblcf authors
5  * This file is released under the MIT License
6  * http://opensource.org/licenses/MIT
7  */
8 
9 #ifndef LCF_RPG_ITEM_H
10 #define LCF_RPG_ITEM_H
11 
12 // Headers
13 #include <string>
14 #include <vector>
15 #include "rpg_itemanimation.h"
16 
20 namespace RPG {
21  class Item {
22  public:
23  enum Type {
31  Type_book = 7,
35  };
36  enum Trajectory {
39  };
40  enum Target {
45  };
46 
47  Item();
48 
49  int ID;
50  std::string name;
51  std::string description;
52  int type;
53  int price;
54  int uses;
59  bool two_handed;
60  int sp_cost;
61  int hit;
64  bool preemptive;
66  bool attack_all;
72  bool cursed;
79  bool ko_only;
87  int skill_id;
88  int switch_id;
91  std::vector<bool> actor_set;
92  std::vector<bool> state_set;
93  std::vector<bool> attribute_set;
97  std::vector<ItemAnimation> animation_data;
98  bool use_skill;
99  std::vector<bool> class_set;
102  };
103 }
104 
105 #endif
bool ko_only
Definition: rpg_item.h:79
bool dual_attack
Definition: rpg_item.h:65
int ID
Definition: rpg_item.h:49
bool cursed
Definition: rpg_item.h:72
bool two_handed
Definition: rpg_item.h:59
int hit
Definition: rpg_item.h:61
bool attack_all
Definition: rpg_item.h:66
int type
Definition: rpg_item.h:52
int price
Definition: rpg_item.h:53
bool occasion_battle
Definition: rpg_item.h:90
bool ignore_evasion
Definition: rpg_item.h:67
int recover_sp
Definition: rpg_item.h:77
bool entire_party
Definition: rpg_item.h:73
bool use_skill
Definition: rpg_item.h:98
bool occasion_field1
Definition: rpg_item.h:78
std::vector< bool > class_set
Definition: rpg_item.h:99
bool state_effect
Definition: rpg_item.h:95
int sp_cost
Definition: rpg_item.h:60
bool preemptive
Definition: rpg_item.h:64
std::string name
Definition: rpg_item.h:50
std::vector< bool > state_set
Definition: rpg_item.h:92
std::vector< bool > attribute_set
Definition: rpg_item.h:93
int agi_points1
Definition: rpg_item.h:58
int def_points1
Definition: rpg_item.h:56
std::vector< bool > actor_set
Definition: rpg_item.h:91
bool prevent_critical
Definition: rpg_item.h:68
int using_message
Definition: rpg_item.h:86
int max_sp_points
Definition: rpg_item.h:81
int recover_hp_rate
Definition: rpg_item.h:74
bool occasion_field2
Definition: rpg_item.h:89
bool half_sp_cost
Definition: rpg_item.h:70
int switch_id
Definition: rpg_item.h:88
int critical_hit
Definition: rpg_item.h:62
int weapon_animation
Definition: rpg_item.h:96
int agi_points2
Definition: rpg_item.h:85
std::string description
Definition: rpg_item.h:51
Definition: rpg_actor.h:23
int uses
Definition: rpg_item.h:54
int max_hp_points
Definition: rpg_item.h:80
int spi_points1
Definition: rpg_item.h:57
bool no_terrain_damage
Definition: rpg_item.h:71
int state_chance
Definition: rpg_item.h:94
int atk_points2
Definition: rpg_item.h:82
int spi_points2
Definition: rpg_item.h:84
int def_points2
Definition: rpg_item.h:83
int ranged_trajectory
Definition: rpg_item.h:100
bool raise_evasion
Definition: rpg_item.h:69
int recover_sp_rate
Definition: rpg_item.h:76
int animation_id
Definition: rpg_item.h:63
int atk_points1
Definition: rpg_item.h:55
int ranged_target
Definition: rpg_item.h:101
std::vector< ItemAnimation > animation_data
Definition: rpg_item.h:97
int skill_id
Definition: rpg_item.h:87
int recover_hp
Definition: rpg_item.h:75