liblcf
ldb_battleranimationweapon.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 BattlerAnimationWeapon.
20 
21 template <>
22 char const* const Struct<rpg::BattlerAnimationWeapon>::name = "BattlerAnimationWeapon";
24  &rpg::BattlerAnimationWeapon::name,
25  LDB_Reader::ChunkBattlerAnimationWeapon::name,
26  "name",
27  0,
28  1
29 );
31  &rpg::BattlerAnimationWeapon::weapon_name,
32  LDB_Reader::ChunkBattlerAnimationWeapon::weapon_name,
33  "weapon_name",
34  0,
35  1
36 );
37 static TypedField<rpg::BattlerAnimationWeapon, int32_t> static_weapon_index(
38  &rpg::BattlerAnimationWeapon::weapon_index,
39  LDB_Reader::ChunkBattlerAnimationWeapon::weapon_index,
40  "weapon_index",
41  0,
42  1
43 );
44 
45 
46 template <>
48  &static_name,
49  &static_weapon_name,
50  &static_weapon_index,
51  NULL
52 };
53 
55 
56 } //namespace lcf
Definition: dbarray.cpp:13