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(
24  "name",
25  0,
26  0
27 );
28 static TypedField<RPG::Class, bool> static_two_weapon(
31  "two_weapon",
32  0,
33  0
34 );
35 static TypedField<RPG::Class, bool> static_lock_equipment(
38  "lock_equipment",
39  0,
40  0
41 );
42 static TypedField<RPG::Class, bool> static_auto_battle(
45  "auto_battle",
46  0,
47  0
48 );
49 static TypedField<RPG::Class, bool> static_super_guard(
52  "super_guard",
53  0,
54  0
55 );
56 static TypedField<RPG::Class, RPG::Parameters> static_parameters(
59  "parameters",
60  0,
61  0
62 );
63 static TypedField<RPG::Class, int32_t> static_exp_base(
66  "exp_base",
67  0,
68  0
69 );
70 static TypedField<RPG::Class, int32_t> static_exp_inflation(
73  "exp_inflation",
74  0,
75  0
76 );
77 static TypedField<RPG::Class, int32_t> static_exp_correction(
80  "exp_correction",
81  0,
82  0
83 );
84 static TypedField<RPG::Class, int32_t> static_battler_animation(
87  "battler_animation",
88  0,
89  0
90 );
94  "skills",
95  1,
96  0
97 );
98 static SizeField<RPG::Class, uint8_t> static_size_state_ranks(
101  0,
102  0
103 );
104 static TypedField<RPG::Class, std::vector<uint8_t>> static_state_ranks(
107  "state_ranks",
108  1,
109  0
110 );
111 static SizeField<RPG::Class, uint8_t> static_size_attribute_ranks(
114  0,
115  0
116 );
117 static TypedField<RPG::Class, std::vector<uint8_t>> static_attribute_ranks(
120  "attribute_ranks",
121  1,
122  0
123 );
124 static TypedField<RPG::Class, std::vector<int32_t>> static_battle_commands(
127  "battle_commands",
128  1,
129  0
130 );
131 
132 
133 template <>
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>;
std::vector< uint8_t > state_ranks
Definition: rpg_class.h:40
std::vector< Learning > skills
Definition: rpg_class.h:39
int32_t exp_inflation
Definition: rpg_class.h:36
bool super_guard
Definition: rpg_class.h:33
Parameters parameters
Definition: rpg_class.h:34
std::string name
Definition: rpg_class.h:29
int32_t exp_correction
Definition: rpg_class.h:37
bool auto_battle
Definition: rpg_class.h:32
int32_t exp_base
Definition: rpg_class.h:35
int32_t battler_animation
Definition: rpg_class.h:38
std::vector< int32_t > battle_commands
Definition: rpg_class.h:42
bool lock_equipment
Definition: rpg_class.h:31
std::vector< uint8_t > attribute_ranks
Definition: rpg_class.h:41
bool two_weapon
Definition: rpg_class.h:30