liblcf
rpg_saveinventory.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/saveinventory.h"
14 
15 namespace lcf {
16 namespace rpg {
17 
18 std::ostream& operator<<(std::ostream& os, const SaveInventory& obj) {
19  os << "SaveInventory{";
20  os << "party=";
21  for (size_t i = 0; i < obj.party.size(); ++i) {
22  os << (i == 0 ? "[" : ", ") << obj.party[i];
23  }
24  os << "]";
25  os << ", item_ids=";
26  for (size_t i = 0; i < obj.item_ids.size(); ++i) {
27  os << (i == 0 ? "[" : ", ") << obj.item_ids[i];
28  }
29  os << "]";
30  os << ", item_counts=";
31  for (size_t i = 0; i < obj.item_counts.size(); ++i) {
32  os << (i == 0 ? "[" : ", ") << obj.item_counts[i];
33  }
34  os << "]";
35  os << ", item_usage=";
36  for (size_t i = 0; i < obj.item_usage.size(); ++i) {
37  os << (i == 0 ? "[" : ", ") << obj.item_usage[i];
38  }
39  os << "]";
40  os << ", gold="<< obj.gold;
41  os << ", timer1_frames="<< obj.timer1_frames;
42  os << ", timer1_active="<< obj.timer1_active;
43  os << ", timer1_visible="<< obj.timer1_visible;
44  os << ", timer1_battle="<< obj.timer1_battle;
45  os << ", timer2_frames="<< obj.timer2_frames;
46  os << ", timer2_active="<< obj.timer2_active;
47  os << ", timer2_visible="<< obj.timer2_visible;
48  os << ", timer2_battle="<< obj.timer2_battle;
49  os << ", battles="<< obj.battles;
50  os << ", defeats="<< obj.defeats;
51  os << ", escapes="<< obj.escapes;
52  os << ", victories="<< obj.victories;
53  os << ", turns="<< obj.turns;
54  os << ", steps="<< obj.steps;
55  os << "}";
56  return os;
57 }
58 
59 } // namespace rpg
60 } // namespace lcf
std::ostream & operator<<(std::ostream &os, const Actor &obj)
Definition: rpg_actor.cpp:18
Definition: dbarray.cpp:13