1 /* !!!! GENERATED FILE - DO NOT EDIT !!!!
2  * --------------------------------------
3  *
4  * This file is part of liblcf. Copyright (c) 2021 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 
17 namespace lcf {
18 
19 // Read Learning.
20 
21 template <>
22 char const* const Struct<rpg::Learning>::name = "Learning";
23 static TypedField<rpg::Learning, int32_t> static_level(
24 	&rpg::Learning::level,
25 	LDB_Reader::ChunkLearning::level,
26 	"level",
27 	0,
28 	0
29 );
30 static TypedField<rpg::Learning, int32_t> static_skill_id(
31 	&rpg::Learning::skill_id,
32 	LDB_Reader::ChunkLearning::skill_id,
33 	"skill_id",
34 	0,
35 	0
36 );
37 
38 
39 template <>
40 Field<rpg::Learning> const* Struct<rpg::Learning>::fields[] = {
41 	&static_level,
42 	&static_skill_id,
43 	NULL
44 };
45 
46 template class Struct<rpg::Learning>;
47 
48 } //namespace lcf
49