liblcf
rpg_mapinfo.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) 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/mapinfo.h"
14 
15 namespace lcf {
16 namespace rpg {
17 
18 std::ostream& operator<<(std::ostream& os, const MapInfo& obj) {
19  os << "MapInfo{";
20  os << "name="<< obj.name;
21  os << ", parent_map="<< obj.parent_map;
22  os << ", indentation="<< obj.indentation;
23  os << ", type="<< obj.type;
24  os << ", scrollbar_x="<< obj.scrollbar_x;
25  os << ", scrollbar_y="<< obj.scrollbar_y;
26  os << ", expanded_node="<< obj.expanded_node;
27  os << ", music_type="<< obj.music_type;
28  os << ", music="<< obj.music;
29  os << ", background_type="<< obj.background_type;
30  os << ", background_name="<< obj.background_name;
31  os << ", teleport="<< obj.teleport;
32  os << ", escape="<< obj.escape;
33  os << ", save="<< obj.save;
34  os << ", encounters=";
35  for (size_t i = 0; i < obj.encounters.size(); ++i) {
36  os << (i == 0 ? "[" : ", ") << obj.encounters[i];
37  }
38  os << "]";
39  os << ", encounter_steps="<< obj.encounter_steps;
40  os << ", area_rect="<< obj.area_rect;
41  os << "}";
42  return os;
43 }
44 
45 } // namespace rpg
46 } // namespace lcf
std::ostream & operator<<(std::ostream &os, const Actor &obj)
Definition: rpg_actor.cpp:18
Definition: dbarray.cpp:13