liblcf
Loading...
Searching...
No Matches
lmu_eventpage.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
17namespace lcf {
18
19// Read EventPage.
20
21template <>
22char const* const Struct<rpg::EventPage>::name = "EventPage";
24 &rpg::EventPage::condition,
25 LMU_Reader::ChunkEventPage::condition,
26 "condition",
27 1,
28 0
29);
30static TypedField<rpg::EventPage, DBString> static_character_name(
31 &rpg::EventPage::character_name,
32 LMU_Reader::ChunkEventPage::character_name,
33 "character_name",
34 0,
35 0
36);
37static TypedField<rpg::EventPage, int32_t> static_character_index(
38 &rpg::EventPage::character_index,
39 LMU_Reader::ChunkEventPage::character_index,
40 "character_index",
41 0,
42 0
43);
44static TypedField<rpg::EventPage, int32_t> static_character_direction(
45 &rpg::EventPage::character_direction,
46 LMU_Reader::ChunkEventPage::character_direction,
47 "character_direction",
48 1,
49 0
50);
51static TypedField<rpg::EventPage, int32_t> static_character_pattern(
52 &rpg::EventPage::character_pattern,
53 LMU_Reader::ChunkEventPage::character_pattern,
54 "character_pattern",
55 0,
56 0
57);
58static TypedField<rpg::EventPage, bool> static_translucent(
59 &rpg::EventPage::translucent,
60 LMU_Reader::ChunkEventPage::translucent,
61 "translucent",
62 1,
63 0
64);
65static TypedField<rpg::EventPage, int32_t> static_move_type(
66 &rpg::EventPage::move_type,
67 LMU_Reader::ChunkEventPage::move_type,
68 "move_type",
69 1,
70 0
71);
72static TypedField<rpg::EventPage, int32_t> static_move_frequency(
73 &rpg::EventPage::move_frequency,
74 LMU_Reader::ChunkEventPage::move_frequency,
75 "move_frequency",
76 0,
77 0
78);
79static TypedField<rpg::EventPage, int32_t> static_trigger(
80 &rpg::EventPage::trigger,
81 LMU_Reader::ChunkEventPage::trigger,
82 "trigger",
83 1,
84 0
85);
86static TypedField<rpg::EventPage, int32_t> static_layer(
87 &rpg::EventPage::layer,
88 LMU_Reader::ChunkEventPage::layer,
89 "layer",
90 1,
91 0
92);
93static TypedField<rpg::EventPage, bool> static_overlap_forbidden(
94 &rpg::EventPage::overlap_forbidden,
95 LMU_Reader::ChunkEventPage::overlap_forbidden,
96 "overlap_forbidden",
97 1,
98 0
99);
100static TypedField<rpg::EventPage, int32_t> static_animation_type(
101 &rpg::EventPage::animation_type,
102 LMU_Reader::ChunkEventPage::animation_type,
103 "animation_type",
104 1,
105 0
106);
107static TypedField<rpg::EventPage, int32_t> static_move_speed(
108 &rpg::EventPage::move_speed,
109 LMU_Reader::ChunkEventPage::move_speed,
110 "move_speed",
111 0,
112 0
113);
114static TypedField<rpg::EventPage, rpg::MoveRoute> static_move_route(
115 &rpg::EventPage::move_route,
116 LMU_Reader::ChunkEventPage::move_route,
117 "move_route",
118 1,
119 0
120);
121static SizeField<rpg::EventPage, std::vector<rpg::EventCommand>> static_size_event_commands(
122 &rpg::EventPage::event_commands,
123 LMU_Reader::ChunkEventPage::event_commands_size,
124 1,
125 0
126);
128 &rpg::EventPage::event_commands,
129 LMU_Reader::ChunkEventPage::event_commands,
130 "event_commands",
131 1,
132 0
133);
134
135
136template <>
138 &static_condition,
139 &static_character_name,
140 &static_character_index,
141 &static_character_direction,
142 &static_character_pattern,
143 &static_translucent,
144 &static_move_type,
145 &static_move_frequency,
146 &static_trigger,
147 &static_layer,
148 &static_overlap_forbidden,
149 &static_animation_type,
150 &static_move_speed,
151 &static_move_route,
152 &static_size_event_commands,
153 &static_event_commands,
154 NULL
155};
156
157template class Struct<rpg::EventPage>;
158
159} //namespace lcf
static const Field< S > * fields[]
static const char *const name