liblcf
Loading...
Searching...
No Matches
lsd_savemapevent.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) 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/lsd/reader.h"
14#include "lcf/lsd/chunks.h"
15#include "reader_struct_impl.h"
16
17namespace lcf {
18
19// Read SaveMapEvent.
20
21template <>
22char const* const Struct<rpg::SaveMapEvent>::name = "SaveMapEvent";
23static TypedField<rpg::SaveMapEvent, bool> static_active(
24 &rpg::SaveMapEvent::active,
25 LSD_Reader::ChunkSaveMapEvent::active,
26 "active",
27 0,
28 0
29);
31 &rpg::SaveMapEvent::map_id,
32 LSD_Reader::ChunkSaveMapEvent::map_id,
33 "map_id",
34 1,
35 0
36);
37static TypedField<rpg::SaveMapEvent, int32_t> static_position_x(
38 &rpg::SaveMapEvent::position_x,
39 LSD_Reader::ChunkSaveMapEvent::position_x,
40 "position_x",
41 1,
42 0
43);
44static TypedField<rpg::SaveMapEvent, int32_t> static_position_y(
45 &rpg::SaveMapEvent::position_y,
46 LSD_Reader::ChunkSaveMapEvent::position_y,
47 "position_y",
48 1,
49 0
50);
51static TypedField<rpg::SaveMapEvent, int32_t> static_direction(
52 &rpg::SaveMapEvent::direction,
53 LSD_Reader::ChunkSaveMapEvent::direction,
54 "direction",
55 1,
56 0
57);
59 &rpg::SaveMapEvent::facing,
60 LSD_Reader::ChunkSaveMapEvent::facing,
61 "facing",
62 1,
63 0
64);
65static TypedField<rpg::SaveMapEvent, int32_t> static_anim_frame(
66 &rpg::SaveMapEvent::anim_frame,
67 LSD_Reader::ChunkSaveMapEvent::anim_frame,
68 "anim_frame",
69 0,
70 0
71);
72static TypedField<rpg::SaveMapEvent, int32_t> static_transparency(
73 &rpg::SaveMapEvent::transparency,
74 LSD_Reader::ChunkSaveMapEvent::transparency,
75 "transparency",
76 0,
77 0
78);
79static TypedField<rpg::SaveMapEvent, int32_t> static_remaining_step(
80 &rpg::SaveMapEvent::remaining_step,
81 LSD_Reader::ChunkSaveMapEvent::remaining_step,
82 "remaining_step",
83 0,
84 0
85);
86static TypedField<rpg::SaveMapEvent, int32_t> static_move_frequency(
87 &rpg::SaveMapEvent::move_frequency,
88 LSD_Reader::ChunkSaveMapEvent::move_frequency,
89 "move_frequency",
90 0,
91 0
92);
94 &rpg::SaveMapEvent::layer,
95 LSD_Reader::ChunkSaveMapEvent::layer,
96 "layer",
97 1,
98 0
99);
100static TypedField<rpg::SaveMapEvent, bool> static_overlap_forbidden(
101 &rpg::SaveMapEvent::overlap_forbidden,
102 LSD_Reader::ChunkSaveMapEvent::overlap_forbidden,
103 "overlap_forbidden",
104 0,
105 0
106);
107static TypedField<rpg::SaveMapEvent, int32_t> static_animation_type(
108 &rpg::SaveMapEvent::animation_type,
109 LSD_Reader::ChunkSaveMapEvent::animation_type,
110 "animation_type",
111 1,
112 0
113);
114static TypedField<rpg::SaveMapEvent, bool> static_lock_facing(
115 &rpg::SaveMapEvent::lock_facing,
116 LSD_Reader::ChunkSaveMapEvent::lock_facing,
117 "lock_facing",
118 0,
119 0
120);
121static TypedField<rpg::SaveMapEvent, int32_t> static_move_speed(
122 &rpg::SaveMapEvent::move_speed,
123 LSD_Reader::ChunkSaveMapEvent::move_speed,
124 "move_speed",
125 1,
126 0
127);
128static TypedField<rpg::SaveMapEvent, rpg::MoveRoute> static_move_route(
129 &rpg::SaveMapEvent::move_route,
130 LSD_Reader::ChunkSaveMapEvent::move_route,
131 "move_route",
132 1,
133 0
134);
135static TypedField<rpg::SaveMapEvent, bool> static_move_route_overwrite(
136 &rpg::SaveMapEvent::move_route_overwrite,
137 LSD_Reader::ChunkSaveMapEvent::move_route_overwrite,
138 "move_route_overwrite",
139 0,
140 0
141);
142static TypedField<rpg::SaveMapEvent, int32_t> static_move_route_index(
143 &rpg::SaveMapEvent::move_route_index,
144 LSD_Reader::ChunkSaveMapEvent::move_route_index,
145 "move_route_index",
146 0,
147 0
148);
149static TypedField<rpg::SaveMapEvent, bool> static_move_route_finished(
150 &rpg::SaveMapEvent::move_route_finished,
151 LSD_Reader::ChunkSaveMapEvent::move_route_finished,
152 "move_route_finished",
153 0,
154 0
155);
156static TypedField<rpg::SaveMapEvent, bool> static_sprite_hidden(
157 &rpg::SaveMapEvent::sprite_hidden,
158 LSD_Reader::ChunkSaveMapEvent::sprite_hidden,
159 "sprite_hidden",
160 0,
161 0
162);
163static TypedField<rpg::SaveMapEvent, bool> static_move_route_through(
164 &rpg::SaveMapEvent::move_route_through,
165 LSD_Reader::ChunkSaveMapEvent::move_route_through,
166 "move_route_through",
167 0,
168 0
169);
170static TypedField<rpg::SaveMapEvent, int32_t> static_anim_paused(
171 &rpg::SaveMapEvent::anim_paused,
172 LSD_Reader::ChunkSaveMapEvent::anim_paused,
173 "anim_paused",
174 0,
175 0
176);
177static TypedField<rpg::SaveMapEvent, bool> static_through(
178 &rpg::SaveMapEvent::through,
179 LSD_Reader::ChunkSaveMapEvent::through,
180 "through",
181 0,
182 0
183);
184static TypedField<rpg::SaveMapEvent, int32_t> static_stop_count(
185 &rpg::SaveMapEvent::stop_count,
186 LSD_Reader::ChunkSaveMapEvent::stop_count,
187 "stop_count",
188 0,
189 0
190);
191static TypedField<rpg::SaveMapEvent, int32_t> static_anim_count(
192 &rpg::SaveMapEvent::anim_count,
193 LSD_Reader::ChunkSaveMapEvent::anim_count,
194 "anim_count",
195 0,
196 0
197);
198static TypedField<rpg::SaveMapEvent, int32_t> static_max_stop_count(
199 &rpg::SaveMapEvent::max_stop_count,
200 LSD_Reader::ChunkSaveMapEvent::max_stop_count,
201 "max_stop_count",
202 0,
203 0
204);
205static TypedField<rpg::SaveMapEvent, bool> static_jumping(
206 &rpg::SaveMapEvent::jumping,
207 LSD_Reader::ChunkSaveMapEvent::jumping,
208 "jumping",
209 0,
210 0
211);
212static TypedField<rpg::SaveMapEvent, int32_t> static_begin_jump_x(
213 &rpg::SaveMapEvent::begin_jump_x,
214 LSD_Reader::ChunkSaveMapEvent::begin_jump_x,
215 "begin_jump_x",
216 0,
217 0
218);
219static TypedField<rpg::SaveMapEvent, int32_t> static_begin_jump_y(
220 &rpg::SaveMapEvent::begin_jump_y,
221 LSD_Reader::ChunkSaveMapEvent::begin_jump_y,
222 "begin_jump_y",
223 0,
224 0
225);
226static TypedField<rpg::SaveMapEvent, bool> static_pause(
227 &rpg::SaveMapEvent::pause,
228 LSD_Reader::ChunkSaveMapEvent::pause,
229 "pause",
230 0,
231 0
232);
233static TypedField<rpg::SaveMapEvent, bool> static_flying(
234 &rpg::SaveMapEvent::flying,
235 LSD_Reader::ChunkSaveMapEvent::flying,
236 "flying",
237 0,
238 0
239);
240static TypedField<rpg::SaveMapEvent, std::string> static_sprite_name(
241 &rpg::SaveMapEvent::sprite_name,
242 LSD_Reader::ChunkSaveMapEvent::sprite_name,
243 "sprite_name",
244 0,
245 0
246);
247static TypedField<rpg::SaveMapEvent, int32_t> static_sprite_id(
248 &rpg::SaveMapEvent::sprite_id,
249 LSD_Reader::ChunkSaveMapEvent::sprite_id,
250 "sprite_id",
251 0,
252 0
253);
254static TypedField<rpg::SaveMapEvent, bool> static_processed(
255 &rpg::SaveMapEvent::processed,
256 LSD_Reader::ChunkSaveMapEvent::processed,
257 "processed",
258 0,
259 0
260);
261static TypedField<rpg::SaveMapEvent, int32_t> static_flash_red(
262 &rpg::SaveMapEvent::flash_red,
263 LSD_Reader::ChunkSaveMapEvent::flash_red,
264 "flash_red",
265 0,
266 0
267);
268static TypedField<rpg::SaveMapEvent, int32_t> static_flash_green(
269 &rpg::SaveMapEvent::flash_green,
270 LSD_Reader::ChunkSaveMapEvent::flash_green,
271 "flash_green",
272 0,
273 0
274);
275static TypedField<rpg::SaveMapEvent, int32_t> static_flash_blue(
276 &rpg::SaveMapEvent::flash_blue,
277 LSD_Reader::ChunkSaveMapEvent::flash_blue,
278 "flash_blue",
279 0,
280 0
281);
282static TypedField<rpg::SaveMapEvent, double> static_flash_current_level(
283 &rpg::SaveMapEvent::flash_current_level,
284 LSD_Reader::ChunkSaveMapEvent::flash_current_level,
285 "flash_current_level",
286 0,
287 0
288);
289static TypedField<rpg::SaveMapEvent, int32_t> static_flash_time_left(
290 &rpg::SaveMapEvent::flash_time_left,
291 LSD_Reader::ChunkSaveMapEvent::flash_time_left,
292 "flash_time_left",
293 0,
294 0
295);
296static TypedField<rpg::SaveMapEvent, bool> static_waiting_execution(
297 &rpg::SaveMapEvent::waiting_execution,
298 LSD_Reader::ChunkSaveMapEvent::waiting_execution,
299 "waiting_execution",
300 0,
301 0
302);
303static TypedField<rpg::SaveMapEvent, int32_t> static_original_move_route_index(
304 &rpg::SaveMapEvent::original_move_route_index,
305 LSD_Reader::ChunkSaveMapEvent::original_move_route_index,
306 "original_move_route_index",
307 0,
308 0
309);
310static TypedField<rpg::SaveMapEvent, bool> static_triggered_by_decision_key(
311 &rpg::SaveMapEvent::triggered_by_decision_key,
312 LSD_Reader::ChunkSaveMapEvent::triggered_by_decision_key,
313 "triggered_by_decision_key",
314 0,
315 0
316);
317static TypedField<rpg::SaveMapEvent, rpg::SaveEventExecState> static_parallel_event_execstate(
318 &rpg::SaveMapEvent::parallel_event_execstate,
319 LSD_Reader::ChunkSaveMapEvent::parallel_event_execstate,
320 "parallel_event_execstate",
321 1,
322 0
323);
324
325
326template <>
328 &static_active,
329 &static_map_id,
330 &static_position_x,
331 &static_position_y,
332 &static_direction,
333 &static_facing,
334 &static_anim_frame,
335 &static_transparency,
336 &static_remaining_step,
337 &static_move_frequency,
338 &static_layer,
339 &static_overlap_forbidden,
340 &static_animation_type,
341 &static_lock_facing,
342 &static_move_speed,
343 &static_move_route,
344 &static_move_route_overwrite,
345 &static_move_route_index,
346 &static_move_route_finished,
347 &static_sprite_hidden,
348 &static_move_route_through,
349 &static_anim_paused,
350 &static_through,
351 &static_stop_count,
352 &static_anim_count,
353 &static_max_stop_count,
354 &static_jumping,
355 &static_begin_jump_x,
356 &static_begin_jump_y,
357 &static_pause,
358 &static_flying,
359 &static_sprite_name,
360 &static_sprite_id,
361 &static_processed,
362 &static_flash_red,
363 &static_flash_green,
364 &static_flash_blue,
365 &static_flash_current_level,
366 &static_flash_time_left,
367 &static_waiting_execution,
368 &static_original_move_route_index,
369 &static_triggered_by_decision_key,
370 &static_parallel_event_execstate,
371 NULL
372};
373
374template class Struct<rpg::SaveMapEvent>;
375
376} //namespace lcf
static const Field< S > * fields[]
static const char *const name