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