1 /* !!!! GENERATED FILE - DO NOT EDIT !!!!
2 * --------------------------------------
3 *
4 * This file is part of liblcf. Copyright (c) 2021 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/rpg/trooppagecondition.h"
14
15 namespace lcf {
16 namespace rpg {
17
operator <<(std::ostream & os,const TroopPageCondition::Flags & obj)18 std::ostream& operator<<(std::ostream& os, const TroopPageCondition::Flags& obj) {
19 for (size_t i = 0; i < obj.flags.size(); ++i) {
20 os << (i == 0 ? "[" : ", ") << obj.flags[i];
21 }
22 os << "]";
23 return os;
24 }
25
operator <<(std::ostream & os,const TroopPageCondition & obj)26 std::ostream& operator<<(std::ostream& os, const TroopPageCondition& obj) {
27 os << "TroopPageCondition{";
28 os << "flags="<< obj.flags;
29 os << ", switch_a_id="<< obj.switch_a_id;
30 os << ", switch_b_id="<< obj.switch_b_id;
31 os << ", variable_id="<< obj.variable_id;
32 os << ", variable_value="<< obj.variable_value;
33 os << ", turn_a="<< obj.turn_a;
34 os << ", turn_b="<< obj.turn_b;
35 os << ", fatigue_min="<< obj.fatigue_min;
36 os << ", fatigue_max="<< obj.fatigue_max;
37 os << ", enemy_id="<< obj.enemy_id;
38 os << ", enemy_hp_min="<< obj.enemy_hp_min;
39 os << ", enemy_hp_max="<< obj.enemy_hp_max;
40 os << ", actor_id="<< obj.actor_id;
41 os << ", actor_hp_min="<< obj.actor_hp_min;
42 os << ", actor_hp_max="<< obj.actor_hp_max;
43 os << ", turn_enemy_id="<< obj.turn_enemy_id;
44 os << ", turn_enemy_a="<< obj.turn_enemy_a;
45 os << ", turn_enemy_b="<< obj.turn_enemy_b;
46 os << ", turn_actor_id="<< obj.turn_actor_id;
47 os << ", turn_actor_a="<< obj.turn_actor_a;
48 os << ", turn_actor_b="<< obj.turn_actor_b;
49 os << ", command_actor_id="<< obj.command_actor_id;
50 os << ", command_id="<< obj.command_id;
51 os << "}";
52 return os;
53 }
54
55 } // namespace rpg
56 } // namespace lcf
57