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) 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 "lmu_reader.h"
14 #include "lmu_chunks.h"
15 #include "reader_struct_impl.h"
16 
17 // Read Event.
18 
19 template <>
20 char const* const Struct<RPG::Event>::name = "Event";
21 static TypedField<RPG::Event, std::string> static_name(
24  "name",
25  0,
26  0
27 );
28 static TypedField<RPG::Event, int32_t> static_x(
31  "x",
32  0,
33  0
34 );
35 static TypedField<RPG::Event, int32_t> static_y(
38  "y",
39  0,
40  0
41 );
45  "pages",
46  1,
47  0
48 );
49 
50 
51 template <>
53  &static_name,
54  &static_x,
55  &static_y,
56  &static_pages,
57  NULL
58 };
59 
60 template class Struct<RPG::Event>;
lmu_chunks.h
RPG::Event::name
std::string name
Definition: rpg_event.h:28
Field
Definition: reader_struct.h:315
TypedField
Definition: reader_struct.h:348
LMU_Reader::ChunkEvent::y
@ y
Definition: lmu_chunks.h:98
Struct
Definition: reader_struct.h:43
RPG::Event::y
int32_t y
Definition: rpg_event.h:30
RPG::Event::pages
std::vector< EventPage > pages
Definition: rpg_event.h:31
LMU_Reader::ChunkEvent::x
@ x
Definition: lmu_chunks.h:96
LMU_Reader::ChunkEvent::name
@ name
Definition: lmu_chunks.h:94
lmu_reader.h
reader_struct_impl.h
RPG::Event::x
int32_t x
Definition: rpg_event.h:29
LMU_Reader::ChunkEvent::pages
@ pages
Definition: lmu_chunks.h:100