liblcf
rpg_savetarget.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_SAVETARGET_H
13
#define LCF_RPG_SAVETARGET_H
14
15
// Headers
16
#include <stdint.h>
17
21
namespace
RPG
{
22
class
SaveTarget
{
23
public
:
24
int
ID
= 0;
25
int32_t
map_id
= 0;
26
int32_t
map_x
= 0;
27
int32_t
map_y
= 0;
28
bool
switch_on
=
false
;
29
int32_t
switch_id
= 0;
30
};
31
32
inline
bool
operator==
(
const
SaveTarget
& l,
const
SaveTarget
& r) {
33
return
l.
map_id
== r.
map_id
34
&& l.
map_x
== r.
map_x
35
&& l.
map_y
== r.
map_y
36
&& l.
switch_on
== r.
switch_on
37
&& l.
switch_id
== r.
switch_id
;
38
}
39
40
inline
bool
operator!=
(
const
SaveTarget
& l,
const
SaveTarget
& r) {
41
return
!(l == r);
42
}
43
}
44
45
#endif
RPG::SaveTarget::map_id
int32_t map_id
Definition:
rpg_savetarget.h:25
RPG::operator==
bool operator==(const Actor &l, const Actor &r)
Definition:
rpg_actor.h:64
RPG
Definition:
rpg_actor.h:26
RPG::SaveTarget::ID
int ID
Definition:
rpg_savetarget.h:24
RPG::SaveTarget::map_y
int32_t map_y
Definition:
rpg_savetarget.h:27
RPG::SaveTarget::switch_on
bool switch_on
Definition:
rpg_savetarget.h:28
RPG::operator!=
bool operator!=(const Actor &l, const Actor &r)
Definition:
rpg_actor.h:98
RPG::SaveTarget
Definition:
rpg_savetarget.h:22
RPG::SaveTarget::switch_id
int32_t switch_id
Definition:
rpg_savetarget.h:29
RPG::SaveTarget::map_x
int32_t map_x
Definition:
rpg_savetarget.h:26
src
generated
rpg_savetarget.h
Generated on Sun Aug 2 2020 00:00:00 for liblcf by
1.8.18