liblcf
ldb_trooppage.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 TroopPage.
20 
21 template <>
22 char const* const Struct<rpg::TroopPage>::name = "TroopPage";
24  &rpg::TroopPage::condition,
25  LDB_Reader::ChunkTroopPage::condition,
26  "condition",
27  1,
28  0
29 );
30 static SizeField<rpg::TroopPage, std::vector<rpg::EventCommand>> static_size_event_commands(
31  &rpg::TroopPage::event_commands,
32  LDB_Reader::ChunkTroopPage::event_commands_size,
33  1,
34  0
35 );
37  &rpg::TroopPage::event_commands,
38  LDB_Reader::ChunkTroopPage::event_commands,
39  "event_commands",
40  1,
41  0
42 );
43 
44 
45 template <>
47  &static_condition,
48  &static_size_event_commands,
49  &static_event_commands,
50  NULL
51 };
52 
53 template class Struct<rpg::TroopPage>;
54 
55 } //namespace lcf
Definition: dbarray.cpp:13