liblcf
Loading...
Searching...
No Matches
ldb_troop.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
17namespace lcf {
18
19// Read Troop.
20
21template <>
22char const* const Struct<rpg::Troop>::name = "Troop";
24 &rpg::Troop::name,
25 LDB_Reader::ChunkTroop::name,
26 "name",
27 0,
28 0
29);
31 &rpg::Troop::members,
32 LDB_Reader::ChunkTroop::members,
33 "members",
34 1,
35 0
36);
38 &rpg::Troop::auto_alignment,
39 LDB_Reader::ChunkTroop::auto_alignment,
40 "auto_alignment",
41 0,
42 1
43);
45 &rpg::Troop::terrain_set,
46 LDB_Reader::ChunkTroop::terrain_set_size,
47 0,
48 0
49);
51 &rpg::Troop::terrain_set,
52 LDB_Reader::ChunkTroop::terrain_set,
53 "terrain_set",
54 1,
55 0
56);
58 &rpg::Troop::appear_randomly,
59 LDB_Reader::ChunkTroop::appear_randomly,
60 "appear_randomly",
61 0,
62 1
63);
65 &rpg::Troop::pages,
66 LDB_Reader::ChunkTroop::pages,
67 "pages",
68 1,
69 0
70);
71
72
73template <>
84
85template class Struct<rpg::Troop>;
86
87} //namespace lcf