liblcf
ldb_testbattler.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 
17 namespace lcf {
18 
19 // Read TestBattler.
20 
21 template <>
22 char const* const Struct<rpg::TestBattler>::name = "TestBattler";
23 static TypedField<rpg::TestBattler, int32_t> static_actor_id(
24  &rpg::TestBattler::actor_id,
25  LDB_Reader::ChunkTestBattler::actor_id,
26  "actor_id",
27  0,
28  0
29 );
30 static TypedField<rpg::TestBattler, int32_t> static_level(
31  &rpg::TestBattler::level,
32  LDB_Reader::ChunkTestBattler::level,
33  "level",
34  0,
35  0
36 );
37 static TypedField<rpg::TestBattler, int32_t> static_weapon_id(
38  &rpg::TestBattler::weapon_id,
39  LDB_Reader::ChunkTestBattler::weapon_id,
40  "weapon_id",
41  0,
42  0
43 );
44 static TypedField<rpg::TestBattler, int32_t> static_shield_id(
45  &rpg::TestBattler::shield_id,
46  LDB_Reader::ChunkTestBattler::shield_id,
47  "shield_id",
48  0,
49  0
50 );
51 static TypedField<rpg::TestBattler, int32_t> static_armor_id(
52  &rpg::TestBattler::armor_id,
53  LDB_Reader::ChunkTestBattler::armor_id,
54  "armor_id",
55  0,
56  0
57 );
58 static TypedField<rpg::TestBattler, int32_t> static_helmet_id(
59  &rpg::TestBattler::helmet_id,
60  LDB_Reader::ChunkTestBattler::helmet_id,
61  "helmet_id",
62  0,
63  0
64 );
65 static TypedField<rpg::TestBattler, int32_t> static_accessory_id(
66  &rpg::TestBattler::accessory_id,
67  LDB_Reader::ChunkTestBattler::accessory_id,
68  "accessory_id",
69  0,
70  0
71 );
72 
73 
74 template <>
76  &static_actor_id,
77  &static_level,
78  &static_weapon_id,
79  &static_shield_id,
80  &static_armor_id,
81  &static_helmet_id,
82  &static_accessory_id,
83  NULL
84 };
85 
86 template class Struct<rpg::TestBattler>;
87 
88 } //namespace lcf
Definition: dbarray.cpp:13