liblcf
lmt_encounter.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 "lmt_reader.h"
14 #include "lmt_chunks.h"
15 #include "reader_struct_impl.h"
16 
17 // Read Encounter.
18 
19 template <>
20 char const* const Struct<RPG::Encounter>::name = "Encounter";
21 static TypedField<RPG::Encounter, int32_t> static_troop_id(
24  "troop_id",
25  0,
26  0
27 );
28 
29 
30 template <>
32  &static_troop_id,
33  NULL
34 };
35 
36 template class Struct<RPG::Encounter>;
Field
Definition: reader_struct.h:315
TypedField
Definition: reader_struct.h:348
Struct
Definition: reader_struct.h:43
lmt_reader.h
RPG::Encounter::troop_id
int32_t troop_id
Definition: rpg_encounter.h:22
lmt_chunks.h
reader_struct_impl.h
LMT_Reader::ChunkEncounter::troop_id
@ troop_id
Definition: lmt_chunks.h:22