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) 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 EventPageCondition.
18 
19 template <>
20 char const* const Struct<RPG::EventPageCondition>::name = "EventPageCondition";
24  "flags",
25  1,
26  0
27 );
28 static TypedField<RPG::EventPageCondition, int32_t> static_switch_a_id(
31  "switch_a_id",
32  0,
33  0
34 );
35 static TypedField<RPG::EventPageCondition, int32_t> static_switch_b_id(
38  "switch_b_id",
39  0,
40  0
41 );
42 static TypedField<RPG::EventPageCondition, int32_t> static_variable_id(
45  "variable_id",
46  0,
47  0
48 );
49 static TypedField<RPG::EventPageCondition, int32_t> static_variable_value(
52  "variable_value",
53  0,
54  0
55 );
59  "item_id",
60  0,
61  0
62 );
66  "actor_id",
67  1,
68  0
69 );
70 static TypedField<RPG::EventPageCondition, int32_t> static_timer_sec(
73  "timer_sec",
74  0,
75  0
76 );
77 static TypedField<RPG::EventPageCondition, int32_t> static_timer2_sec(
80  "timer2_sec",
81  0,
82  1
83 );
84 static TypedField<RPG::EventPageCondition, int32_t> static_compare_operator(
87  "compare_operator",
88  0,
89  1
90 );
91 
92 
93 template <>
95  &static_flags,
96  &static_switch_a_id,
97  &static_switch_b_id,
98  &static_variable_id,
99  &static_variable_value,
100  &static_item_id,
101  &static_actor_id,
102  &static_timer_sec,
103  &static_timer2_sec,
104  &static_compare_operator,
105  NULL
106 };
107 
108 template class Struct<RPG::EventPageCondition>;
struct RPG::EventPageCondition::Flags flags