liblcf
rpg_chipset.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) 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/chipset.h"
14 
15 namespace lcf {
16 namespace rpg {
17 
18 std::ostream& operator<<(std::ostream& os, const Chipset& obj) {
19  os << "Chipset{";
20  os << "name="<< obj.name;
21  os << ", chipset_name="<< obj.chipset_name;
22  os << ", terrain_data=";
23  for (size_t i = 0; i < obj.terrain_data.size(); ++i) {
24  os << (i == 0 ? "[" : ", ") << obj.terrain_data[i];
25  }
26  os << "]";
27  os << ", passable_data_lower=";
28  for (size_t i = 0; i < obj.passable_data_lower.size(); ++i) {
29  os << (i == 0 ? "[" : ", ") << obj.passable_data_lower[i];
30  }
31  os << "]";
32  os << ", passable_data_upper=";
33  for (size_t i = 0; i < obj.passable_data_upper.size(); ++i) {
34  os << (i == 0 ? "[" : ", ") << obj.passable_data_upper[i];
35  }
36  os << "]";
37  os << ", animation_type="<< obj.animation_type;
38  os << ", animation_speed="<< obj.animation_speed;
39  os << "}";
40  return os;
41 }
42 
43 } // namespace rpg
44 } // namespace lcf
std::ostream & operator<<(std::ostream &os, const Actor &obj)
Definition: rpg_actor.cpp:18
Definition: dbarray.cpp:13