liblcf
Loading...
Searching...
No Matches
rpg_battleranimationextension.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_BATTLERANIMATIONEXTENSION_H
13#define LCF_RPG_BATTLERANIMATIONEXTENSION_H
14
15// Headers
16#include <stdint.h>
17#include <string>
18#include "enum_tags.h"
19
23namespace RPG {
25 public:
26 enum AnimType {
29 };
30 static constexpr auto kAnimTypeTags = makeEnumTags<AnimType>(
31 "graphic",
32 "animation"
33 );
34
35 int ID = 0;
36 std::string name;
37 std::string battler_name;
38 int32_t battler_index = 0;
39 int32_t animation_type = 0;
40 int32_t animation_id = 1;
41 };
42
44 return l.name == r.name
48 && l.animation_id == r.animation_id;
49 }
50
52 return !(l == r);
53 }
54}
55
56#endif
Definition: rpg_actor.h:26
bool operator==(const Actor &l, const Actor &r)
Definition: rpg_actor.h:64
bool operator!=(const Actor &l, const Actor &r)
Definition: rpg_actor.h:98