liblcf
rpg_eventpage.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/eventpage.h"
14 
15 namespace lcf {
16 namespace rpg {
17 
18 std::ostream& operator<<(std::ostream& os, const EventPage& obj) {
19  os << "EventPage{";
20  os << "condition="<< obj.condition;
21  os << ", character_name="<< obj.character_name;
22  os << ", character_index="<< obj.character_index;
23  os << ", character_direction="<< obj.character_direction;
24  os << ", character_pattern="<< obj.character_pattern;
25  os << ", translucent="<< obj.translucent;
26  os << ", move_type="<< obj.move_type;
27  os << ", move_frequency="<< obj.move_frequency;
28  os << ", trigger="<< obj.trigger;
29  os << ", layer="<< obj.layer;
30  os << ", overlap_forbidden="<< obj.overlap_forbidden;
31  os << ", animation_type="<< obj.animation_type;
32  os << ", move_speed="<< obj.move_speed;
33  os << ", move_route="<< obj.move_route;
34  os << ", event_commands=";
35  for (size_t i = 0; i < obj.event_commands.size(); ++i) {
36  os << (i == 0 ? "[" : ", ") << obj.event_commands[i];
37  }
38  os << "]";
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