liblcf
rpg_testbattler.h
Go to the documentation of this file.
1
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
2
* --------------------------------------
3
*
4
* This file is part of liblcf. Copyright (c) 2020 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
#ifndef LCF_RPG_TESTBATTLER_H
13
#define LCF_RPG_TESTBATTLER_H
14
15
// Headers
16
#include <stdint.h>
17
21
namespace
RPG
{
22
class
TestBattler
{
23
public
:
24
int
ID
= 0;
25
int32_t
actor_id
= 1;
26
int32_t
level
= 1;
27
int32_t
weapon_id
= 0;
28
int32_t
shield_id
= 0;
29
int32_t
armor_id
= 0;
30
int32_t
helmet_id
= 0;
31
int32_t
accessory_id
= 0;
32
};
33
34
inline
bool
operator==
(
const
TestBattler
& l,
const
TestBattler
& r) {
35
return
l.
actor_id
== r.
actor_id
36
&& l.
level
== r.
level
37
&& l.
weapon_id
== r.
weapon_id
38
&& l.
shield_id
== r.
shield_id
39
&& l.
armor_id
== r.
armor_id
40
&& l.
helmet_id
== r.
helmet_id
41
&& l.
accessory_id
== r.
accessory_id
;
42
}
43
44
inline
bool
operator!=
(
const
TestBattler
& l,
const
TestBattler
& r) {
45
return
!(l == r);
46
}
47
}
48
49
#endif
RPG::TestBattler
Definition:
rpg_testbattler.h:22
RPG::TestBattler::weapon_id
int32_t weapon_id
Definition:
rpg_testbattler.h:27
RPG::TestBattler::armor_id
int32_t armor_id
Definition:
rpg_testbattler.h:29
RPG::TestBattler::ID
int ID
Definition:
rpg_testbattler.h:24
RPG::TestBattler::level
int32_t level
Definition:
rpg_testbattler.h:26
RPG::TestBattler::helmet_id
int32_t helmet_id
Definition:
rpg_testbattler.h:30
RPG::TestBattler::shield_id
int32_t shield_id
Definition:
rpg_testbattler.h:28
RPG::TestBattler::actor_id
int32_t actor_id
Definition:
rpg_testbattler.h:25
RPG::TestBattler::accessory_id
int32_t accessory_id
Definition:
rpg_testbattler.h:31
RPG
Definition:
rpg_actor.h:26
RPG::operator==
bool operator==(const Actor &l, const Actor &r)
Definition:
rpg_actor.h:64
RPG::operator!=
bool operator!=(const Actor &l, const Actor &r)
Definition:
rpg_actor.h:98
src
generated
rpg_testbattler.h
Generated on Thu Jul 29 2021 00:00:00 for liblcf by
1.9.1