liblcf
Loading...
Searching...
No Matches
ldb_item.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 Item.
20
21template <>
22char const* const Struct<rpg::Item>::name = "Item";
24 &rpg::Item::name,
25 LDB_Reader::ChunkItem::name,
26 "name",
27 0,
28 0
29);
31 &rpg::Item::description,
32 LDB_Reader::ChunkItem::description,
33 "description",
34 0,
35 0
36);
38 &rpg::Item::type,
39 LDB_Reader::ChunkItem::type,
40 "type",
41 1,
42 0
43);
45 &rpg::Item::price,
46 LDB_Reader::ChunkItem::price,
47 "price",
48 0,
49 0
50);
52 &rpg::Item::uses,
53 LDB_Reader::ChunkItem::uses,
54 "uses",
55 0,
56 0
57);
59 &rpg::Item::atk_points1,
60 LDB_Reader::ChunkItem::atk_points1,
61 "atk_points1",
62 0,
63 0
64);
66 &rpg::Item::def_points1,
67 LDB_Reader::ChunkItem::def_points1,
68 "def_points1",
69 0,
70 0
71);
73 &rpg::Item::spi_points1,
74 LDB_Reader::ChunkItem::spi_points1,
75 "spi_points1",
76 0,
77 0
78);
80 &rpg::Item::agi_points1,
81 LDB_Reader::ChunkItem::agi_points1,
82 "agi_points1",
83 0,
84 0
85);
87 &rpg::Item::two_handed,
88 LDB_Reader::ChunkItem::two_handed,
89 "two_handed",
90 1,
91 0
92);
94 &rpg::Item::sp_cost,
95 LDB_Reader::ChunkItem::sp_cost,
96 "sp_cost",
97 0,
98 0
99);
101 &rpg::Item::hit,
102 LDB_Reader::ChunkItem::hit,
103 "hit",
104 0,
105 0
106);
108 &rpg::Item::critical_hit,
109 LDB_Reader::ChunkItem::critical_hit,
110 "critical_hit",
111 0,
112 0
113);
115 &rpg::Item::animation_id,
116 LDB_Reader::ChunkItem::animation_id,
117 "animation_id",
118 0,
119 0
120);
122 &rpg::Item::preemptive,
123 LDB_Reader::ChunkItem::preemptive,
124 "preemptive",
125 0,
126 0
127);
129 &rpg::Item::dual_attack,
130 LDB_Reader::ChunkItem::dual_attack,
131 "dual_attack",
132 0,
133 0
134);
136 &rpg::Item::attack_all,
137 LDB_Reader::ChunkItem::attack_all,
138 "attack_all",
139 0,
140 0
141);
143 &rpg::Item::ignore_evasion,
144 LDB_Reader::ChunkItem::ignore_evasion,
145 "ignore_evasion",
146 0,
147 0
148);
150 &rpg::Item::prevent_critical,
151 LDB_Reader::ChunkItem::prevent_critical,
152 "prevent_critical",
153 0,
154 0
155);
157 &rpg::Item::raise_evasion,
158 LDB_Reader::ChunkItem::raise_evasion,
159 "raise_evasion",
160 0,
161 0
162);
164 &rpg::Item::half_sp_cost,
165 LDB_Reader::ChunkItem::half_sp_cost,
166 "half_sp_cost",
167 0,
168 0
169);
171 &rpg::Item::no_terrain_damage,
172 LDB_Reader::ChunkItem::no_terrain_damage,
173 "no_terrain_damage",
174 0,
175 0
176);
178 &rpg::Item::cursed,
179 LDB_Reader::ChunkItem::cursed,
180 "cursed",
181 0,
182 1
183);
185 &rpg::Item::entire_party,
186 LDB_Reader::ChunkItem::entire_party,
187 "entire_party",
188 1,
189 0
190);
192 &rpg::Item::recover_hp_rate,
193 LDB_Reader::ChunkItem::recover_hp_rate,
194 "recover_hp_rate",
195 0,
196 0
197);
199 &rpg::Item::recover_hp,
200 LDB_Reader::ChunkItem::recover_hp,
201 "recover_hp",
202 0,
203 0
204);
206 &rpg::Item::recover_sp_rate,
207 LDB_Reader::ChunkItem::recover_sp_rate,
208 "recover_sp_rate",
209 0,
210 0
211);
213 &rpg::Item::recover_sp,
214 LDB_Reader::ChunkItem::recover_sp,
215 "recover_sp",
216 0,
217 0
218);
220 &rpg::Item::occasion_field1,
221 LDB_Reader::ChunkItem::occasion_field1,
222 "occasion_field1",
223 0,
224 0
225);
227 &rpg::Item::ko_only,
228 LDB_Reader::ChunkItem::ko_only,
229 "ko_only",
230 0,
231 0
232);
234 &rpg::Item::max_hp_points,
235 LDB_Reader::ChunkItem::max_hp_points,
236 "max_hp_points",
237 0,
238 0
239);
241 &rpg::Item::max_sp_points,
242 LDB_Reader::ChunkItem::max_sp_points,
243 "max_sp_points",
244 0,
245 0
246);
248 &rpg::Item::atk_points2,
249 LDB_Reader::ChunkItem::atk_points2,
250 "atk_points2",
251 0,
252 0
253);
255 &rpg::Item::def_points2,
256 LDB_Reader::ChunkItem::def_points2,
257 "def_points2",
258 0,
259 0
260);
262 &rpg::Item::spi_points2,
263 LDB_Reader::ChunkItem::spi_points2,
264 "spi_points2",
265 0,
266 0
267);
269 &rpg::Item::agi_points2,
270 LDB_Reader::ChunkItem::agi_points2,
271 "agi_points2",
272 0,
273 0
274);
276 &rpg::Item::using_message,
277 LDB_Reader::ChunkItem::using_message,
278 "using_message",
279 1,
280 0
281);
283 &rpg::Item::skill_id,
284 LDB_Reader::ChunkItem::skill_id,
285 "skill_id",
286 0,
287 0
288);
290 &rpg::Item::switch_id,
291 LDB_Reader::ChunkItem::switch_id,
292 "switch_id",
293 0,
294 0
295);
297 &rpg::Item::occasion_field2,
298 LDB_Reader::ChunkItem::occasion_field2,
299 "occasion_field2",
300 0,
301 0
302);
304 &rpg::Item::occasion_battle,
305 LDB_Reader::ChunkItem::occasion_battle,
306 "occasion_battle",
307 0,
308 0
309);
311 &rpg::Item::actor_set,
312 LDB_Reader::ChunkItem::actor_set_size,
313 0,
314 0
315);
317 &rpg::Item::actor_set,
318 LDB_Reader::ChunkItem::actor_set,
319 "actor_set",
320 1,
321 0
322);
324 &rpg::Item::state_set,
325 LDB_Reader::ChunkItem::state_set_size,
326 0,
327 0
328);
330 &rpg::Item::state_set,
331 LDB_Reader::ChunkItem::state_set,
332 "state_set",
333 1,
334 0
335);
337 &rpg::Item::attribute_set,
338 LDB_Reader::ChunkItem::attribute_set_size,
339 0,
340 0
341);
343 &rpg::Item::attribute_set,
344 LDB_Reader::ChunkItem::attribute_set,
345 "attribute_set",
346 1,
347 0
348);
350 &rpg::Item::state_chance,
351 LDB_Reader::ChunkItem::state_chance,
352 "state_chance",
353 0,
354 0
355);
357 &rpg::Item::reverse_state_effect,
358 LDB_Reader::ChunkItem::reverse_state_effect,
359 "reverse_state_effect",
360 0,
361 0
362);
364 &rpg::Item::weapon_animation,
365 LDB_Reader::ChunkItem::weapon_animation,
366 "weapon_animation",
367 0,
368 1
369);
371 &rpg::Item::animation_data,
372 LDB_Reader::ChunkItem::animation_data,
373 "animation_data",
374 1,
375 1
376);
378 &rpg::Item::use_skill,
379 LDB_Reader::ChunkItem::use_skill,
380 "use_skill",
381 0,
382 1
383);
385 &rpg::Item::class_set,
386 LDB_Reader::ChunkItem::class_set_size,
387 0,
388 1
389);
391 &rpg::Item::class_set,
392 LDB_Reader::ChunkItem::class_set,
393 "class_set",
394 1,
395 1
396);
398 &rpg::Item::ranged_trajectory,
399 LDB_Reader::ChunkItem::ranged_trajectory,
400 "ranged_trajectory",
401 0,
402 0
403);
405 &rpg::Item::ranged_target,
406 LDB_Reader::ChunkItem::ranged_target,
407 "ranged_target",
408 0,
409 0
410);
412 &rpg::Item::easyrpg_using_message,
413 LDB_Reader::ChunkItem::easyrpg_using_message,
414 "easyrpg_using_message",
415 0,
416 0
417);
419 &rpg::Item::easyrpg_max_count,
420 LDB_Reader::ChunkItem::easyrpg_max_count,
421 "easyrpg_max_count",
422 0,
423 0
424);
425
426
427template <>
440 &static_hit,
487 NULL
488};
489
490template class Struct<rpg::Item>;
491
492} //namespace lcf