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/parameters.h"
14 
15 namespace lcf {
16 namespace rpg {
17 
operator <<(std::ostream & os,const Parameters & obj)18 std::ostream& operator<<(std::ostream& os, const Parameters& obj) {
19 	os << "Parameters{";
20 	os << "maxhp=";
21 	for (size_t i = 0; i < obj.maxhp.size(); ++i) {
22 		os << (i == 0 ? "[" : ", ") << obj.maxhp[i];
23 	}
24 	os << "]";
25 	os << ", maxsp=";
26 	for (size_t i = 0; i < obj.maxsp.size(); ++i) {
27 		os << (i == 0 ? "[" : ", ") << obj.maxsp[i];
28 	}
29 	os << "]";
30 	os << ", attack=";
31 	for (size_t i = 0; i < obj.attack.size(); ++i) {
32 		os << (i == 0 ? "[" : ", ") << obj.attack[i];
33 	}
34 	os << "]";
35 	os << ", defense=";
36 	for (size_t i = 0; i < obj.defense.size(); ++i) {
37 		os << (i == 0 ? "[" : ", ") << obj.defense[i];
38 	}
39 	os << "]";
40 	os << ", spirit=";
41 	for (size_t i = 0; i < obj.spirit.size(); ++i) {
42 		os << (i == 0 ? "[" : ", ") << obj.spirit[i];
43 	}
44 	os << "]";
45 	os << ", agility=";
46 	for (size_t i = 0; i < obj.agility.size(); ++i) {
47 		os << (i == 0 ? "[" : ", ") << obj.agility[i];
48 	}
49 	os << "]";
50 	os << "}";
51 	return os;
52 }
53 
54 } // namespace rpg
55 } // namespace lcf
56