liblcf
rpg_saveeventexecframe.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_SAVEEVENTEXECFRAME_H
13 #define LCF_RPG_SAVEEVENTEXECFRAME_H
14 
15 // Headers
16 #include <stdint.h>
17 #include <vector>
18 #include "rpg_eventcommand.h"
19 
23 namespace RPG {
25  public:
26  int ID = 0;
27  std::vector<EventCommand> commands;
28  int32_t current_command = 0;
29  int32_t event_id = 0;
31  std::vector<uint8_t> subcommand_path;
32  };
33 
34  inline bool operator==(const SaveEventExecFrame& l, const SaveEventExecFrame& r) {
35  return l.commands == r.commands
37  && l.event_id == r.event_id
40  }
41 
42  inline bool operator!=(const SaveEventExecFrame& l, const SaveEventExecFrame& r) {
43  return !(l == r);
44  }
45 }
46 
47 #endif
RPG::operator==
bool operator==(const Actor &l, const Actor &r)
Definition: rpg_actor.h:64
RPG
Definition: rpg_actor.h:26
RPG::SaveEventExecFrame::subcommand_path
std::vector< uint8_t > subcommand_path
Definition: rpg_saveeventexecframe.h:31
RPG::SaveEventExecFrame::ID
int ID
Definition: rpg_saveeventexecframe.h:26
RPG::SaveEventExecFrame::event_id
int32_t event_id
Definition: rpg_saveeventexecframe.h:29
RPG::operator!=
bool operator!=(const Actor &l, const Actor &r)
Definition: rpg_actor.h:98
RPG::SaveEventExecFrame
Definition: rpg_saveeventexecframe.h:24
RPG::SaveEventExecFrame::current_command
int32_t current_command
Definition: rpg_saveeventexecframe.h:28
rpg_eventcommand.h
RPG::SaveEventExecFrame::commands
std::vector< EventCommand > commands
Definition: rpg_saveeventexecframe.h:27
RPG::SaveEventExecFrame::triggered_by_decision_key
bool triggered_by_decision_key
Definition: rpg_saveeventexecframe.h:30