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/lmu/reader.h"
14 #include "lcf/lmu/chunks.h"
15 #include "reader_struct_impl.h"
16 
17 namespace lcf {
18 
19 // Read MoveRoute.
20 
21 template <>
22 char const* const Struct<rpg::MoveRoute>::name = "MoveRoute";
23 static SizeField<rpg::MoveRoute, std::vector<rpg::MoveCommand>> static_size_move_commands(
24 	&rpg::MoveRoute::move_commands,
25 	LMU_Reader::ChunkMoveRoute::move_commands_size,
26 	0,
27 	0
28 );
29 static TypedField<rpg::MoveRoute, std::vector<rpg::MoveCommand>> static_move_commands(
30 	&rpg::MoveRoute::move_commands,
31 	LMU_Reader::ChunkMoveRoute::move_commands,
32 	"move_commands",
33 	1,
34 	0
35 );
36 static TypedField<rpg::MoveRoute, bool> static_repeat(
37 	&rpg::MoveRoute::repeat,
38 	LMU_Reader::ChunkMoveRoute::repeat,
39 	"repeat",
40 	0,
41 	0
42 );
43 static TypedField<rpg::MoveRoute, bool> static_skippable(
44 	&rpg::MoveRoute::skippable,
45 	LMU_Reader::ChunkMoveRoute::skippable,
46 	"skippable",
47 	0,
48 	0
49 );
50 
51 
52 template <>
53 Field<rpg::MoveRoute> const* Struct<rpg::MoveRoute>::fields[] = {
54 	&static_size_move_commands,
55 	&static_move_commands,
56 	&static_repeat,
57 	&static_skippable,
58 	NULL
59 };
60 
61 template class Struct<rpg::MoveRoute>;
62 
63 } //namespace lcf
64