liblcf
lmu_eventpagecondition.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 
17 namespace lcf {
18 
19 // Read EventPageCondition.
20 
21 template <>
22 char const* const Struct<rpg::EventPageCondition>::name = "EventPageCondition";
24  &rpg::EventPageCondition::flags,
25  LMU_Reader::ChunkEventPageCondition::flags,
26  "flags",
27  1,
28  0
29 );
30 static TypedField<rpg::EventPageCondition, int32_t> static_switch_a_id(
31  &rpg::EventPageCondition::switch_a_id,
32  LMU_Reader::ChunkEventPageCondition::switch_a_id,
33  "switch_a_id",
34  0,
35  0
36 );
37 static TypedField<rpg::EventPageCondition, int32_t> static_switch_b_id(
38  &rpg::EventPageCondition::switch_b_id,
39  LMU_Reader::ChunkEventPageCondition::switch_b_id,
40  "switch_b_id",
41  0,
42  0
43 );
44 static TypedField<rpg::EventPageCondition, int32_t> static_variable_id(
45  &rpg::EventPageCondition::variable_id,
46  LMU_Reader::ChunkEventPageCondition::variable_id,
47  "variable_id",
48  0,
49  0
50 );
51 static TypedField<rpg::EventPageCondition, int32_t> static_variable_value(
52  &rpg::EventPageCondition::variable_value,
53  LMU_Reader::ChunkEventPageCondition::variable_value,
54  "variable_value",
55  0,
56  0
57 );
59  &rpg::EventPageCondition::item_id,
60  LMU_Reader::ChunkEventPageCondition::item_id,
61  "item_id",
62  0,
63  0
64 );
66  &rpg::EventPageCondition::actor_id,
67  LMU_Reader::ChunkEventPageCondition::actor_id,
68  "actor_id",
69  1,
70  0
71 );
72 static TypedField<rpg::EventPageCondition, int32_t> static_timer_sec(
73  &rpg::EventPageCondition::timer_sec,
74  LMU_Reader::ChunkEventPageCondition::timer_sec,
75  "timer_sec",
76  0,
77  0
78 );
79 static TypedField<rpg::EventPageCondition, int32_t> static_timer2_sec(
80  &rpg::EventPageCondition::timer2_sec,
81  LMU_Reader::ChunkEventPageCondition::timer2_sec,
82  "timer2_sec",
83  0,
84  1
85 );
86 static TypedField<rpg::EventPageCondition, int32_t> static_compare_operator(
87  &rpg::EventPageCondition::compare_operator,
88  LMU_Reader::ChunkEventPageCondition::compare_operator,
89  "compare_operator",
90  0,
91  1
92 );
93 
94 
95 template <>
97  &static_flags,
98  &static_switch_a_id,
99  &static_switch_b_id,
100  &static_variable_id,
101  &static_variable_value,
102  &static_item_id,
103  &static_actor_id,
104  &static_timer_sec,
105  &static_timer2_sec,
106  &static_compare_operator,
107  NULL
108 };
109 
110 template class Struct<rpg::EventPageCondition>;
111 
112 } //namespace lcf
Definition: dbarray.cpp:13