liblcf
rpg_event.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_EVENT_H
13
#define LCF_RPG_EVENT_H
14
15
// Headers
16
#include <stdint.h>
17
#include <string>
18
#include <vector>
19
#include "
rpg_eventpage.h
"
20
24
namespace
RPG
{
25
class
Event
{
26
public
:
27
int
ID
= 0;
28
std::string
name
;
29
int32_t
x
= 0;
30
int32_t
y
= 0;
31
std::vector<EventPage>
pages
;
32
};
33
34
inline
bool
operator==
(
const
Event
& l,
const
Event
& r) {
35
return
l.
name
== r.
name
36
&& l.
x
== r.
x
37
&& l.
y
== r.
y
38
&& l.
pages
== r.
pages
;
39
}
40
41
inline
bool
operator!=
(
const
Event
& l,
const
Event
& r) {
42
return
!(l == r);
43
}
44
}
45
46
#endif
RPG::Event
Definition:
rpg_event.h:25
RPG::Event::y
int32_t y
Definition:
rpg_event.h:30
RPG::Event::pages
std::vector< EventPage > pages
Definition:
rpg_event.h:31
RPG::Event::ID
int ID
Definition:
rpg_event.h:27
RPG::Event::name
std::string name
Definition:
rpg_event.h:28
RPG::Event::x
int32_t x
Definition:
rpg_event.h:29
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
rpg_eventpage.h
src
generated
rpg_event.h
Generated on Thu Jul 29 2021 00:00:00 for liblcf by
1.9.1