liblcf
Loading...
Searching...
No Matches
ldb_troopmember.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) 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
17namespace lcf {
18
19// Read TroopMember.
20
21template <>
22char const* const Struct<rpg::TroopMember>::name = "TroopMember";
23static TypedField<rpg::TroopMember, int32_t> static_enemy_id(
24 &rpg::TroopMember::enemy_id,
25 LDB_Reader::ChunkTroopMember::enemy_id,
26 "enemy_id",
27 0,
28 0
29);
31 &rpg::TroopMember::x,
32 LDB_Reader::ChunkTroopMember::x,
33 "x",
34 0,
35 0
36);
38 &rpg::TroopMember::y,
39 LDB_Reader::ChunkTroopMember::y,
40 "y",
41 0,
42 0
43);
44static TypedField<rpg::TroopMember, bool> static_invisible(
45 &rpg::TroopMember::invisible,
46 LDB_Reader::ChunkTroopMember::invisible,
47 "invisible",
48 0,
49 0
50);
51
52
53template <>
55 &static_enemy_id,
56 &static_x,
57 &static_y,
58 &static_invisible,
59 NULL
60};
61
62template class Struct<rpg::TroopMember>;
63
64} //namespace lcf
static const Field< S > * fields[]
static const char *const name