liblcf
Loading...
Searching...
No Matches
ldb_enemy.cpp
Go to the documentation of this file.
1/* !!!! GENERATED FILE - DO NOT EDIT !!!!
2 * --------------------------------------
3 *
4 * This file is part of liblcf. Copyright (c) liblcf authors.
5 * https://github.com/EasyRPG/liblcf - https://easyrpg.org
6 *
7 * liblcf is Free/Libre Open Source Software, released under the MIT License.
8 * For the full copyright and license information, please view the COPYING
9 * file that was distributed with this source code.
10 */
11
12// Headers
13#include "lcf/ldb/reader.h"
14#include "lcf/ldb/chunks.h"
15#include "reader_struct_impl.h"
16
17namespace lcf {
18
19// Read Enemy.
20
21template <>
22char const* const Struct<rpg::Enemy>::name = "Enemy";
24 &rpg::Enemy::name,
25 LDB_Reader::ChunkEnemy::name,
26 "name",
27 0,
28 0
29);
31 &rpg::Enemy::battler_name,
32 LDB_Reader::ChunkEnemy::battler_name,
33 "battler_name",
34 0,
35 0
36);
38 &rpg::Enemy::battler_hue,
39 LDB_Reader::ChunkEnemy::battler_hue,
40 "battler_hue",
41 0,
42 0
43);
45 &rpg::Enemy::max_hp,
46 LDB_Reader::ChunkEnemy::max_hp,
47 "max_hp",
48 0,
49 0
50);
52 &rpg::Enemy::max_sp,
53 LDB_Reader::ChunkEnemy::max_sp,
54 "max_sp",
55 0,
56 0
57);
59 &rpg::Enemy::attack,
60 LDB_Reader::ChunkEnemy::attack,
61 "attack",
62 0,
63 0
64);
66 &rpg::Enemy::defense,
67 LDB_Reader::ChunkEnemy::defense,
68 "defense",
69 0,
70 0
71);
73 &rpg::Enemy::spirit,
74 LDB_Reader::ChunkEnemy::spirit,
75 "spirit",
76 0,
77 0
78);
80 &rpg::Enemy::agility,
81 LDB_Reader::ChunkEnemy::agility,
82 "agility",
83 0,
84 0
85);
87 &rpg::Enemy::transparent,
88 LDB_Reader::ChunkEnemy::transparent,
89 "transparent",
90 0,
91 0
92);
94 &rpg::Enemy::exp,
95 LDB_Reader::ChunkEnemy::exp,
96 "exp",
97 0,
98 0
99);
101 &rpg::Enemy::gold,
102 LDB_Reader::ChunkEnemy::gold,
103 "gold",
104 0,
105 0
106);
108 &rpg::Enemy::drop_id,
109 LDB_Reader::ChunkEnemy::drop_id,
110 "drop_id",
111 0,
112 0
113);
115 &rpg::Enemy::drop_prob,
116 LDB_Reader::ChunkEnemy::drop_prob,
117 "drop_prob",
118 0,
119 0
120);
122 &rpg::Enemy::critical_hit,
123 LDB_Reader::ChunkEnemy::critical_hit,
124 "critical_hit",
125 0,
126 0
127);
129 &rpg::Enemy::critical_hit_chance,
130 LDB_Reader::ChunkEnemy::critical_hit_chance,
131 "critical_hit_chance",
132 0,
133 0
134);
136 &rpg::Enemy::miss,
137 LDB_Reader::ChunkEnemy::miss,
138 "miss",
139 0,
140 0
141);
143 &rpg::Enemy::levitate,
144 LDB_Reader::ChunkEnemy::levitate,
145 "levitate",
146 0,
147 0
148);
150 &rpg::Enemy::state_ranks,
151 LDB_Reader::ChunkEnemy::state_ranks_size,
152 0,
153 0
154);
156 &rpg::Enemy::state_ranks,
157 LDB_Reader::ChunkEnemy::state_ranks,
158 "state_ranks",
159 1,
160 0
161);
163 &rpg::Enemy::attribute_ranks,
164 LDB_Reader::ChunkEnemy::attribute_ranks_size,
165 0,
166 0
167);
169 &rpg::Enemy::attribute_ranks,
170 LDB_Reader::ChunkEnemy::attribute_ranks,
171 "attribute_ranks",
172 1,
173 0
174);
176 &rpg::Enemy::actions,
177 LDB_Reader::ChunkEnemy::actions,
178 "actions",
179 1,
180 0
181);
183 &rpg::Enemy::maniac_unarmed_animation,
184 LDB_Reader::ChunkEnemy::maniac_unarmed_animation,
185 "maniac_unarmed_animation",
186 0,
187 0
188);
190 &rpg::Enemy::easyrpg_enemyai,
191 LDB_Reader::ChunkEnemy::easyrpg_enemyai,
192 "easyrpg_enemyai",
193 0,
194 0
195);
197 &rpg::Enemy::easyrpg_prevent_critical,
198 LDB_Reader::ChunkEnemy::easyrpg_prevent_critical,
199 "easyrpg_prevent_critical",
200 0,
201 0
202);
204 &rpg::Enemy::easyrpg_raise_evasion,
205 LDB_Reader::ChunkEnemy::easyrpg_raise_evasion,
206 "easyrpg_raise_evasion",
207 0,
208 0
209);
211 &rpg::Enemy::easyrpg_immune_to_attribute_downshifts,
212 LDB_Reader::ChunkEnemy::easyrpg_immune_to_attribute_downshifts,
213 "easyrpg_immune_to_attribute_downshifts",
214 0,
215 0
216);
218 &rpg::Enemy::easyrpg_ignore_evasion,
219 LDB_Reader::ChunkEnemy::easyrpg_ignore_evasion,
220 "easyrpg_ignore_evasion",
221 0,
222 0
223);
225 &rpg::Enemy::easyrpg_hit,
226 LDB_Reader::ChunkEnemy::easyrpg_hit,
227 "easyrpg_hit",
228 0,
229 0
230);
232 &rpg::Enemy::easyrpg_state_set,
233 LDB_Reader::ChunkEnemy::easyrpg_state_set_size,
234 0,
235 0
236);
238 &rpg::Enemy::easyrpg_state_set,
239 LDB_Reader::ChunkEnemy::easyrpg_state_set,
240 "easyrpg_state_set",
241 0,
242 0
243);
245 &rpg::Enemy::easyrpg_state_chance,
246 LDB_Reader::ChunkEnemy::easyrpg_state_chance,
247 "easyrpg_state_chance",
248 0,
249 0
250);
252 &rpg::Enemy::easyrpg_attribute_set,
253 LDB_Reader::ChunkEnemy::easyrpg_attribute_set_size,
254 0,
255 0
256);
258 &rpg::Enemy::easyrpg_attribute_set,
259 LDB_Reader::ChunkEnemy::easyrpg_attribute_set,
260 "easyrpg_attribute_set",
261 0,
262 0
263);
265 &rpg::Enemy::easyrpg_super_guard,
266 LDB_Reader::ChunkEnemy::easyrpg_super_guard,
267 "easyrpg_super_guard",
268 0,
269 0
270);
272 &rpg::Enemy::easyrpg_attack_all,
273 LDB_Reader::ChunkEnemy::easyrpg_attack_all,
274 "easyrpg_attack_all",
275 0,
276 0
277);
278
279
280template <>
321
322template class Struct<rpg::Enemy>;
323
324} //namespace lcf