liblcf
rpg_encounter.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_ENCOUNTER_H
13
#define LCF_RPG_ENCOUNTER_H
14
18
namespace
RPG
{
19
class
Encounter
{
20
public
:
21
int
ID
= 0;
22
int32_t
troop_id
= 0;
23
};
24
25
inline
bool
operator==
(
const
Encounter
& l,
const
Encounter
& r) {
26
return
l.
troop_id
== r.
troop_id
;
27
}
28
29
inline
bool
operator!=
(
const
Encounter
& l,
const
Encounter
& r) {
30
return
!(l == r);
31
}
32
}
33
34
#endif
RPG::Encounter
Definition:
rpg_encounter.h:19
RPG::Encounter::ID
int ID
Definition:
rpg_encounter.h:21
RPG::Encounter::troop_id
int32_t troop_id
Definition:
rpg_encounter.h:22
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_encounter.h
Generated on Tue Jan 26 2021 00:00:00 for liblcf by
1.9.1