Fixes project being completely dirty every build requiring constant full rebuilds and slowing down tooling.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef CREATURELIB_EVENTDATAKIND_HPP
|
||||
#define CREATURELIB_EVENTDATAKIND_HPP
|
||||
|
||||
#include <Arbutils/Enum.hpp>
|
||||
|
||||
namespace CreatureLib::Battling {
|
||||
ENUM(EventDataKind, uint8_t, Damage, Heal, Faint, Switch, TurnStart, TurnEnd, ExperienceGain, Miss, DisplayText,
|
||||
ChangeSpecies, ChangeVariant, AttackUse, ChangeStatBoost, Fail, Swap, StatusChange)
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
#ifndef CREATURELIB_EVENTHOOK_HPP
|
||||
#define CREATURELIB_EVENTHOOK_HPP
|
||||
|
||||
#include <Arbutils/Exception.hpp>
|
||||
#include <functional>
|
||||
#include <thread>
|
||||
#include "../../Library/Exceptions/CreatureException.hpp"
|
||||
#include "Events/EventData.hpp"
|
||||
|
||||
template <class T> concept EventDataType = std::is_base_of<CreatureLib::Battling::EventData, T>::value;
|
||||
template <class T>
|
||||
concept EventDataType = std::is_base_of<CreatureLib::Battling::EventData, T>::value;
|
||||
|
||||
namespace CreatureLib::Battling {
|
||||
/// The Event Hook class allows users to write consumers for the battle events, for example to write User Interfaces
|
||||
|
||||
Reference in New Issue
Block a user