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) 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 
17 namespace lcf {
18 
19 // Read Event.
20 
21 template <>
22 char const* const Struct<rpg::Event>::name = "Event";
23 static TypedField<rpg::Event, DBString> static_name(
24  &rpg::Event::name,
25  LMU_Reader::ChunkEvent::name,
26  "name",
27  0,
28  0
29 );
30 static TypedField<rpg::Event, int32_t> static_x(
31  &rpg::Event::x,
32  LMU_Reader::ChunkEvent::x,
33  "x",
34  0,
35  0
36 );
37 static TypedField<rpg::Event, int32_t> static_y(
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 
53 template <>
55  &static_name,
56  &static_x,
57  &static_y,
58  &static_pages,
59  NULL
60 };
61 
62 template class Struct<rpg::Event>;
63 
64 } //namespace lcf
Definition: dbarray.cpp:13