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/lmt/reader.h" 14 #include "lcf/lmt/chunks.h" 15 #include "reader_struct_impl.h" 16 17 namespace lcf { 18 19 // Read Encounter. 20 21 template <> 22 char const* const Struct<rpg::Encounter>::name = "Encounter"; 23 static TypedField<rpg::Encounter, int32_t> static_troop_id( 24 &rpg::Encounter::troop_id, 25 LMT_Reader::ChunkEncounter::troop_id, 26 "troop_id", 27 0, 28 0 29 ); 30 31 32 template <> 33 Field<rpg::Encounter> const* Struct<rpg::Encounter>::fields[] = { 34 &static_troop_id, 35 NULL 36 }; 37 38 template class Struct<rpg::Encounter>; 39 40 } //namespace lcf 41