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 BattleCommands. 20 21 template <> 22 char const* const Struct<rpg::BattleCommands>::name = "BattleCommands"; 23 static TypedField<rpg::BattleCommands, int32_t> static_placement( 24 &rpg::BattleCommands::placement, 25 LDB_Reader::ChunkBattleCommands::placement, 26 "placement", 27 0, 28 0 29 ); 30 static TypedField<rpg::BattleCommands, bool> static_death_handler_unused( 31 &rpg::BattleCommands::death_handler_unused, 32 LDB_Reader::ChunkBattleCommands::death_handler_unused, 33 "death_handler_unused", 34 0, 35 1 36 ); 37 static TypedField<rpg::BattleCommands, int32_t> static_row( 38 &rpg::BattleCommands::row, 39 LDB_Reader::ChunkBattleCommands::row, 40 "row", 41 0, 42 0 43 ); 44 static TypedField<rpg::BattleCommands, int32_t> static_battle_type( 45 &rpg::BattleCommands::battle_type, 46 LDB_Reader::ChunkBattleCommands::battle_type, 47 "battle_type", 48 0, 49 0 50 ); 51 static TypedField<rpg::BattleCommands, bool> static_unused_display_normal_parameters( 52 &rpg::BattleCommands::unused_display_normal_parameters, 53 LDB_Reader::ChunkBattleCommands::unused_display_normal_parameters, 54 "unused_display_normal_parameters", 55 0, 56 0 57 ); 58 static TypedField<rpg::BattleCommands, std::vector<rpg::BattleCommand>> static_commands( 59 &rpg::BattleCommands::commands, 60 LDB_Reader::ChunkBattleCommands::commands, 61 "commands", 62 1, 63 0 64 ); 65 static TypedField<rpg::BattleCommands, bool> static_death_handler( 66 &rpg::BattleCommands::death_handler, 67 LDB_Reader::ChunkBattleCommands::death_handler, 68 "death_handler", 69 0, 70 1 71 ); 72 static TypedField<rpg::BattleCommands, int32_t> static_death_event( 73 &rpg::BattleCommands::death_event, 74 LDB_Reader::ChunkBattleCommands::death_event, 75 "death_event", 76 0, 77 0 78 ); 79 static TypedField<rpg::BattleCommands, int32_t> static_window_size( 80 &rpg::BattleCommands::window_size, 81 LDB_Reader::ChunkBattleCommands::window_size, 82 "window_size", 83 0, 84 0 85 ); 86 static TypedField<rpg::BattleCommands, int32_t> static_transparency( 87 &rpg::BattleCommands::transparency, 88 LDB_Reader::ChunkBattleCommands::transparency, 89 "transparency", 90 0, 91 0 92 ); 93 static TypedField<rpg::BattleCommands, bool> static_death_teleport( 94 &rpg::BattleCommands::death_teleport, 95 LDB_Reader::ChunkBattleCommands::death_teleport, 96 "death_teleport", 97 0, 98 0 99 ); 100 static TypedField<rpg::BattleCommands, int32_t> static_death_teleport_id( 101 &rpg::BattleCommands::death_teleport_id, 102 LDB_Reader::ChunkBattleCommands::death_teleport_id, 103 "death_teleport_id", 104 0, 105 0 106 ); 107 static TypedField<rpg::BattleCommands, int32_t> static_death_teleport_x( 108 &rpg::BattleCommands::death_teleport_x, 109 LDB_Reader::ChunkBattleCommands::death_teleport_x, 110 "death_teleport_x", 111 0, 112 0 113 ); 114 static TypedField<rpg::BattleCommands, int32_t> static_death_teleport_y( 115 &rpg::BattleCommands::death_teleport_y, 116 LDB_Reader::ChunkBattleCommands::death_teleport_y, 117 "death_teleport_y", 118 0, 119 0 120 ); 121 static TypedField<rpg::BattleCommands, int32_t> static_death_teleport_face( 122 &rpg::BattleCommands::death_teleport_face, 123 LDB_Reader::ChunkBattleCommands::death_teleport_face, 124 "death_teleport_face", 125 0, 126 0 127 ); 128 static TypedField<rpg::BattleCommands, int32_t> static_easyrpg_default_atb_mode( 129 &rpg::BattleCommands::easyrpg_default_atb_mode, 130 LDB_Reader::ChunkBattleCommands::easyrpg_default_atb_mode, 131 "easyrpg_default_atb_mode", 132 0, 133 1 134 ); 135 static TypedField<rpg::BattleCommands, bool> static_easyrpg_enable_battle_row_command( 136 &rpg::BattleCommands::easyrpg_enable_battle_row_command, 137 LDB_Reader::ChunkBattleCommands::easyrpg_enable_battle_row_command, 138 "easyrpg_enable_battle_row_command", 139 0, 140 1 141 ); 142 static TypedField<rpg::BattleCommands, bool> static_easyrpg_sequential_order( 143 &rpg::BattleCommands::easyrpg_sequential_order, 144 LDB_Reader::ChunkBattleCommands::easyrpg_sequential_order, 145 "easyrpg_sequential_order", 146 0, 147 1 148 ); 149 150 151 template <> 152 Field<rpg::BattleCommands> const* Struct<rpg::BattleCommands>::fields[] = { 153 &static_placement, 154 &static_death_handler_unused, 155 &static_row, 156 &static_battle_type, 157 &static_unused_display_normal_parameters, 158 &static_commands, 159 &static_death_handler, 160 &static_death_event, 161 &static_window_size, 162 &static_transparency, 163 &static_death_teleport, 164 &static_death_teleport_id, 165 &static_death_teleport_x, 166 &static_death_teleport_y, 167 &static_death_teleport_face, 168 &static_easyrpg_default_atb_mode, 169 &static_easyrpg_enable_battle_row_command, 170 &static_easyrpg_sequential_order, 171 NULL 172 }; 173 174 template class Struct<rpg::BattleCommands>; 175 176 } //namespace lcf 177