liblcf
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ldb_commonevent.cpp
Go to the documentation of this file.
1 /* !!!! GENERATED FILE - DO NOT EDIT !!!! */
2 
3 /*
4  * Copyright (c) 2014 liblcf authors
5  * This file is released under the MIT License
6  * http://opensource.org/licenses/MIT
7  */
8 
9 // Headers
10 #include "ldb_reader.h"
11 #include "ldb_chunks.h"
12 #include "reader_struct.h"
13 
14 // Read CommonEvent.
15 
16 #define LCF_CHUNK_SUFFIX LDB_Reader
17 #define LCF_CURRENT_STRUCT CommonEvent
18 
20  LCF_STRUCT_TYPED_FIELD(std::string, name),
21  LCF_STRUCT_TYPED_FIELD(int, trigger),
22  LCF_STRUCT_TYPED_FIELD(bool, switch_flag),
23  LCF_STRUCT_TYPED_FIELD(int, switch_id),
24  LCF_STRUCT_SIZE_FIELD(RPG::EventCommand, event_commands),
25  LCF_STRUCT_TYPED_FIELD(std::vector<RPG::EventCommand>, event_commands),
27 
28 #undef LCF_CURRENT_STRUCT
29 #undef LCF_CHUNK_SUFFIX
STL namespace.
LCF_STRUCT_SIZE_FIELD(RPG::EventCommand, event_commands)
#define LCF_STRUCT_FIELDS_BEGIN()
Definition: rpg_actor.h:23
LCF_STRUCT_TYPED_FIELD(std::string, name)
#define LCF_STRUCT_FIELDS_END()