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>;
RPG::EventPageCondition::variable_id
int32_t variable_id
Definition: rpg_eventpagecondition.h:62
LMU_Reader::ChunkEventPageCondition::switch_a_id
@ switch_a_id
Definition: lmu_chunks.h:24
RPG::EventPageCondition::actor_id
int32_t actor_id
Definition: rpg_eventpagecondition.h:65
lmu_chunks.h
RPG::EventPageCondition::timer2_sec
int32_t timer2_sec
Definition: rpg_eventpagecondition.h:67
LMU_Reader::ChunkEventPageCondition::timer_sec
@ timer_sec
Definition: lmu_chunks.h:36
RPG::EventPageCondition::switch_b_id
int32_t switch_b_id
Definition: rpg_eventpagecondition.h:61
Field
Definition: reader_struct.h:315
TypedField
Definition: reader_struct.h:348
LMU_Reader::ChunkEventPageCondition::variable_value
@ variable_value
Definition: lmu_chunks.h:30
RPG::EventPageCondition::compare_operator
int32_t compare_operator
Definition: rpg_eventpagecondition.h:68
Struct
Definition: reader_struct.h:43
RPG::EventPageCondition::timer_sec
int32_t timer_sec
Definition: rpg_eventpagecondition.h:66
LMU_Reader::ChunkEventPageCondition::item_id
@ item_id
Definition: lmu_chunks.h:32
RPG::EventPageCondition::variable_value
int32_t variable_value
Definition: rpg_eventpagecondition.h:63
LMU_Reader::ChunkEventPageCondition::variable_id
@ variable_id
Definition: lmu_chunks.h:28
LMU_Reader::ChunkEventPageCondition::timer2_sec
@ timer2_sec
Definition: lmu_chunks.h:38
LMU_Reader::ChunkEventPageCondition::switch_b_id
@ switch_b_id
Definition: lmu_chunks.h:26
RPG::EventPageCondition::flags
struct RPG::EventPageCondition::Flags flags
Definition: lmu_eventpagecondition.cpp:21
LMU_Reader::ChunkEventPageCondition::actor_id
@ actor_id
Definition: lmu_chunks.h:34
lmu_reader.h
LMU_Reader::ChunkEventPageCondition::flags
@ flags
Definition: lmu_chunks.h:22
RPG::EventPageCondition::switch_a_id
int32_t switch_a_id
Definition: rpg_eventpagecondition.h:60
reader_struct_impl.h
LMU_Reader::ChunkEventPageCondition::compare_operator
@ compare_operator
Definition: lmu_chunks.h:40
RPG::EventPageCondition::item_id
int32_t item_id
Definition: rpg_eventpagecondition.h:64