liblcf
rpg_start.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_START_H
13 #define LCF_RPG_START_H
14 
15 // Headers
16 #include <stdint.h>
17 
21 namespace RPG {
22  class Start {
23  public:
24  int32_t party_map_id = 0;
25  int32_t party_x = 0;
26  int32_t party_y = 0;
27  int32_t boat_map_id = 0;
28  int32_t boat_x = 0;
29  int32_t boat_y = 0;
30  int32_t ship_map_id = 0;
31  int32_t ship_x = 0;
32  int32_t ship_y = 0;
33  int32_t airship_map_id = 0;
34  int32_t airship_x = 0;
35  int32_t airship_y = 0;
36  };
37 
38  inline bool operator==(const Start& l, const Start& r) {
39  return l.party_map_id == r.party_map_id
40  && l.party_x == r.party_x
41  && l.party_y == r.party_y
42  && l.boat_map_id == r.boat_map_id
43  && l.boat_x == r.boat_x
44  && l.boat_y == r.boat_y
45  && l.ship_map_id == r.ship_map_id
46  && l.ship_x == r.ship_x
47  && l.ship_y == r.ship_y
49  && l.airship_x == r.airship_x
50  && l.airship_y == r.airship_y;
51  }
52 
53  inline bool operator!=(const Start& l, const Start& r) {
54  return !(l == r);
55  }
56 }
57 
58 #endif
RPG::operator==
bool operator==(const Actor &l, const Actor &r)
Definition: rpg_actor.h:64
RPG::Start
Definition: rpg_start.h:22
RPG::Start::airship_map_id
int32_t airship_map_id
Definition: rpg_start.h:33
RPG::Start::boat_y
int32_t boat_y
Definition: rpg_start.h:29
RPG
Definition: rpg_actor.h:26
RPG::Start::airship_x
int32_t airship_x
Definition: rpg_start.h:34
RPG::Start::ship_map_id
int32_t ship_map_id
Definition: rpg_start.h:30
RPG::Start::party_x
int32_t party_x
Definition: rpg_start.h:25
RPG::Start::ship_x
int32_t ship_x
Definition: rpg_start.h:31
RPG::operator!=
bool operator!=(const Actor &l, const Actor &r)
Definition: rpg_actor.h:98
RPG::Start::boat_x
int32_t boat_x
Definition: rpg_start.h:28
RPG::Start::party_map_id
int32_t party_map_id
Definition: rpg_start.h:24
RPG::Start::ship_y
int32_t ship_y
Definition: rpg_start.h:32
RPG::Start::airship_y
int32_t airship_y
Definition: rpg_start.h:35
RPG::Start::party_y
int32_t party_y
Definition: rpg_start.h:26
RPG::Start::boat_map_id
int32_t boat_map_id
Definition: rpg_start.h:27