liblcf
ldb_itemanimation.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) 2020 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 "ldb_reader.h"
14 #include "ldb_chunks.h"
15 #include "reader_struct_impl.h"
16 
17 // Read ItemAnimation.
18 
19 template <>
20 char const* const Struct<RPG::ItemAnimation>::name = "ItemAnimation";
24  "type",
25  0,
26  0
27 );
28 static TypedField<RPG::ItemAnimation, int32_t> static_weapon_anim(
31  "weapon_anim",
32  0,
33  0
34 );
35 static TypedField<RPG::ItemAnimation, int32_t> static_movement(
38  "movement",
39  0,
40  0
41 );
42 static TypedField<RPG::ItemAnimation, int32_t> static_after_image(
45  "after_image",
46  0,
47  0
48 );
49 static TypedField<RPG::ItemAnimation, int32_t> static_attacks(
52  "attacks",
53  0,
54  0
55 );
56 static TypedField<RPG::ItemAnimation, bool> static_ranged(
59  "ranged",
60  0,
61  0
62 );
63 static TypedField<RPG::ItemAnimation, int32_t> static_ranged_anim(
66  "ranged_anim",
67  0,
68  0
69 );
70 static TypedField<RPG::ItemAnimation, int32_t> static_ranged_speed(
73  "ranged_speed",
74  0,
75  0
76 );
77 static TypedField<RPG::ItemAnimation, int32_t> static_battle_anim(
80  "battle_anim",
81  0,
82  0
83 );
84 
85 
86 template <>
88  &static_type,
89  &static_weapon_anim,
90  &static_movement,
91  &static_after_image,
92  &static_attacks,
93  &static_ranged,
94  &static_ranged_anim,
95  &static_ranged_speed,
96  &static_battle_anim,
97  NULL
98 };
99 
100 template class Struct<RPG::ItemAnimation>;