liblcf
Loading...
Searching...
No Matches
rpg_troop.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/troop.h"
14
15
namespace
lcf
{
16
namespace
rpg {
17
18
std::ostream&
operator<<
(std::ostream&
os
,
const
Troop
& obj) {
19
os
<<
"Troop{"
;
20
os
<<
"name="
<< obj.
name
;
21
os
<<
", members="
;
22
for
(
size_t
i
= 0;
i
< obj.members.size(); ++
i
) {
23
os
<< (
i
== 0 ?
"["
:
", "
) << obj.members[
i
];
24
}
25
os
<<
"]"
;
26
os
<<
", auto_alignment="
<< obj.auto_alignment;
27
os
<<
", terrain_set="
;
28
for
(
size_t
i
= 0;
i
< obj.terrain_set.size(); ++
i
) {
29
os
<< (
i
== 0 ?
"["
:
", "
) << obj.terrain_set[
i
];
30
}
31
os
<<
"]"
;
32
os
<<
", appear_randomly="
<< obj.appear_randomly;
33
os
<<
", pages="
;
34
for
(
size_t
i
= 0;
i
< obj.pages.size(); ++
i
) {
35
os
<< (
i
== 0 ?
"["
:
", "
) << obj.pages[
i
];
36
}
37
os
<<
"]"
;
38
os
<<
"}"
;
39
return
os
;
40
}
41
42
}
// namespace rpg
43
}
// namespace lcf
lcf::Flags
Definition
reader_struct.h:694
lcf::Flags::name
static const char *const name
Definition
reader_struct.h:696
lcf::rpg::operator<<
std::ostream & operator<<(std::ostream &os, const Actor &obj)
Definition
rpg_actor.cpp:18
lcf
Definition
dbarray.cpp:13
src
generated
rpg_troop.cpp
Generated on Mon Apr 7 2025 00:00:00 for liblcf by
1.10.0