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>;
RPG::EnemyAction::switch_on_id
int32_t switch_on_id
Definition: rpg_enemyaction.h:86
ldb_chunks.h
LDB_Reader::ChunkEnemyAction::enemy_id
@ enemy_id
Definition: ldb_chunks.h:566
LDB_Reader::ChunkEnemyAction::kind
@ kind
Definition: ldb_chunks.h:560
RPG::EnemyAction::switch_off_id
int32_t switch_off_id
Definition: rpg_enemyaction.h:88
LDB_Reader::ChunkEnemyAction::switch_id
@ switch_id
Definition: ldb_chunks.h:574
Field
Definition: reader_struct.h:315
TypedField
Definition: reader_struct.h:348
LDB_Reader::ChunkEnemyAction::condition_param1
@ condition_param1
Definition: ldb_chunks.h:570
RPG::EnemyAction::switch_id
int32_t switch_id
Definition: rpg_enemyaction.h:84
Struct
Definition: reader_struct.h:43
LDB_Reader::ChunkEnemyAction::switch_on
@ switch_on
Definition: ldb_chunks.h:576
LDB_Reader::ChunkEnemyAction::condition_param2
@ condition_param2
Definition: ldb_chunks.h:572
LDB_Reader::ChunkEnemyAction::rating
@ rating
Definition: ldb_chunks.h:584
RPG::EnemyAction::basic
int32_t basic
Definition: rpg_enemyaction.h:78
LDB_Reader::ChunkEnemyAction::skill_id
@ skill_id
Definition: ldb_chunks.h:564
RPG::EnemyAction::skill_id
int32_t skill_id
Definition: rpg_enemyaction.h:79
LDB_Reader::ChunkEnemyAction::condition_type
@ condition_type
Definition: ldb_chunks.h:568
RPG::EnemyAction::rating
int32_t rating
Definition: rpg_enemyaction.h:89
RPG::EnemyAction::kind
int32_t kind
Definition: rpg_enemyaction.h:77
RPG::EnemyAction::switch_on
bool switch_on
Definition: rpg_enemyaction.h:85
LDB_Reader::ChunkEnemyAction::switch_off_id
@ switch_off_id
Definition: ldb_chunks.h:582
RPG::EnemyAction::enemy_id
int32_t enemy_id
Definition: rpg_enemyaction.h:80
RPG::EnemyAction::switch_off
bool switch_off
Definition: rpg_enemyaction.h:87
LDB_Reader::ChunkEnemyAction::basic
@ basic
Definition: ldb_chunks.h:562
LDB_Reader::ChunkEnemyAction::switch_on_id
@ switch_on_id
Definition: ldb_chunks.h:578
reader_struct_impl.h
RPG::EnemyAction::condition_type
int32_t condition_type
Definition: rpg_enemyaction.h:81
RPG::EnemyAction::condition_param2
int32_t condition_param2
Definition: rpg_enemyaction.h:83
RPG::EnemyAction::condition_param1
int32_t condition_param1
Definition: rpg_enemyaction.h:82
LDB_Reader::ChunkEnemyAction::switch_off
@ switch_off
Definition: ldb_chunks.h:580
ldb_reader.h