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>;
std::string name
std::vector< EventCommand > event_commands