liblcf
Toggle main menu visibility
Loading...
Searching...
No Matches
rpg_class.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/class.h"
14
15
namespace
lcf
{
16
namespace
rpg
{
17
18
std::ostream&
operator<<
(std::ostream& os,
const
Class& obj) {
19
os <<
"Class{"
;
20
os <<
"name="
<< obj.name;
21
os <<
", two_weapon="
<< obj.two_weapon;
22
os <<
", lock_equipment="
<< obj.lock_equipment;
23
os <<
", auto_battle="
<< obj.auto_battle;
24
os <<
", super_guard="
<< obj.super_guard;
25
os <<
", parameters="
<< obj.parameters;
26
os <<
", exp_base="
<< obj.exp_base;
27
os <<
", exp_inflation="
<< obj.exp_inflation;
28
os <<
", exp_correction="
<< obj.exp_correction;
29
os <<
", battler_animation="
<< obj.battler_animation;
30
os <<
", skills="
;
31
for
(
size_t
i = 0; i < obj.skills.size(); ++i) {
32
os << (i == 0 ?
"["
:
", "
) << obj.skills[i];
33
}
34
os <<
"]"
;
35
os <<
", state_ranks="
;
36
for
(
size_t
i = 0; i < obj.state_ranks.size(); ++i) {
37
os << (i == 0 ?
"["
:
", "
) << obj.state_ranks[i];
38
}
39
os <<
"]"
;
40
os <<
", attribute_ranks="
;
41
for
(
size_t
i = 0; i < obj.attribute_ranks.size(); ++i) {
42
os << (i == 0 ?
"["
:
", "
) << obj.attribute_ranks[i];
43
}
44
os <<
"]"
;
45
os <<
", battle_commands="
;
46
for
(
size_t
i = 0; i < obj.battle_commands.size(); ++i) {
47
os << (i == 0 ?
"["
:
", "
) << obj.battle_commands[i];
48
}
49
os <<
"]"
;
50
os <<
"}"
;
51
return
os;
52
}
53
54
}
// namespace rpg
55
}
// namespace lcf
lcf::rpg
Definition
rpg_actor.cpp:16
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_class.cpp
Generated on
for liblcf by
1.17.0