liblcf
ldb_class.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 Class.
18
19
template
<>
20
char
const
*
const
Struct<RPG::Class>::name
=
"Class"
;
21
static
TypedField<RPG::Class, std::string>
static_name(
22
&
RPG::Class::name
,
23
LDB_Reader::ChunkClass::name
,
24
"name"
,
25
0,
26
0
27
);
28
static
TypedField<RPG::Class, bool>
static_two_weapon(
29
&
RPG::Class::two_weapon
,
30
LDB_Reader::ChunkClass::two_weapon
,
31
"two_weapon"
,
32
0,
33
0
34
);
35
static
TypedField<RPG::Class, bool>
static_lock_equipment(
36
&
RPG::Class::lock_equipment
,
37
LDB_Reader::ChunkClass::lock_equipment
,
38
"lock_equipment"
,
39
0,
40
0
41
);
42
static
TypedField<RPG::Class, bool>
static_auto_battle(
43
&
RPG::Class::auto_battle
,
44
LDB_Reader::ChunkClass::auto_battle
,
45
"auto_battle"
,
46
0,
47
0
48
);
49
static
TypedField<RPG::Class, bool>
static_super_guard(
50
&
RPG::Class::super_guard
,
51
LDB_Reader::ChunkClass::super_guard
,
52
"super_guard"
,
53
0,
54
0
55
);
56
static
TypedField<RPG::Class, RPG::Parameters>
static_parameters(
57
&
RPG::Class::parameters
,
58
LDB_Reader::ChunkClass::parameters
,
59
"parameters"
,
60
0,
61
0
62
);
63
static
TypedField<RPG::Class, int32_t>
static_exp_base(
64
&
RPG::Class::exp_base
,
65
LDB_Reader::ChunkClass::exp_base
,
66
"exp_base"
,
67
0,
68
0
69
);
70
static
TypedField<RPG::Class, int32_t>
static_exp_inflation(
71
&
RPG::Class::exp_inflation
,
72
LDB_Reader::ChunkClass::exp_inflation
,
73
"exp_inflation"
,
74
0,
75
0
76
);
77
static
TypedField<RPG::Class, int32_t>
static_exp_correction(
78
&
RPG::Class::exp_correction
,
79
LDB_Reader::ChunkClass::exp_correction
,
80
"exp_correction"
,
81
0,
82
0
83
);
84
static
TypedField<RPG::Class, int32_t>
static_battler_animation(
85
&
RPG::Class::battler_animation
,
86
LDB_Reader::ChunkClass::battler_animation
,
87
"battler_animation"
,
88
0,
89
0
90
);
91
static
TypedField<RPG::Class, std::vector<RPG::Learning>
> static_skills(
92
&
RPG::Class::skills
,
93
LDB_Reader::ChunkClass::skills
,
94
"skills"
,
95
1,
96
0
97
);
98
static
SizeField<RPG::Class, uint8_t>
static_size_state_ranks(
99
&
RPG::Class::state_ranks
,
100
LDB_Reader::ChunkClass::state_ranks_size
,
101
0,
102
0
103
);
104
static
TypedField<RPG::Class, std::vector<uint8_t>
> static_state_ranks(
105
&
RPG::Class::state_ranks
,
106
LDB_Reader::ChunkClass::state_ranks
,
107
"state_ranks"
,
108
1,
109
0
110
);
111
static
SizeField<RPG::Class, uint8_t>
static_size_attribute_ranks(
112
&
RPG::Class::attribute_ranks
,
113
LDB_Reader::ChunkClass::attribute_ranks_size
,
114
0,
115
0
116
);
117
static
TypedField<RPG::Class, std::vector<uint8_t>
> static_attribute_ranks(
118
&
RPG::Class::attribute_ranks
,
119
LDB_Reader::ChunkClass::attribute_ranks
,
120
"attribute_ranks"
,
121
1,
122
0
123
);
124
static
TypedField<RPG::Class, std::vector<int32_t>
> static_battle_commands(
125
&
RPG::Class::battle_commands
,
126
LDB_Reader::ChunkClass::battle_commands
,
127
"battle_commands"
,
128
1,
129
0
130
);
131
132
133
template
<>
134
Field<RPG::Class>
const
*
Struct<RPG::Class>::fields
[] = {
135
&static_name,
136
&static_two_weapon,
137
&static_lock_equipment,
138
&static_auto_battle,
139
&static_super_guard,
140
&static_parameters,
141
&static_exp_base,
142
&static_exp_inflation,
143
&static_exp_correction,
144
&static_battler_animation,
145
&static_skills,
146
&static_size_state_ranks,
147
&static_state_ranks,
148
&static_size_attribute_ranks,
149
&static_attribute_ranks,
150
&static_battle_commands,
151
NULL
152
};
153
154
template
class
Struct<RPG::Class>
;
ldb_chunks.h
RPG::Class::attribute_ranks
std::vector< uint8_t > attribute_ranks
Definition:
rpg_class.h:41
SizeField
Definition:
reader_struct.h:436
RPG::Class::super_guard
bool super_guard
Definition:
rpg_class.h:33
Field
Definition:
reader_struct.h:315
TypedField
Definition:
reader_struct.h:348
LDB_Reader::ChunkClass::attribute_ranks
@ attribute_ranks
Definition:
ldb_chunks.h:322
RPG::Class::auto_battle
bool auto_battle
Definition:
rpg_class.h:32
LDB_Reader::ChunkClass::name
@ name
Definition:
ldb_chunks.h:294
LDB_Reader::ChunkClass::exp_correction
@ exp_correction
Definition:
ldb_chunks.h:310
RPG::Class::battle_commands
std::vector< int32_t > battle_commands
Definition:
rpg_class.h:42
Struct
Definition:
reader_struct.h:43
LDB_Reader::ChunkClass::battler_animation
@ battler_animation
Definition:
ldb_chunks.h:312
RPG::Class::state_ranks
std::vector< uint8_t > state_ranks
Definition:
rpg_class.h:40
RPG::Class::battler_animation
int32_t battler_animation
Definition:
rpg_class.h:38
RPG::Class::exp_base
int32_t exp_base
Definition:
rpg_class.h:35
RPG::Class::two_weapon
bool two_weapon
Definition:
rpg_class.h:30
LDB_Reader::ChunkClass::two_weapon
@ two_weapon
Definition:
ldb_chunks.h:296
RPG::Class::skills
std::vector< Learning > skills
Definition:
rpg_class.h:39
LDB_Reader::ChunkClass::exp_base
@ exp_base
Definition:
ldb_chunks.h:306
LDB_Reader::ChunkClass::lock_equipment
@ lock_equipment
Definition:
ldb_chunks.h:298
RPG::Class::parameters
Parameters parameters
Definition:
rpg_class.h:34
LDB_Reader::ChunkClass::battle_commands
@ battle_commands
Definition:
ldb_chunks.h:324
RPG::Class::lock_equipment
bool lock_equipment
Definition:
rpg_class.h:31
LDB_Reader::ChunkClass::auto_battle
@ auto_battle
Definition:
ldb_chunks.h:300
LDB_Reader::ChunkClass::state_ranks_size
@ state_ranks_size
Definition:
ldb_chunks.h:316
LDB_Reader::ChunkClass::state_ranks
@ state_ranks
Definition:
ldb_chunks.h:318
LDB_Reader::ChunkClass::skills
@ skills
Definition:
ldb_chunks.h:314
LDB_Reader::ChunkClass::exp_inflation
@ exp_inflation
Definition:
ldb_chunks.h:308
LDB_Reader::ChunkClass::super_guard
@ super_guard
Definition:
ldb_chunks.h:302
LDB_Reader::ChunkClass::parameters
@ parameters
Definition:
ldb_chunks.h:304
reader_struct_impl.h
RPG::Class::name
std::string name
Definition:
rpg_class.h:29
RPG::Class::exp_correction
int32_t exp_correction
Definition:
rpg_class.h:37
LDB_Reader::ChunkClass::attribute_ranks_size
@ attribute_ranks_size
Definition:
ldb_chunks.h:320
RPG::Class::exp_inflation
int32_t exp_inflation
Definition:
rpg_class.h:36
ldb_reader.h
src
generated
ldb_class.cpp
Generated on Sun Aug 2 2020 00:00:00 for liblcf by
1.8.18