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/lsd/reader.h"
14 #include "lcf/lsd/chunks.h"
15 #include "reader_struct_impl.h"
16 
17 namespace lcf {
18 
19 // Read SaveTitle.
20 
21 template <>
22 char const* const Struct<rpg::SaveTitle>::name = "SaveTitle";
23 static TypedField<rpg::SaveTitle, double> static_timestamp(
24 	&rpg::SaveTitle::timestamp,
25 	LSD_Reader::ChunkSaveTitle::timestamp,
26 	"timestamp",
27 	0,
28 	0
29 );
30 static TypedField<rpg::SaveTitle, std::string> static_hero_name(
31 	&rpg::SaveTitle::hero_name,
32 	LSD_Reader::ChunkSaveTitle::hero_name,
33 	"hero_name",
34 	0,
35 	0
36 );
37 static TypedField<rpg::SaveTitle, int32_t> static_hero_level(
38 	&rpg::SaveTitle::hero_level,
39 	LSD_Reader::ChunkSaveTitle::hero_level,
40 	"hero_level",
41 	0,
42 	0
43 );
44 static TypedField<rpg::SaveTitle, int32_t> static_hero_hp(
45 	&rpg::SaveTitle::hero_hp,
46 	LSD_Reader::ChunkSaveTitle::hero_hp,
47 	"hero_hp",
48 	0,
49 	0
50 );
51 static TypedField<rpg::SaveTitle, std::string> static_face1_name(
52 	&rpg::SaveTitle::face1_name,
53 	LSD_Reader::ChunkSaveTitle::face1_name,
54 	"face1_name",
55 	0,
56 	0
57 );
58 static TypedField<rpg::SaveTitle, int32_t> static_face1_id(
59 	&rpg::SaveTitle::face1_id,
60 	LSD_Reader::ChunkSaveTitle::face1_id,
61 	"face1_id",
62 	0,
63 	0
64 );
65 static TypedField<rpg::SaveTitle, std::string> static_face2_name(
66 	&rpg::SaveTitle::face2_name,
67 	LSD_Reader::ChunkSaveTitle::face2_name,
68 	"face2_name",
69 	0,
70 	0
71 );
72 static TypedField<rpg::SaveTitle, int32_t> static_face2_id(
73 	&rpg::SaveTitle::face2_id,
74 	LSD_Reader::ChunkSaveTitle::face2_id,
75 	"face2_id",
76 	0,
77 	0
78 );
79 static TypedField<rpg::SaveTitle, std::string> static_face3_name(
80 	&rpg::SaveTitle::face3_name,
81 	LSD_Reader::ChunkSaveTitle::face3_name,
82 	"face3_name",
83 	0,
84 	0
85 );
86 static TypedField<rpg::SaveTitle, int32_t> static_face3_id(
87 	&rpg::SaveTitle::face3_id,
88 	LSD_Reader::ChunkSaveTitle::face3_id,
89 	"face3_id",
90 	0,
91 	0
92 );
93 static TypedField<rpg::SaveTitle, std::string> static_face4_name(
94 	&rpg::SaveTitle::face4_name,
95 	LSD_Reader::ChunkSaveTitle::face4_name,
96 	"face4_name",
97 	0,
98 	0
99 );
100 static TypedField<rpg::SaveTitle, int32_t> static_face4_id(
101 	&rpg::SaveTitle::face4_id,
102 	LSD_Reader::ChunkSaveTitle::face4_id,
103 	"face4_id",
104 	0,
105 	0
106 );
107 
108 
109 template <>
110 Field<rpg::SaveTitle> const* Struct<rpg::SaveTitle>::fields[] = {
111 	&static_timestamp,
112 	&static_hero_name,
113 	&static_hero_level,
114 	&static_hero_hp,
115 	&static_face1_name,
116 	&static_face1_id,
117 	&static_face2_name,
118 	&static_face2_id,
119 	&static_face3_name,
120 	&static_face3_id,
121 	&static_face4_name,
122 	&static_face4_id,
123 	NULL
124 };
125 
126 template class Struct<rpg::SaveTitle>;
127 
128 } //namespace lcf
129