Added C interface for EventData.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-09 11:12:24 +01:00
parent cc43e4fb8a
commit 3efd7a6974
3 changed files with 24 additions and 4 deletions

View File

@@ -1,8 +1,9 @@
#ifndef CREATURELIB_EVENTDATAKIND_HPP
#define CREATURELIB_EVENTDATAKIND_HPP
#include <Arbutils/Enum.hpp>
namespace CreatureLib::Battling {
enum EventDataKind { Damage };
ENUM(EventDataKind, uint8_t, Damage, Heal)
}
#endif // CREATURELIB_EVENTDATAKIND_HPP