liblcf
rpg_savemapinfo.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/savemapinfo.h"
14 
15 namespace lcf {
16 namespace rpg {
17 
18 std::ostream& operator<<(std::ostream& os, const SaveMapInfo& obj) {
19  os << "SaveMapInfo{";
20  os << "position_x="<< obj.position_x;
21  os << ", position_y="<< obj.position_y;
22  os << ", encounter_steps="<< obj.encounter_steps;
23  os << ", chipset_id="<< obj.chipset_id;
24  os << ", events=";
25  for (size_t i = 0; i < obj.events.size(); ++i) {
26  os << (i == 0 ? "[" : ", ") << obj.events[i];
27  }
28  os << "]";
29  os << ", lower_tiles=";
30  for (size_t i = 0; i < obj.lower_tiles.size(); ++i) {
31  os << (i == 0 ? "[" : ", ") << obj.lower_tiles[i];
32  }
33  os << "]";
34  os << ", upper_tiles=";
35  for (size_t i = 0; i < obj.upper_tiles.size(); ++i) {
36  os << (i == 0 ? "[" : ", ") << obj.upper_tiles[i];
37  }
38  os << "]";
39  os << ", parallax_name="<< obj.parallax_name;
40  os << ", parallax_horz="<< obj.parallax_horz;
41  os << ", parallax_vert="<< obj.parallax_vert;
42  os << ", parallax_horz_auto="<< obj.parallax_horz_auto;
43  os << ", parallax_horz_speed="<< obj.parallax_horz_speed;
44  os << ", parallax_vert_auto="<< obj.parallax_vert_auto;
45  os << ", parallax_vert_speed="<< obj.parallax_vert_speed;
46  os << "}";
47  return os;
48 }
49 
50 } // namespace rpg
51 } // namespace lcf
std::ostream & operator<<(std::ostream &os, const Actor &obj)
Definition: rpg_actor.cpp:18
Definition: dbarray.cpp:13