liblcf
lmu_eventpage.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 "lmu_reader.h"
14 #include "lmu_chunks.h"
15 #include "reader_struct_impl.h"
16 
17 // Read EventPage.
18 
19 template <>
20 char const* const Struct<RPG::EventPage>::name = "EventPage";
24  "condition",
25  1,
26  0
27 );
28 static TypedField<RPG::EventPage, std::string> static_character_name(
31  "character_name",
32  0,
33  0
34 );
35 static TypedField<RPG::EventPage, int32_t> static_character_index(
38  "character_index",
39  0,
40  0
41 );
42 static TypedField<RPG::EventPage, int32_t> static_character_direction(
45  "character_direction",
46  1,
47  0
48 );
49 static TypedField<RPG::EventPage, int32_t> static_character_pattern(
52  "character_pattern",
53  0,
54  0
55 );
56 static TypedField<RPG::EventPage, bool> static_translucent(
59  "translucent",
60  1,
61  0
62 );
63 static TypedField<RPG::EventPage, int32_t> static_move_type(
66  "move_type",
67  1,
68  0
69 );
70 static TypedField<RPG::EventPage, int32_t> static_move_frequency(
73  "move_frequency",
74  0,
75  0
76 );
77 static TypedField<RPG::EventPage, int32_t> static_trigger(
80  "trigger",
81  1,
82  0
83 );
84 static TypedField<RPG::EventPage, int32_t> static_layer(
87  "layer",
88  1,
89  0
90 );
91 static TypedField<RPG::EventPage, bool> static_overlap_forbidden(
94  "overlap_forbidden",
95  1,
96  0
97 );
98 static TypedField<RPG::EventPage, int32_t> static_animation_type(
101  "animation_type",
102  1,
103  0
104 );
105 static TypedField<RPG::EventPage, int32_t> static_move_speed(
108  "move_speed",
109  0,
110  0
111 );
112 static TypedField<RPG::EventPage, RPG::MoveRoute> static_move_route(
115  "move_route",
116  1,
117  0
118 );
119 static SizeField<RPG::EventPage, RPG::EventCommand> static_size_event_commands(
122  1,
123  0
124 );
128  "event_commands",
129  1,
130  0
131 );
132 
133 
134 template <>
136  &static_condition,
137  &static_character_name,
138  &static_character_index,
139  &static_character_direction,
140  &static_character_pattern,
141  &static_translucent,
142  &static_move_type,
143  &static_move_frequency,
144  &static_trigger,
145  &static_layer,
146  &static_overlap_forbidden,
147  &static_animation_type,
148  &static_move_speed,
149  &static_move_route,
150  &static_size_event_commands,
151  &static_event_commands,
152  NULL
153 };
154 
155 template class Struct<RPG::EventPage>;
int32_t character_pattern
MoveRoute move_route
int32_t character_index
int32_t move_frequency
int32_t animation_type
EventPageCondition condition
int32_t character_direction
std::vector< EventCommand > event_commands
int32_t move_speed
std::string character_name