liblcf
Loading...
Searching...
No Matches
rpg_event.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/event.h"
14
15namespace lcf {
16namespace rpg {
17
18std::ostream& operator<<(std::ostream& os, const Event& obj) {
19 os << "Event{";
20 os << "name="<< obj.name;
21 os << ", x="<< obj.x;
22 os << ", y="<< obj.y;
23 os << ", pages=";
24 for (size_t i = 0; i < obj.pages.size(); ++i) {
25 os << (i == 0 ? "[" : ", ") << obj.pages[i];
26 }
27 os << "]";
28 os << "}";
29 return os;
30}
31
32} // namespace rpg
33} // namespace lcf
std::ostream & operator<<(std::ostream &os, const Actor &obj)
Definition: rpg_actor.cpp:18
Definition: dbarray.cpp:13