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>;