liblcf
lsd_savetarget.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 "lsd_reader.h"
14 #include "lsd_chunks.h"
15 #include "reader_struct_impl.h"
16 
17 // Read SaveTarget.
18 
19 template <>
20 char const* const Struct<RPG::SaveTarget>::name = "SaveTarget";
21 static TypedField<RPG::SaveTarget, int32_t> static_map_id(
24  "map_id",
25  0,
26  0
27 );
28 static TypedField<RPG::SaveTarget, int32_t> static_map_x(
31  "map_x",
32  0,
33  0
34 );
35 static TypedField<RPG::SaveTarget, int32_t> static_map_y(
38  "map_y",
39  0,
40  0
41 );
42 static TypedField<RPG::SaveTarget, bool> static_switch_on(
45  "switch_on",
46  0,
47  0
48 );
49 static TypedField<RPG::SaveTarget, int32_t> static_switch_id(
52  "switch_id",
53  0,
54  0
55 );
56 
57 
58 template <>
60  &static_map_id,
61  &static_map_x,
62  &static_map_y,
63  &static_switch_on,
64  &static_switch_id,
65  NULL
66 };
67 
68 template class Struct<RPG::SaveTarget>;
RPG::SaveTarget::map_id
int32_t map_id
Definition: rpg_savetarget.h:25
LSD_Reader::ChunkSaveTarget::switch_id
@ switch_id
Definition: lsd_chunks.h:638
Field
Definition: reader_struct.h:315
TypedField
Definition: reader_struct.h:348
Struct
Definition: reader_struct.h:43
RPG::SaveTarget::map_y
int32_t map_y
Definition: rpg_savetarget.h:27
RPG::SaveTarget::switch_on
bool switch_on
Definition: rpg_savetarget.h:28
LSD_Reader::ChunkSaveTarget::map_x
@ map_x
Definition: lsd_chunks.h:632
LSD_Reader::ChunkSaveTarget::map_id
@ map_id
Definition: lsd_chunks.h:630
lsd_reader.h
lsd_chunks.h
RPG::SaveTarget::switch_id
int32_t switch_id
Definition: rpg_savetarget.h:29
reader_struct_impl.h
RPG::SaveTarget::map_x
int32_t map_x
Definition: rpg_savetarget.h:26
LSD_Reader::ChunkSaveTarget::map_y
@ map_y
Definition: lsd_chunks.h:634
LSD_Reader::ChunkSaveTarget::switch_on
@ switch_on
Definition: lsd_chunks.h:636