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 BattleCommand.
20 
21 template <>
22 char const* const Struct<rpg::BattleCommand>::name = "BattleCommand";
23 static TypedField<rpg::BattleCommand, DBString> static_name(
24 	&rpg::BattleCommand::name,
25 	LDB_Reader::ChunkBattleCommand::name,
26 	"name",
27 	1,
28 	0
29 );
30 static TypedField<rpg::BattleCommand, int32_t> static_type(
31 	&rpg::BattleCommand::type,
32 	LDB_Reader::ChunkBattleCommand::type,
33 	"type",
34 	0,
35 	0
36 );
37 
38 
39 template <>
40 Field<rpg::BattleCommand> const* Struct<rpg::BattleCommand>::fields[] = {
41 	&static_name,
42 	&static_type,
43 	NULL
44 };
45 
46 template class Struct<rpg::BattleCommand>;
47 
48 } //namespace lcf
49