1 /* !!!! GENERATED FILE - DO NOT EDIT !!!!
2  * --------------------------------------
3  *
4  * This file is part of liblcf. Copyright (c) 2021 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 
17 namespace lcf {
18 
19 // Read BattlerAnimation.
20 
21 template <>
22 char const* const Struct<rpg::BattlerAnimation>::name = "BattlerAnimation";
23 static TypedField<rpg::BattlerAnimation, DBString> static_name(
24 	&rpg::BattlerAnimation::name,
25 	LDB_Reader::ChunkBattlerAnimation::name,
26 	"name",
27 	0,
28 	1
29 );
30 static TypedField<rpg::BattlerAnimation, int32_t> static_speed(
31 	&rpg::BattlerAnimation::speed,
32 	LDB_Reader::ChunkBattlerAnimation::speed,
33 	"speed",
34 	0,
35 	1
36 );
37 static TypedField<rpg::BattlerAnimation, std::vector<rpg::BattlerAnimationPose>> static_poses(
38 	&rpg::BattlerAnimation::poses,
39 	LDB_Reader::ChunkBattlerAnimation::poses,
40 	"poses",
41 	1,
42 	1
43 );
44 static TypedField<rpg::BattlerAnimation, std::vector<rpg::BattlerAnimationWeapon>> static_weapons(
45 	&rpg::BattlerAnimation::weapons,
46 	LDB_Reader::ChunkBattlerAnimation::weapons,
47 	"weapons",
48 	1,
49 	1
50 );
51 
52 
53 template <>
54 Field<rpg::BattlerAnimation> const* Struct<rpg::BattlerAnimation>::fields[] = {
55 	&static_name,
56 	&static_speed,
57 	&static_poses,
58 	&static_weapons,
59 	NULL
60 };
61 
62 template class Struct<rpg::BattlerAnimation>;
63 
64 } //namespace lcf
65