Update to latest version of CreatureLib, apply new ENUM macro.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -2,22 +2,11 @@
|
||||
#define PKMNLIB_EVOLUTIONMETHOD_HPP
|
||||
|
||||
#include <cstdint>
|
||||
namespace PkmnLib::Library{
|
||||
enum class EvolutionMethod : uint8_t{
|
||||
Level,
|
||||
HighFriendship,
|
||||
KnownMove,
|
||||
LocationBased,
|
||||
TimeBased,
|
||||
HoldsItem,
|
||||
IsGenderAndLevel,
|
||||
EvolutionItemUse,
|
||||
EvolutionItemUseWithGender,
|
||||
Trade,
|
||||
TradeWithHeldItem,
|
||||
TradeWithSpecificPokemon,
|
||||
Custom
|
||||
};
|
||||
namespace PkmnLib::Library {
|
||||
ENUM(EvolutionMethod, uint8_t, Level, HighFriendship, KnownMove, LocationBased, TimeBased, HoldsItem,
|
||||
IsGenderAndLevel, EvolutionItemUse, EvolutionItemUseWithGender, Trade, TradeWithHeldItem,
|
||||
TradeWithSpecificPokemon, Custom
|
||||
)
|
||||
}
|
||||
|
||||
#endif // PKMNLIB_EVOLUTIONMETHOD_HPP
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
#ifndef PKMNLIB_TIMEOFDAY_HPP
|
||||
#define PKMNLIB_TIMEOFDAY_HPP
|
||||
|
||||
#include <CreatureLib/Core/Enum.hpp>
|
||||
#include <cstdint>
|
||||
namespace PkmnLib::Library{
|
||||
enum class TimeOfDay : uint8_t {
|
||||
Night,
|
||||
Morning,
|
||||
Afternoon,
|
||||
Evening
|
||||
};
|
||||
|
||||
namespace PkmnLib::Library {
|
||||
ENUM(TimeOfDay, uint8_t, Night, Morning, Afternoon, Evening)
|
||||
}
|
||||
|
||||
#endif // PKMNLIB_TIMEOFDAY_HPP
|
||||
|
||||
Reference in New Issue
Block a user