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/eventpagecondition.h"
14 
15 namespace lcf {
16 namespace rpg {
17 
operator <<(std::ostream & os,const EventPageCondition::Flags & obj)18 std::ostream& operator<<(std::ostream& os, const EventPageCondition::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 EventPageCondition & obj)26 std::ostream& operator<<(std::ostream& os, const EventPageCondition& obj) {
27 	os << "EventPageCondition{";
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 << ", item_id="<< obj.item_id;
34 	os << ", actor_id="<< obj.actor_id;
35 	os << ", timer_sec="<< obj.timer_sec;
36 	os << ", timer2_sec="<< obj.timer2_sec;
37 	os << ", compare_operator="<< obj.compare_operator;
38 	os << "}";
39 	return os;
40 }
41 
42 } // namespace rpg
43 } // namespace lcf
44