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>;
LMU_Reader::ChunkEventPage::move_speed
@ move_speed
Definition: lmu_chunks.h:82
lmu_chunks.h
SizeField
Definition: reader_struct.h:436
RPG::EventPage::move_route
MoveRoute move_route
Definition: rpg_eventpage.h:137
Field
Definition: reader_struct.h:315
TypedField
Definition: reader_struct.h:348
RPG::EventPage::move_type
int32_t move_type
Definition: rpg_eventpage.h:130
RPG::EventPage::overlap_forbidden
bool overlap_forbidden
Definition: rpg_eventpage.h:134
RPG::EventPage::character_direction
int32_t character_direction
Definition: rpg_eventpage.h:127
Struct
Definition: reader_struct.h:43
RPG::EventPage::event_commands
std::vector< EventCommand > event_commands
Definition: rpg_eventpage.h:138
RPG::EventPage::character_pattern
int32_t character_pattern
Definition: rpg_eventpage.h:128
LMU_Reader::ChunkEventPage::animation_type
@ animation_type
Definition: lmu_chunks.h:80
RPG::EventPage::animation_type
int32_t animation_type
Definition: rpg_eventpage.h:135
LMU_Reader::ChunkEventPage::overlap_forbidden
@ overlap_forbidden
Definition: lmu_chunks.h:78
LMU_Reader::ChunkEventPage::character_pattern
@ character_pattern
Definition: lmu_chunks.h:66
LMU_Reader::ChunkEventPage::translucent
@ translucent
Definition: lmu_chunks.h:68
RPG::EventPage::move_frequency
int32_t move_frequency
Definition: rpg_eventpage.h:131
RPG::EventPage::translucent
bool translucent
Definition: rpg_eventpage.h:129
RPG::EventPage::move_speed
int32_t move_speed
Definition: rpg_eventpage.h:136
LMU_Reader::ChunkEventPage::move_type
@ move_type
Definition: lmu_chunks.h:70
LMU_Reader::ChunkEventPage::character_direction
@ character_direction
Definition: lmu_chunks.h:64
LMU_Reader::ChunkEventPage::layer
@ layer
Definition: lmu_chunks.h:76
RPG::EventPage::layer
int32_t layer
Definition: rpg_eventpage.h:133
LMU_Reader::ChunkEventPage::move_frequency
@ move_frequency
Definition: lmu_chunks.h:72
RPG::EventPage::condition
EventPageCondition condition
Definition: rpg_eventpage.h:124
RPG::EventPage::character_name
std::string character_name
Definition: rpg_eventpage.h:125
LMU_Reader::ChunkEventPage::character_name
@ character_name
Definition: lmu_chunks.h:60
LMU_Reader::ChunkEventPage::event_commands
@ event_commands
Definition: lmu_chunks.h:88
LMU_Reader::ChunkEventPage::move_route
@ move_route
Definition: lmu_chunks.h:84
lmu_reader.h
RPG::EventPage::trigger
int32_t trigger
Definition: rpg_eventpage.h:132
LMU_Reader::ChunkEventPage::character_index
@ character_index
Definition: lmu_chunks.h:62
reader_struct_impl.h
LMU_Reader::ChunkEventPage::trigger
@ trigger
Definition: lmu_chunks.h:74
RPG::EventPage::character_index
int32_t character_index
Definition: rpg_eventpage.h:126
LMU_Reader::ChunkEventPage::event_commands_size
@ event_commands_size
Definition: lmu_chunks.h:86
LMU_Reader::ChunkEventPage::condition
@ condition
Definition: lmu_chunks.h:58