liblcf
lsd_saveactor.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 "
lsd_reader.h
"
14
#include "
lsd_chunks.h
"
15
#include "
reader_struct_impl.h
"
16
17
// Read SaveActor.
18
19
template
<>
20
char
const
*
const
Struct<RPG::SaveActor>::name
=
"SaveActor"
;
21
static
TypedField<RPG::SaveActor, std::string>
static_name(
22
&
RPG::SaveActor::name
,
23
LSD_Reader::ChunkSaveActor::name
,
24
"name"
,
25
1,
26
0
27
);
28
static
TypedField<RPG::SaveActor, std::string>
static_title(
29
&
RPG::SaveActor::title
,
30
LSD_Reader::ChunkSaveActor::title
,
31
"title"
,
32
1,
33
0
34
);
35
static
TypedField<RPG::SaveActor, std::string>
static_sprite_name(
36
&
RPG::SaveActor::sprite_name
,
37
LSD_Reader::ChunkSaveActor::sprite_name
,
38
"sprite_name"
,
39
0,
40
0
41
);
42
static
TypedField<RPG::SaveActor, int32_t>
static_sprite_id(
43
&
RPG::SaveActor::sprite_id
,
44
LSD_Reader::ChunkSaveActor::sprite_id
,
45
"sprite_id"
,
46
0,
47
0
48
);
49
static
TypedField<RPG::SaveActor, int32_t>
static_transparency(
50
&
RPG::SaveActor::transparency
,
51
LSD_Reader::ChunkSaveActor::transparency
,
52
"transparency"
,
53
0,
54
0
55
);
56
static
TypedField<RPG::SaveActor, std::string>
static_face_name(
57
&
RPG::SaveActor::face_name
,
58
LSD_Reader::ChunkSaveActor::face_name
,
59
"face_name"
,
60
0,
61
0
62
);
63
static
TypedField<RPG::SaveActor, int32_t>
static_face_id(
64
&
RPG::SaveActor::face_id
,
65
LSD_Reader::ChunkSaveActor::face_id
,
66
"face_id"
,
67
0,
68
0
69
);
70
static
TypedField<RPG::SaveActor, int32_t>
static_level(
71
&
RPG::SaveActor::level
,
72
LSD_Reader::ChunkSaveActor::level
,
73
"level"
,
74
0,
75
0
76
);
77
static
TypedField<RPG::SaveActor, int32_t>
static_exp(
78
&
RPG::SaveActor::exp
,
79
LSD_Reader::ChunkSaveActor::exp
,
80
"exp"
,
81
0,
82
0
83
);
84
static
TypedField<RPG::SaveActor, int32_t>
static_hp_mod(
85
&
RPG::SaveActor::hp_mod
,
86
LSD_Reader::ChunkSaveActor::hp_mod
,
87
"hp_mod"
,
88
0,
89
0
90
);
91
static
TypedField<RPG::SaveActor, int32_t>
static_sp_mod(
92
&
RPG::SaveActor::sp_mod
,
93
LSD_Reader::ChunkSaveActor::sp_mod
,
94
"sp_mod"
,
95
0,
96
0
97
);
98
static
TypedField<RPG::SaveActor, int32_t>
static_attack_mod(
99
&
RPG::SaveActor::attack_mod
,
100
LSD_Reader::ChunkSaveActor::attack_mod
,
101
"attack_mod"
,
102
0,
103
0
104
);
105
static
TypedField<RPG::SaveActor, int32_t>
static_defense_mod(
106
&
RPG::SaveActor::defense_mod
,
107
LSD_Reader::ChunkSaveActor::defense_mod
,
108
"defense_mod"
,
109
0,
110
0
111
);
112
static
TypedField<RPG::SaveActor, int32_t>
static_spirit_mod(
113
&
RPG::SaveActor::spirit_mod
,
114
LSD_Reader::ChunkSaveActor::spirit_mod
,
115
"spirit_mod"
,
116
0,
117
0
118
);
119
static
TypedField<RPG::SaveActor, int32_t>
static_agility_mod(
120
&
RPG::SaveActor::agility_mod
,
121
LSD_Reader::ChunkSaveActor::agility_mod
,
122
"agility_mod"
,
123
0,
124
0
125
);
126
static
TypedField<RPG::SaveActor, int32_t>
static_skills_size(
127
&
RPG::SaveActor::skills_size
,
128
LSD_Reader::ChunkSaveActor::skills_size
,
129
"skills_size"
,
130
0,
131
0
132
);
133
static
TypedField<RPG::SaveActor, std::vector<int16_t>
> static_skills(
134
&
RPG::SaveActor::skills
,
135
LSD_Reader::ChunkSaveActor::skills
,
136
"skills"
,
137
1,
138
0
139
);
140
static
TypedField<RPG::SaveActor, std::vector<int16_t>
> static_equipped(
141
&
RPG::SaveActor::equipped
,
142
LSD_Reader::ChunkSaveActor::equipped
,
143
"equipped"
,
144
1,
145
0
146
);
147
static
TypedField<RPG::SaveActor, int32_t>
static_current_hp(
148
&
RPG::SaveActor::current_hp
,
149
LSD_Reader::ChunkSaveActor::current_hp
,
150
"current_hp"
,
151
0,
152
0
153
);
154
static
TypedField<RPG::SaveActor, int32_t>
static_current_sp(
155
&
RPG::SaveActor::current_sp
,
156
LSD_Reader::ChunkSaveActor::current_sp
,
157
"current_sp"
,
158
0,
159
0
160
);
161
static
TypedField<RPG::SaveActor, std::vector<int32_t>
> static_battle_commands(
162
&
RPG::SaveActor::battle_commands
,
163
LSD_Reader::ChunkSaveActor::battle_commands
,
164
"battle_commands"
,
165
0,
166
1
167
);
168
static
CountField<RPG::SaveActor, int16_t>
static_size_status(
169
&
RPG::SaveActor::status
,
170
LSD_Reader::ChunkSaveActor::status_size
,
171
0,
172
0
173
);
174
static
TypedField<RPG::SaveActor, std::vector<int16_t>
> static_status(
175
&
RPG::SaveActor::status
,
176
LSD_Reader::ChunkSaveActor::status
,
177
"status"
,
178
1,
179
0
180
);
181
static
TypedField<RPG::SaveActor, bool>
static_changed_battle_commands(
182
&
RPG::SaveActor::changed_battle_commands
,
183
LSD_Reader::ChunkSaveActor::changed_battle_commands
,
184
"changed_battle_commands"
,
185
0,
186
0
187
);
188
static
TypedField<RPG::SaveActor, int32_t>
static_class_id(
189
&
RPG::SaveActor::class_id
,
190
LSD_Reader::ChunkSaveActor::class_id
,
191
"class_id"
,
192
0,
193
0
194
);
195
static
TypedField<RPG::SaveActor, int32_t>
static_row(
196
&
RPG::SaveActor::row
,
197
LSD_Reader::ChunkSaveActor::row
,
198
"row"
,
199
0,
200
1
201
);
202
static
TypedField<RPG::SaveActor, bool>
static_two_weapon(
203
&
RPG::SaveActor::two_weapon
,
204
LSD_Reader::ChunkSaveActor::two_weapon
,
205
"two_weapon"
,
206
0,
207
1
208
);
209
static
TypedField<RPG::SaveActor, bool>
static_lock_equipment(
210
&
RPG::SaveActor::lock_equipment
,
211
LSD_Reader::ChunkSaveActor::lock_equipment
,
212
"lock_equipment"
,
213
0,
214
1
215
);
216
static
TypedField<RPG::SaveActor, bool>
static_auto_battle(
217
&
RPG::SaveActor::auto_battle
,
218
LSD_Reader::ChunkSaveActor::auto_battle
,
219
"auto_battle"
,
220
0,
221
1
222
);
223
static
TypedField<RPG::SaveActor, bool>
static_super_guard(
224
&
RPG::SaveActor::super_guard
,
225
LSD_Reader::ChunkSaveActor::super_guard
,
226
"super_guard"
,
227
0,
228
1
229
);
230
static
TypedField<RPG::SaveActor, int32_t>
static_battler_animation(
231
&
RPG::SaveActor::battler_animation
,
232
LSD_Reader::ChunkSaveActor::battler_animation
,
233
"battler_animation"
,
234
0,
235
1
236
);
237
238
239
template
<>
240
Field<RPG::SaveActor>
const
*
Struct<RPG::SaveActor>::fields
[] = {
241
&static_name,
242
&static_title,
243
&static_sprite_name,
244
&static_sprite_id,
245
&static_transparency,
246
&static_face_name,
247
&static_face_id,
248
&static_level,
249
&static_exp,
250
&static_hp_mod,
251
&static_sp_mod,
252
&static_attack_mod,
253
&static_defense_mod,
254
&static_spirit_mod,
255
&static_agility_mod,
256
&static_skills_size,
257
&static_skills,
258
&static_equipped,
259
&static_current_hp,
260
&static_current_sp,
261
&static_battle_commands,
262
&static_size_status,
263
&static_status,
264
&static_changed_battle_commands,
265
&static_class_id,
266
&static_row,
267
&static_two_weapon,
268
&static_lock_equipment,
269
&static_auto_battle,
270
&static_super_guard,
271
&static_battler_animation,
272
NULL
273
};
274
275
template
class
Struct<RPG::SaveActor>
;
LSD_Reader::ChunkSaveActor::class_id
Definition:
lsd_chunks.h:566
LSD_Reader::ChunkSaveActor::changed_battle_commands
Definition:
lsd_chunks.h:564
LSD_Reader::ChunkSaveActor::current_sp
Definition:
lsd_chunks.h:556
RPG::SaveActor::lock_equipment
bool lock_equipment
Definition:
rpg_saveactor.h:66
LSD_Reader::ChunkSaveActor::skills_size
Definition:
lsd_chunks.h:548
TypedField
Definition:
reader_struct.h:348
LSD_Reader::ChunkSaveActor::attack_mod
Definition:
lsd_chunks.h:540
RPG::SaveActor::transparency
int32_t transparency
Definition:
rpg_saveactor.h:44
LSD_Reader::ChunkSaveActor::exp
Definition:
lsd_chunks.h:534
LSD_Reader::ChunkSaveActor::sprite_name
Definition:
lsd_chunks.h:522
RPG::SaveActor::auto_battle
bool auto_battle
Definition:
rpg_saveactor.h:67
LSD_Reader::ChunkSaveActor::sp_mod
Definition:
lsd_chunks.h:538
RPG::SaveActor::hp_mod
int32_t hp_mod
Definition:
rpg_saveactor.h:49
LSD_Reader::ChunkSaveActor::row
Definition:
lsd_chunks.h:568
RPG::SaveActor::face_name
std::string face_name
Definition:
rpg_saveactor.h:45
RPG::SaveActor::current_hp
int32_t current_hp
Definition:
rpg_saveactor.h:58
LSD_Reader::ChunkSaveActor::transparency
Definition:
lsd_chunks.h:526
RPG::SaveActor::super_guard
bool super_guard
Definition:
rpg_saveactor.h:68
LSD_Reader::ChunkSaveActor::skills
Definition:
lsd_chunks.h:550
RPG::SaveActor::changed_battle_commands
bool changed_battle_commands
Definition:
rpg_saveactor.h:62
RPG::SaveActor::sprite_id
int32_t sprite_id
Definition:
rpg_saveactor.h:43
CountField
Definition:
reader_struct.h:473
LSD_Reader::ChunkSaveActor::name
Definition:
lsd_chunks.h:518
RPG::SaveActor::sp_mod
int32_t sp_mod
Definition:
rpg_saveactor.h:50
LSD_Reader::ChunkSaveActor::sprite_id
Definition:
lsd_chunks.h:524
RPG::SaveActor::spirit_mod
int32_t spirit_mod
Definition:
rpg_saveactor.h:53
LSD_Reader::ChunkSaveActor::face_id
Definition:
lsd_chunks.h:530
RPG::SaveActor::exp
int32_t exp
Definition:
rpg_saveactor.h:48
RPG::SaveActor::row
int32_t row
Definition:
rpg_saveactor.h:64
RPG::SaveActor::skills
std::vector< int16_t > skills
Definition:
rpg_saveactor.h:56
RPG::SaveActor::attack_mod
int32_t attack_mod
Definition:
rpg_saveactor.h:51
RPG::SaveActor::agility_mod
int32_t agility_mod
Definition:
rpg_saveactor.h:54
RPG::SaveActor::name
std::string name
Definition:
rpg_saveactor.h:40
RPG::SaveActor::status
std::vector< int16_t > status
Definition:
rpg_saveactor.h:61
LSD_Reader::ChunkSaveActor::lock_equipment
Definition:
lsd_chunks.h:572
LSD_Reader::ChunkSaveActor::agility_mod
Definition:
lsd_chunks.h:546
LSD_Reader::ChunkSaveActor::level
Definition:
lsd_chunks.h:532
RPG::SaveActor::equipped
std::vector< int16_t > equipped
Definition:
rpg_saveactor.h:57
LSD_Reader::ChunkSaveActor::super_guard
Definition:
lsd_chunks.h:576
LSD_Reader::ChunkSaveActor::defense_mod
Definition:
lsd_chunks.h:542
RPG::SaveActor::defense_mod
int32_t defense_mod
Definition:
rpg_saveactor.h:52
RPG::SaveActor::level
int32_t level
Definition:
rpg_saveactor.h:47
RPG::SaveActor::two_weapon
bool two_weapon
Definition:
rpg_saveactor.h:65
LSD_Reader::ChunkSaveActor::auto_battle
Definition:
lsd_chunks.h:574
RPG::SaveActor::sprite_name
std::string sprite_name
Definition:
rpg_saveactor.h:42
RPG::SaveActor::title
std::string title
Definition:
rpg_saveactor.h:41
reader_struct_impl.h
LSD_Reader::ChunkSaveActor::face_name
Definition:
lsd_chunks.h:528
lsd_chunks.h
LSD_Reader::ChunkSaveActor::battler_animation
Definition:
lsd_chunks.h:578
RPG::SaveActor::skills_size
int32_t skills_size
Definition:
rpg_saveactor.h:55
RPG::SaveActor::face_id
int32_t face_id
Definition:
rpg_saveactor.h:46
LSD_Reader::ChunkSaveActor::two_weapon
Definition:
lsd_chunks.h:570
RPG::SaveActor::current_sp
int32_t current_sp
Definition:
rpg_saveactor.h:59
RPG::SaveActor::battle_commands
std::vector< int32_t > battle_commands
Definition:
rpg_saveactor.h:60
RPG::SaveActor::class_id
int32_t class_id
Definition:
rpg_saveactor.h:63
LSD_Reader::ChunkSaveActor::title
Definition:
lsd_chunks.h:520
LSD_Reader::ChunkSaveActor::hp_mod
Definition:
lsd_chunks.h:536
lsd_reader.h
LSD_Reader::ChunkSaveActor::spirit_mod
Definition:
lsd_chunks.h:544
LSD_Reader::ChunkSaveActor::battle_commands
Definition:
lsd_chunks.h:558
LSD_Reader::ChunkSaveActor::status_size
Definition:
lsd_chunks.h:560
LSD_Reader::ChunkSaveActor::equipped
Definition:
lsd_chunks.h:552
LSD_Reader::ChunkSaveActor::status
Definition:
lsd_chunks.h:562
Field
Definition:
reader_struct.h:315
LSD_Reader::ChunkSaveActor::current_hp
Definition:
lsd_chunks.h:554
RPG::SaveActor::battler_animation
int32_t battler_animation
Definition:
rpg_saveactor.h:69
Struct
Definition:
reader_struct.h:43
src
generated
lsd_saveactor.cpp
Generated on Sun Aug 2 2020 00:00:00 for liblcf by
1.8.15