liblcf
Loading...
Searching...
No Matches
ldb_enemyaction.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 EnemyAction.
20
21template <>
22char const* const Struct<rpg::EnemyAction>::name = "EnemyAction";
24 &rpg::EnemyAction::kind,
25 LDB_Reader::ChunkEnemyAction::kind,
26 "kind",
27 1,
28 0
29);
31 &rpg::EnemyAction::basic,
32 LDB_Reader::ChunkEnemyAction::basic,
33 "basic",
34 1,
35 0
36);
37static TypedField<rpg::EnemyAction, int32_t> static_skill_id(
38 &rpg::EnemyAction::skill_id,
39 LDB_Reader::ChunkEnemyAction::skill_id,
40 "skill_id",
41 0,
42 0
43);
44static TypedField<rpg::EnemyAction, int32_t> static_enemy_id(
45 &rpg::EnemyAction::enemy_id,
46 LDB_Reader::ChunkEnemyAction::enemy_id,
47 "enemy_id",
48 0,
49 0
50);
51static TypedField<rpg::EnemyAction, int32_t> static_condition_type(
52 &rpg::EnemyAction::condition_type,
53 LDB_Reader::ChunkEnemyAction::condition_type,
54 "condition_type",
55 1,
56 0
57);
58static TypedField<rpg::EnemyAction, int32_t> static_condition_param1(
59 &rpg::EnemyAction::condition_param1,
60 LDB_Reader::ChunkEnemyAction::condition_param1,
61 "condition_param1",
62 0,
63 0
64);
65static TypedField<rpg::EnemyAction, int32_t> static_condition_param2(
66 &rpg::EnemyAction::condition_param2,
67 LDB_Reader::ChunkEnemyAction::condition_param2,
68 "condition_param2",
69 0,
70 0
71);
72static TypedField<rpg::EnemyAction, int32_t> static_switch_id(
73 &rpg::EnemyAction::switch_id,
74 LDB_Reader::ChunkEnemyAction::switch_id,
75 "switch_id",
76 0,
77 0
78);
79static TypedField<rpg::EnemyAction, bool> static_switch_on(
80 &rpg::EnemyAction::switch_on,
81 LDB_Reader::ChunkEnemyAction::switch_on,
82 "switch_on",
83 0,
84 0
85);
86static TypedField<rpg::EnemyAction, int32_t> static_switch_on_id(
87 &rpg::EnemyAction::switch_on_id,
88 LDB_Reader::ChunkEnemyAction::switch_on_id,
89 "switch_on_id",
90 0,
91 0
92);
93static TypedField<rpg::EnemyAction, bool> static_switch_off(
94 &rpg::EnemyAction::switch_off,
95 LDB_Reader::ChunkEnemyAction::switch_off,
96 "switch_off",
97 0,
98 0
99);
100static TypedField<rpg::EnemyAction, int32_t> static_switch_off_id(
101 &rpg::EnemyAction::switch_off_id,
102 LDB_Reader::ChunkEnemyAction::switch_off_id,
103 "switch_off_id",
104 0,
105 0
106);
107static TypedField<rpg::EnemyAction, int32_t> static_rating(
108 &rpg::EnemyAction::rating,
109 LDB_Reader::ChunkEnemyAction::rating,
110 "rating",
111 0,
112 0
113);
114
115
116template <>
118 &static_kind,
119 &static_basic,
120 &static_skill_id,
121 &static_enemy_id,
122 &static_condition_type,
123 &static_condition_param1,
124 &static_condition_param2,
125 &static_switch_id,
126 &static_switch_on,
127 &static_switch_on_id,
128 &static_switch_off,
129 &static_switch_off_id,
130 &static_rating,
131 NULL
132};
133
134template class Struct<rpg::EnemyAction>;
135
136} //namespace lcf
Definition: dbarray.cpp:13