liblcf
lmu_event.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/lmu/reader.h"
14#include "lcf/lmu/chunks.h"
15#include "reader_struct_impl.h"
16
17namespace lcf {
18
19// Read Event.
20
21template <>
22char const* const Struct<rpg::Event>::name = "Event";
23static TypedField<rpg::Event, DBString> static_name(
24 &rpg::Event::name,
25 LMU_Reader::ChunkEvent::name,
26 "name",
27 0,
28 0
29);
31 &rpg::Event::x,
32 LMU_Reader::ChunkEvent::x,
33 "x",
34 0,
35 0
36);
38 &rpg::Event::y,
39 LMU_Reader::ChunkEvent::y,
40 "y",
41 0,
42 0
43);
45 &rpg::Event::pages,
46 LMU_Reader::ChunkEvent::pages,
47 "pages",
48 1,
49 0
50);
51
52
53template <>
55 &static_name,
56 &static_x,
57 &static_y,
58 &static_pages,
59 NULL
60};
61
62template class Struct<rpg::Event>;
63
64} //namespace lcf
Definition: dbarray.cpp:13