liblcf
ldb_database.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) 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 "lcf/ldb/reader.h"
14 #include "lcf/ldb/chunks.h"
15 #include "reader_struct_impl.h"
16 
17 namespace lcf {
18 
19 // Read Database.
20 
21 template <>
22 char const* const Struct<rpg::Database>::name = "Database";
24  &rpg::Database::actors,
25  LDB_Reader::ChunkDatabase::actors,
26  "actors",
27  1,
28  0
29 );
31  &rpg::Database::skills,
32  LDB_Reader::ChunkDatabase::skills,
33  "skills",
34  1,
35  0
36 );
38  &rpg::Database::items,
39  LDB_Reader::ChunkDatabase::items,
40  "items",
41  1,
42  0
43 );
45  &rpg::Database::enemies,
46  LDB_Reader::ChunkDatabase::enemies,
47  "enemies",
48  1,
49  0
50 );
52  &rpg::Database::troops,
53  LDB_Reader::ChunkDatabase::troops,
54  "troops",
55  1,
56  0
57 );
59  &rpg::Database::terrains,
60  LDB_Reader::ChunkDatabase::terrains,
61  "terrains",
62  1,
63  0
64 );
66  &rpg::Database::attributes,
67  LDB_Reader::ChunkDatabase::attributes,
68  "attributes",
69  1,
70  0
71 );
73  &rpg::Database::states,
74  LDB_Reader::ChunkDatabase::states,
75  "states",
76  1,
77  0
78 );
80  &rpg::Database::animations,
81  LDB_Reader::ChunkDatabase::animations,
82  "animations",
83  1,
84  0
85 );
87  &rpg::Database::chipsets,
88  LDB_Reader::ChunkDatabase::chipsets,
89  "chipsets",
90  1,
91  0
92 );
93 static TypedField<rpg::Database, rpg::Terms> static_terms(
94  &rpg::Database::terms,
95  LDB_Reader::ChunkDatabase::terms,
96  "terms",
97  1,
98  0
99 );
100 static TypedField<rpg::Database, rpg::System> static_system(
101  &rpg::Database::system,
102  LDB_Reader::ChunkDatabase::system,
103  "system",
104  1,
105  0
106 );
108  &rpg::Database::switches,
109  LDB_Reader::ChunkDatabase::switches,
110  "switches",
111  1,
112  0
113 );
115  &rpg::Database::variables,
116  LDB_Reader::ChunkDatabase::variables,
117  "variables",
118  1,
119  0
120 );
122  &rpg::Database::commonevents,
123  LDB_Reader::ChunkDatabase::commonevents,
124  "commonevents",
125  1,
126  0
127 );
129  &rpg::Database::version,
130  LDB_Reader::ChunkDatabase::version,
131  "version",
132  0,
133  0
134 );
136  LDB_Reader::ChunkDatabase::commoneventD2,
137  "commoneventD2",
138  1,
139  1
140 );
142  LDB_Reader::ChunkDatabase::commoneventD3,
143  "commoneventD3",
144  1,
145  1
146 );
147 static TypedField<rpg::Database, rpg::BattleCommands> static_battlecommands(
148  &rpg::Database::battlecommands,
149  LDB_Reader::ChunkDatabase::battlecommands,
150  "battlecommands",
151  1,
152  1
153 );
155  &rpg::Database::classes,
156  LDB_Reader::ChunkDatabase::classes,
157  "classes",
158  1,
159  1
160 );
162  LDB_Reader::ChunkDatabase::classD1,
163  "classD1",
164  1,
165  1
166 );
167 static TypedField<rpg::Database, std::vector<rpg::BattlerAnimation>> static_battleranimations(
168  &rpg::Database::battleranimations,
169  LDB_Reader::ChunkDatabase::battleranimations,
170  "battleranimations",
171  1,
172  1
173 );
174 
175 
176 template <>
178  &static_actors,
179  &static_skills,
180  &static_items,
181  &static_enemies,
182  &static_troops,
183  &static_terrains,
184  &static_attributes,
185  &static_states,
186  &static_animations,
187  &static_chipsets,
188  &static_terms,
189  &static_system,
190  &static_switches,
191  &static_variables,
192  &static_commonevents,
193  &static_version,
196  &static_battlecommands,
197  &static_classes,
199  &static_battleranimations,
200  NULL
201 };
202 
203 template class Struct<rpg::Database>;
204 
205 } //namespace lcf
Definition: dbarray.cpp:13
static EmptyField< rpg::Database > static_commoneventD3(LDB_Reader::ChunkDatabase::commoneventD3, "commoneventD3", 1, 1)
static EmptyField< rpg::Database > static_commoneventD2(LDB_Reader::ChunkDatabase::commoneventD2, "commoneventD2", 1, 1)
static EmptyField< rpg::Database > static_classD1(LDB_Reader::ChunkDatabase::classD1, "classD1", 1, 1)