liblcf
Loading...
Searching...
No Matches
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) 2021 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 SaveTarget.
20
21template <>
22char const* const Struct<rpg::SaveTarget>::name = "SaveTarget";
23static TypedField<rpg::SaveTarget, int32_t> static_map_id(
24 &rpg::SaveTarget::map_id,
25 LSD_Reader::ChunkSaveTarget::map_id,
26 "map_id",
27 0,
28 0
29);
30static TypedField<rpg::SaveTarget, int32_t> static_map_x(
31 &rpg::SaveTarget::map_x,
32 LSD_Reader::ChunkSaveTarget::map_x,
33 "map_x",
34 0,
35 0
36);
37static TypedField<rpg::SaveTarget, int32_t> static_map_y(
38 &rpg::SaveTarget::map_y,
39 LSD_Reader::ChunkSaveTarget::map_y,
40 "map_y",
41 0,
42 0
43);
44static TypedField<rpg::SaveTarget, bool> static_switch_on(
45 &rpg::SaveTarget::switch_on,
46 LSD_Reader::ChunkSaveTarget::switch_on,
47 "switch_on",
48 0,
49 0
50);
51static TypedField<rpg::SaveTarget, int32_t> static_switch_id(
52 &rpg::SaveTarget::switch_id,
53 LSD_Reader::ChunkSaveTarget::switch_id,
54 "switch_id",
55 0,
56 0
57);
58
59
60template <>
62 &static_map_id,
63 &static_map_x,
64 &static_map_y,
65 &static_switch_on,
66 &static_switch_id,
67 NULL
68};
69
70template class Struct<rpg::SaveTarget>;
71
72} //namespace lcf
Definition: dbarray.cpp:13