liblcf
Loading...
Searching...
No Matches
ldb_state.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 State.
20
21template <>
22char const* const Struct<rpg::State>::name = "State";
24 &rpg::State::name,
25 LDB_Reader::ChunkState::name,
26 "name",
27 0,
28 0
29);
31 &rpg::State::type,
32 LDB_Reader::ChunkState::type,
33 "type",
34 1,
35 0
36);
38 &rpg::State::color,
39 LDB_Reader::ChunkState::color,
40 "color",
41 0,
42 0
43);
45 &rpg::State::priority,
46 LDB_Reader::ChunkState::priority,
47 "priority",
48 0,
49 0
50);
52 &rpg::State::restriction,
53 LDB_Reader::ChunkState::restriction,
54 "restriction",
55 1,
56 0
57);
59 &rpg::State::a_rate,
60 LDB_Reader::ChunkState::a_rate,
61 "a_rate",
62 0,
63 0
64);
66 &rpg::State::b_rate,
67 LDB_Reader::ChunkState::b_rate,
68 "b_rate",
69 0,
70 0
71);
73 &rpg::State::c_rate,
74 LDB_Reader::ChunkState::c_rate,
75 "c_rate",
76 0,
77 0
78);
80 &rpg::State::d_rate,
81 LDB_Reader::ChunkState::d_rate,
82 "d_rate",
83 0,
84 0
85);
87 &rpg::State::e_rate,
88 LDB_Reader::ChunkState::e_rate,
89 "e_rate",
90 0,
91 0
92);
94 &rpg::State::hold_turn,
95 LDB_Reader::ChunkState::hold_turn,
96 "hold_turn",
97 0,
98 0
99);
101 &rpg::State::auto_release_prob,
102 LDB_Reader::ChunkState::auto_release_prob,
103 "auto_release_prob",
104 0,
105 0
106);
108 &rpg::State::release_by_damage,
109 LDB_Reader::ChunkState::release_by_damage,
110 "release_by_damage",
111 0,
112 0
113);
115 &rpg::State::affect_type,
116 LDB_Reader::ChunkState::affect_type,
117 "affect_type",
118 0,
119 1
120);
122 &rpg::State::affect_attack,
123 LDB_Reader::ChunkState::affect_attack,
124 "affect_attack",
125 0,
126 0
127);
129 &rpg::State::affect_defense,
130 LDB_Reader::ChunkState::affect_defense,
131 "affect_defense",
132 0,
133 0
134);
136 &rpg::State::affect_spirit,
137 LDB_Reader::ChunkState::affect_spirit,
138 "affect_spirit",
139 0,
140 0
141);
143 &rpg::State::affect_agility,
144 LDB_Reader::ChunkState::affect_agility,
145 "affect_agility",
146 0,
147 0
148);
150 &rpg::State::reduce_hit_ratio,
151 LDB_Reader::ChunkState::reduce_hit_ratio,
152 "reduce_hit_ratio",
153 0,
154 0
155);
157 &rpg::State::avoid_attacks,
158 LDB_Reader::ChunkState::avoid_attacks,
159 "avoid_attacks",
160 0,
161 1
162);
164 &rpg::State::reflect_magic,
165 LDB_Reader::ChunkState::reflect_magic,
166 "reflect_magic",
167 0,
168 1
169);
171 &rpg::State::cursed,
172 LDB_Reader::ChunkState::cursed,
173 "cursed",
174 0,
175 1
176);
178 &rpg::State::battler_animation_id,
179 LDB_Reader::ChunkState::battler_animation_id,
180 "battler_animation_id",
181 0,
182 1
183);
185 &rpg::State::restrict_skill,
186 LDB_Reader::ChunkState::restrict_skill,
187 "restrict_skill",
188 0,
189 0
190);
192 &rpg::State::restrict_skill_level,
193 LDB_Reader::ChunkState::restrict_skill_level,
194 "restrict_skill_level",
195 0,
196 0
197);
199 &rpg::State::restrict_magic,
200 LDB_Reader::ChunkState::restrict_magic,
201 "restrict_magic",
202 0,
203 0
204);
206 &rpg::State::restrict_magic_level,
207 LDB_Reader::ChunkState::restrict_magic_level,
208 "restrict_magic_level",
209 0,
210 0
211);
213 &rpg::State::hp_change_type,
214 LDB_Reader::ChunkState::hp_change_type,
215 "hp_change_type",
216 0,
217 0
218);
220 &rpg::State::sp_change_type,
221 LDB_Reader::ChunkState::sp_change_type,
222 "sp_change_type",
223 0,
224 0
225);
227 &rpg::State::message_actor,
228 LDB_Reader::ChunkState::message_actor,
229 "message_actor",
230 0,
231 0
232);
234 &rpg::State::message_enemy,
235 LDB_Reader::ChunkState::message_enemy,
236 "message_enemy",
237 0,
238 0
239);
241 &rpg::State::message_already,
242 LDB_Reader::ChunkState::message_already,
243 "message_already",
244 0,
245 0
246);
248 &rpg::State::message_affected,
249 LDB_Reader::ChunkState::message_affected,
250 "message_affected",
251 0,
252 0
253);
255 &rpg::State::message_recovery,
256 LDB_Reader::ChunkState::message_recovery,
257 "message_recovery",
258 0,
259 0
260);
262 &rpg::State::hp_change_max,
263 LDB_Reader::ChunkState::hp_change_max,
264 "hp_change_max",
265 0,
266 0
267);
269 &rpg::State::hp_change_val,
270 LDB_Reader::ChunkState::hp_change_val,
271 "hp_change_val",
272 0,
273 0
274);
276 &rpg::State::hp_change_map_steps,
277 LDB_Reader::ChunkState::hp_change_map_steps,
278 "hp_change_map_steps",
279 0,
280 0
281);
283 &rpg::State::hp_change_map_val,
284 LDB_Reader::ChunkState::hp_change_map_val,
285 "hp_change_map_val",
286 0,
287 0
288);
290 &rpg::State::sp_change_max,
291 LDB_Reader::ChunkState::sp_change_max,
292 "sp_change_max",
293 0,
294 0
295);
297 &rpg::State::sp_change_val,
298 LDB_Reader::ChunkState::sp_change_val,
299 "sp_change_val",
300 0,
301 0
302);
304 &rpg::State::sp_change_map_steps,
305 LDB_Reader::ChunkState::sp_change_map_steps,
306 "sp_change_map_steps",
307 0,
308 0
309);
311 &rpg::State::sp_change_map_val,
312 LDB_Reader::ChunkState::sp_change_map_val,
313 "sp_change_map_val",
314 0,
315 0
316);
318 &rpg::State::easyrpg_immune_states,
319 LDB_Reader::ChunkState::easyrpg_immune_states_size,
320 0,
321 0
322);
324 &rpg::State::easyrpg_immune_states,
325 LDB_Reader::ChunkState::easyrpg_immune_states,
326 "easyrpg_immune_states",
327 0,
328 0
329);
330
331
332template <>
380
381template class Struct<rpg::State>;
382
383} //namespace lcf