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 Sound.
20 
21 template <>
22 char const* const Struct<rpg::Sound>::name = "Sound";
23 static TypedField<rpg::Sound, std::string> static_name(
24 	&rpg::Sound::name,
25 	LDB_Reader::ChunkSound::name,
26 	"name",
27 	1,
28 	0
29 );
30 static TypedField<rpg::Sound, int32_t> static_volume(
31 	&rpg::Sound::volume,
32 	LDB_Reader::ChunkSound::volume,
33 	"volume",
34 	0,
35 	0
36 );
37 static TypedField<rpg::Sound, int32_t> static_tempo(
38 	&rpg::Sound::tempo,
39 	LDB_Reader::ChunkSound::tempo,
40 	"tempo",
41 	0,
42 	0
43 );
44 static TypedField<rpg::Sound, int32_t> static_balance(
45 	&rpg::Sound::balance,
46 	LDB_Reader::ChunkSound::balance,
47 	"balance",
48 	0,
49 	0
50 );
51 
52 
53 template <>
54 Field<rpg::Sound> const* Struct<rpg::Sound>::fields[] = {
55 	&static_name,
56 	&static_volume,
57 	&static_tempo,
58 	&static_balance,
59 	NULL
60 };
61 
62 template class Struct<rpg::Sound>;
63 
64 } //namespace lcf
65