liblcf
Loading...
Searching...
No Matches
ldb_chipset.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 Chipset.
20
21template <>
22char const* const Struct<rpg::Chipset>::name = "Chipset";
23static TypedField<rpg::Chipset, DBString> static_name(
24 &rpg::Chipset::name,
25 LDB_Reader::ChunkChipset::name,
26 "name",
27 0,
28 0
29);
30static TypedField<rpg::Chipset, DBString> static_chipset_name(
31 &rpg::Chipset::chipset_name,
32 LDB_Reader::ChunkChipset::chipset_name,
33 "chipset_name",
34 0,
35 0
36);
37static TypedField<rpg::Chipset, std::vector<int16_t>> static_terrain_data(
38 &rpg::Chipset::terrain_data,
39 LDB_Reader::ChunkChipset::terrain_data,
40 "terrain_data",
41 0,
42 0
43);
44static TypedField<rpg::Chipset, std::vector<uint8_t>> static_passable_data_lower(
45 &rpg::Chipset::passable_data_lower,
46 LDB_Reader::ChunkChipset::passable_data_lower,
47 "passable_data_lower",
48 0,
49 0
50);
51static TypedField<rpg::Chipset, std::vector<uint8_t>> static_passable_data_upper(
52 &rpg::Chipset::passable_data_upper,
53 LDB_Reader::ChunkChipset::passable_data_upper,
54 "passable_data_upper",
55 0,
56 0
57);
58static TypedField<rpg::Chipset, int32_t> static_animation_type(
59 &rpg::Chipset::animation_type,
60 LDB_Reader::ChunkChipset::animation_type,
61 "animation_type",
62 0,
63 0
64);
65static TypedField<rpg::Chipset, int32_t> static_animation_speed(
66 &rpg::Chipset::animation_speed,
67 LDB_Reader::ChunkChipset::animation_speed,
68 "animation_speed",
69 0,
70 0
71);
72
73
74template <>
76 &static_name,
77 &static_chipset_name,
78 &static_terrain_data,
79 &static_passable_data_lower,
80 &static_passable_data_upper,
81 &static_animation_type,
82 &static_animation_speed,
83 NULL
84};
85
86template class Struct<rpg::Chipset>;
87
88} //namespace lcf
Definition: dbarray.cpp:13