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) 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 Troop.
18
19template <>
20char const* const Struct<RPG::Troop>::name = "Troop";
24 "name",
25 0,
26 0
27);
31 "members",
32 1,
33 0
34);
35static TypedField<RPG::Troop, bool> static_auto_alignment(
38 "auto_alignment",
39 0,
40 1
41);
42static SizeField<RPG::Troop, bool> static_size_terrain_set(
45 0,
46 0
47);
48static TypedField<RPG::Troop, std::vector<bool>> static_terrain_set(
51 "terrain_set",
52 1,
53 0
54);
55static TypedField<RPG::Troop, bool> static_appear_randomly(
58 "appear_randomly",
59 0,
60 1
61);
65 "pages",
66 1,
67 0
68);
69
70
71template <>
73 &static_name,
74 &static_members,
75 &static_auto_alignment,
76 &static_size_terrain_set,
77 &static_terrain_set,
78 &static_appear_randomly,
79 &static_pages,
80 NULL
81};
82
83template class Struct<RPG::Troop>;
bool auto_alignment
Definition: rpg_troop.h:30
std::vector< bool > terrain_set
Definition: rpg_troop.h:31
bool appear_randomly
Definition: rpg_troop.h:32
std::string name
Definition: rpg_troop.h:28
std::vector< TroopPage > pages
Definition: rpg_troop.h:33
std::vector< TroopMember > members
Definition: rpg_troop.h:29