liblcf
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) 2020 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 "ldb_reader.h"
14 #include "ldb_chunks.h"
15 #include "reader_struct_impl.h"
16 
17 // Read EnemyAction.
18 
19 template <>
20 char const* const Struct<RPG::EnemyAction>::name = "EnemyAction";
21 static TypedField<RPG::EnemyAction, int32_t> static_kind(
24  "kind",
25  1,
26  0
27 );
28 static TypedField<RPG::EnemyAction, int32_t> static_basic(
31  "basic",
32  1,
33  0
34 );
35 static TypedField<RPG::EnemyAction, int32_t> static_skill_id(
38  "skill_id",
39  0,
40  0
41 );
42 static TypedField<RPG::EnemyAction, int32_t> static_enemy_id(
45  "enemy_id",
46  0,
47  0
48 );
49 static TypedField<RPG::EnemyAction, int32_t> static_condition_type(
52  "condition_type",
53  1,
54  0
55 );
56 static TypedField<RPG::EnemyAction, int32_t> static_condition_param1(
59  "condition_param1",
60  0,
61  0
62 );
63 static TypedField<RPG::EnemyAction, int32_t> static_condition_param2(
66  "condition_param2",
67  0,
68  0
69 );
70 static TypedField<RPG::EnemyAction, int32_t> static_switch_id(
73  "switch_id",
74  0,
75  0
76 );
77 static TypedField<RPG::EnemyAction, bool> static_switch_on(
80  "switch_on",
81  0,
82  0
83 );
84 static TypedField<RPG::EnemyAction, int32_t> static_switch_on_id(
87  "switch_on_id",
88  0,
89  0
90 );
91 static TypedField<RPG::EnemyAction, bool> static_switch_off(
94  "switch_off",
95  0,
96  0
97 );
98 static TypedField<RPG::EnemyAction, int32_t> static_switch_off_id(
101  "switch_off_id",
102  0,
103  0
104 );
105 static TypedField<RPG::EnemyAction, int32_t> static_rating(
108  "rating",
109  0,
110  0
111 );
112 
113 
114 template <>
116  &static_kind,
117  &static_basic,
118  &static_skill_id,
119  &static_enemy_id,
120  &static_condition_type,
121  &static_condition_param1,
122  &static_condition_param2,
123  &static_switch_id,
124  &static_switch_on,
125  &static_switch_on_id,
126  &static_switch_off,
127  &static_switch_off_id,
128  &static_rating,
129  NULL
130 };
131 
132 template class Struct<RPG::EnemyAction>;
int32_t condition_param2
int32_t condition_param1