liblcf
ldb_commonevent.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 "ldb_reader.h"
14 #include "ldb_chunks.h"
15 #include "reader_struct_impl.h"
16 
17 // Read CommonEvent.
18 
19 template <>
20 char const* const Struct<RPG::CommonEvent>::name = "CommonEvent";
24  "name",
25  0,
26  0
27 );
28 static TypedField<RPG::CommonEvent, int32_t> static_trigger(
31  "trigger",
32  0,
33  0
34 );
35 static TypedField<RPG::CommonEvent, bool> static_switch_flag(
38  "switch_flag",
39  0,
40  0
41 );
42 static TypedField<RPG::CommonEvent, int32_t> static_switch_id(
45  "switch_id",
46  0,
47  0
48 );
49 static SizeField<RPG::CommonEvent, RPG::EventCommand> static_size_event_commands(
52  1,
53  0
54 );
58  "event_commands",
59  1,
60  0
61 );
62 
63 
64 template <>
66  &static_name,
67  &static_trigger,
68  &static_switch_flag,
69  &static_switch_id,
70  &static_size_event_commands,
71  &static_event_commands,
72  NULL
73 };
74 
75 template class Struct<RPG::CommonEvent>;
RPG::CommonEvent::switch_flag
bool switch_flag
Definition: rpg_commonevent.h:36
ldb_chunks.h
SizeField
Definition: reader_struct.h:436
Field
Definition: reader_struct.h:315
TypedField
Definition: reader_struct.h:348
RPG::CommonEvent::trigger
int32_t trigger
Definition: rpg_commonevent.h:35
Struct
Definition: reader_struct.h:43
LDB_Reader::ChunkCommonEvent::event_commands_size
@ event_commands_size
Definition: ldb_chunks.h:338
RPG::CommonEvent::name
std::string name
Definition: rpg_commonevent.h:34
LDB_Reader::ChunkCommonEvent::switch_id
@ switch_id
Definition: ldb_chunks.h:336
LDB_Reader::ChunkCommonEvent::trigger
@ trigger
Definition: ldb_chunks.h:332
LDB_Reader::ChunkCommonEvent::name
@ name
Definition: ldb_chunks.h:330
LDB_Reader::ChunkCommonEvent::switch_flag
@ switch_flag
Definition: ldb_chunks.h:334
RPG::CommonEvent::switch_id
int32_t switch_id
Definition: rpg_commonevent.h:37
RPG::CommonEvent::event_commands
std::vector< EventCommand > event_commands
Definition: rpg_commonevent.h:38
reader_struct_impl.h
LDB_Reader::ChunkCommonEvent::event_commands
@ event_commands
Definition: ldb_chunks.h:340
ldb_reader.h