liblcf
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
19
template
<>
20
char
const
*
const
Struct<RPG::Troop>::name
=
"Troop"
;
21
static
TypedField<RPG::Troop, std::string>
static_name(
22
&
RPG::Troop::name
,
23
LDB_Reader::ChunkTroop::name
,
24
"name"
,
25
0,
26
0
27
);
28
static
TypedField<RPG::Troop, std::vector<RPG::TroopMember>
> static_members(
29
&
RPG::Troop::members
,
30
LDB_Reader::ChunkTroop::members
,
31
"members"
,
32
1,
33
0
34
);
35
static
TypedField<RPG::Troop, bool>
static_auto_alignment(
36
&
RPG::Troop::auto_alignment
,
37
LDB_Reader::ChunkTroop::auto_alignment
,
38
"auto_alignment"
,
39
0,
40
1
41
);
42
static
SizeField<RPG::Troop, bool>
static_size_terrain_set(
43
&
RPG::Troop::terrain_set
,
44
LDB_Reader::ChunkTroop::terrain_set_size
,
45
0,
46
0
47
);
48
static
TypedField<RPG::Troop, std::vector<bool>
> static_terrain_set(
49
&
RPG::Troop::terrain_set
,
50
LDB_Reader::ChunkTroop::terrain_set
,
51
"terrain_set"
,
52
1,
53
0
54
);
55
static
TypedField<RPG::Troop, bool>
static_appear_randomly(
56
&
RPG::Troop::appear_randomly
,
57
LDB_Reader::ChunkTroop::appear_randomly
,
58
"appear_randomly"
,
59
0,
60
1
61
);
62
static
TypedField<RPG::Troop, std::vector<RPG::TroopPage>
> static_pages(
63
&
RPG::Troop::pages
,
64
LDB_Reader::ChunkTroop::pages
,
65
"pages"
,
66
1,
67
0
68
);
69
70
71
template
<>
72
Field<RPG::Troop>
const
*
Struct<RPG::Troop>::fields
[] = {
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
83
template
class
Struct<RPG::Troop>
;
RPG::Troop::auto_alignment
bool auto_alignment
Definition:
rpg_troop.h:30
RPG::Troop::terrain_set
std::vector< bool > terrain_set
Definition:
rpg_troop.h:31
RPG::Troop::appear_randomly
bool appear_randomly
Definition:
rpg_troop.h:32
RPG::Troop::name
std::string name
Definition:
rpg_troop.h:28
RPG::Troop::pages
std::vector< TroopPage > pages
Definition:
rpg_troop.h:33
RPG::Troop::members
std::vector< TroopMember > members
Definition:
rpg_troop.h:29
Struct
Definition:
reader_struct.h:552
ldb_chunks.h
ldb_reader.h
reader_struct_impl.h
Field
Definition:
reader_struct.h:315
LDB_Reader::ChunkTroop::auto_alignment
@ auto_alignment
Definition:
ldb_chunks.h:716
LDB_Reader::ChunkTroop::terrain_set
@ terrain_set
Definition:
ldb_chunks.h:720
LDB_Reader::ChunkTroop::name
@ name
Definition:
ldb_chunks.h:712
LDB_Reader::ChunkTroop::members
@ members
Definition:
ldb_chunks.h:714
LDB_Reader::ChunkTroop::appear_randomly
@ appear_randomly
Definition:
ldb_chunks.h:722
LDB_Reader::ChunkTroop::pages
@ pages
Definition:
ldb_chunks.h:724
LDB_Reader::ChunkTroop::terrain_set_size
@ terrain_set_size
Definition:
ldb_chunks.h:718
SizeField
Definition:
reader_struct.h:436
TypedField
Definition:
reader_struct.h:348
src
generated
ldb_troop.cpp
Generated on Thu Jul 29 2021 00:00:00 for liblcf by
1.9.1