liblcf
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ldb_trooppagecondition_flags.cpp
Go to the documentation of this file.
1 /* !!!! GENERATED FILE - DO NOT EDIT !!!! */
2 
3 /*
4  * Copyright (c) 2014 liblcf authors
5  * This file is released under the MIT License
6  * http://opensource.org/licenses/MIT
7  */
8 
9 /*
10  * Headers
11  */
12 #include "ldb_reader.h"
13 #include "ldb_chunks.h"
14 #include "reader_struct.h"
15 
16 
17 // Read TroopPageCondition.
18 
20 
21 template <>
22 char const* const Flags<flags_type>::name("TroopPageCondition_Flags");
23 
24 template <>
26  new Flags<flags_type>::Flag(&flags_type::switch_a, "switch_a" ),
27  new Flags<flags_type>::Flag(&flags_type::switch_b, "switch_b" ),
28  new Flags<flags_type>::Flag(&flags_type::variable, "variable" ),
29  new Flags<flags_type>::Flag(&flags_type::turn, "turn" ),
30  new Flags<flags_type>::Flag(&flags_type::fatigue, "fatigue" ),
31  new Flags<flags_type>::Flag(&flags_type::enemy_hp, "enemy_hp" ),
32  new Flags<flags_type>::Flag(&flags_type::actor_hp, "actor_hp" ),
33  new Flags<flags_type>::Flag(&flags_type::turn_enemy, "turn_enemy" ),
34  new Flags<flags_type>::Flag(&flags_type::turn_actor, "turn_actor" ),
35  new Flags<flags_type>::Flag(&flags_type::command_actor, "command_actor" ),
36  NULL
37 };
38 
39 template <>
40 const uint32_t Flags<flags_type>::max_size = 2;
41 
static const char *const name
RPG::TroopPageCondition::Flags flags_type