liblcf
rpg_trooppage.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_TROOPPAGE_H
13 #define LCF_RPG_TROOPPAGE_H
14 
15 // Headers
16 #include <vector>
17 #include "rpg_eventcommand.h"
18 #include "rpg_trooppagecondition.h"
19 
23 namespace RPG {
24  class TroopPage {
25  public:
26  int ID = 0;
28  std::vector<EventCommand> event_commands;
29  };
30 
31  inline bool operator==(const TroopPage& l, const TroopPage& r) {
32  return l.condition == r.condition
34  }
35 
36  inline bool operator!=(const TroopPage& l, const TroopPage& r) {
37  return !(l == r);
38  }
39 }
40 
41 #endif
std::vector< EventCommand > event_commands
Definition: rpg_trooppage.h:28
bool operator==(const Actor &l, const Actor &r)
Definition: rpg_actor.h:64
TroopPageCondition condition
Definition: rpg_trooppage.h:27
Definition: rpg_actor.h:26
bool operator!=(const Actor &l, const Actor &r)
Definition: rpg_actor.h:98