liblcf
rpg_save.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/save.h"
14 
15 namespace lcf {
16 namespace rpg {
17 
18 std::ostream& operator<<(std::ostream& os, const Save& obj) {
19  os << "Save{";
20  os << "title="<< obj.title;
21  os << ", system="<< obj.system;
22  os << ", screen="<< obj.screen;
23  os << ", pictures=";
24  for (size_t i = 0; i < obj.pictures.size(); ++i) {
25  os << (i == 0 ? "[" : ", ") << obj.pictures[i];
26  }
27  os << "]";
28  os << ", party_location="<< obj.party_location;
29  os << ", boat_location="<< obj.boat_location;
30  os << ", ship_location="<< obj.ship_location;
31  os << ", airship_location="<< obj.airship_location;
32  os << ", actors=";
33  for (size_t i = 0; i < obj.actors.size(); ++i) {
34  os << (i == 0 ? "[" : ", ") << obj.actors[i];
35  }
36  os << "]";
37  os << ", inventory="<< obj.inventory;
38  os << ", targets=";
39  for (size_t i = 0; i < obj.targets.size(); ++i) {
40  os << (i == 0 ? "[" : ", ") << obj.targets[i];
41  }
42  os << "]";
43  os << ", map_info="<< obj.map_info;
44  os << ", panorama="<< obj.panorama;
45  os << ", foreground_event_execstate="<< obj.foreground_event_execstate;
46  os << ", common_events=";
47  for (size_t i = 0; i < obj.common_events.size(); ++i) {
48  os << (i == 0 ? "[" : ", ") << obj.common_events[i];
49  }
50  os << "]";
51  os << ", easyrpg_data="<< obj.easyrpg_data;
52  os << "}";
53  return os;
54 }
55 
56 } // namespace rpg
57 } // namespace lcf
std::ostream & operator<<(std::ostream &os, const Actor &obj)
Definition: rpg_actor.cpp:18
Definition: dbarray.cpp:13