liblcf
lsd_savetitle.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 SaveTitle.
18 
19 template <>
20 char const* const Struct<RPG::SaveTitle>::name = "SaveTitle";
21 static TypedField<RPG::SaveTitle, double> static_timestamp(
24  "timestamp",
25  0,
26  0
27 );
28 static TypedField<RPG::SaveTitle, std::string> static_hero_name(
31  "hero_name",
32  0,
33  0
34 );
35 static TypedField<RPG::SaveTitle, int32_t> static_hero_level(
38  "hero_level",
39  0,
40  0
41 );
42 static TypedField<RPG::SaveTitle, int32_t> static_hero_hp(
45  "hero_hp",
46  0,
47  0
48 );
49 static TypedField<RPG::SaveTitle, std::string> static_face1_name(
52  "face1_name",
53  0,
54  0
55 );
56 static TypedField<RPG::SaveTitle, int32_t> static_face1_id(
59  "face1_id",
60  0,
61  0
62 );
63 static TypedField<RPG::SaveTitle, std::string> static_face2_name(
66  "face2_name",
67  0,
68  0
69 );
70 static TypedField<RPG::SaveTitle, int32_t> static_face2_id(
73  "face2_id",
74  0,
75  0
76 );
77 static TypedField<RPG::SaveTitle, std::string> static_face3_name(
80  "face3_name",
81  0,
82  0
83 );
84 static TypedField<RPG::SaveTitle, int32_t> static_face3_id(
87  "face3_id",
88  0,
89  0
90 );
91 static TypedField<RPG::SaveTitle, std::string> static_face4_name(
94  "face4_name",
95  0,
96  0
97 );
98 static TypedField<RPG::SaveTitle, int32_t> static_face4_id(
101  "face4_id",
102  0,
103  0
104 );
105 
106 
107 template <>
109  &static_timestamp,
110  &static_hero_name,
111  &static_hero_level,
112  &static_hero_hp,
113  &static_face1_name,
114  &static_face1_id,
115  &static_face2_name,
116  &static_face2_id,
117  &static_face3_name,
118  &static_face3_id,
119  &static_face4_name,
120  &static_face4_id,
121  NULL
122 };
123 
124 template class Struct<RPG::SaveTitle>;
std::string face2_name
Definition: rpg_savetitle.h:31
int32_t face2_id
Definition: rpg_savetitle.h:32
int32_t face3_id
Definition: rpg_savetitle.h:34
int32_t face1_id
Definition: rpg_savetitle.h:30
std::string hero_name
Definition: rpg_savetitle.h:26
int32_t hero_level
Definition: rpg_savetitle.h:27
int32_t face4_id
Definition: rpg_savetitle.h:36
std::string face3_name
Definition: rpg_savetitle.h:33
std::string face4_name
Definition: rpg_savetitle.h:35
std::string face1_name
Definition: rpg_savetitle.h:29