3#include "mc/_HeaderOutputPredefine.h"
5enum class ActorCategory : uint {
13 WaterSpawning = 1u << 5,
25 NonTargetable = 1u << 18,
26 Predictable = 1u << 19,
29 TamableAnimal =
Animal | Tamable,
33 MinecartRidable = Ridable |
Minecart,
34 BoatRideable = Ridable |
Boat,
37constexpr ActorCategory operator|(ActorCategory a, ActorCategory b) {
38 using integer_type = std::underlying_type_t<ActorCategory>;
39 return static_cast<ActorCategory
>(
static_cast<integer_type
>(a) |
static_cast<integer_type
>(b));
41constexpr ActorCategory operator&(ActorCategory a, ActorCategory b) {
42 using integer_type = std::underlying_type_t<ActorCategory>;
43 return static_cast<ActorCategory
>(
static_cast<integer_type
>(a) &
static_cast<integer_type
>(b));
Definition HumanoidMonster.h:14
Definition WaterAnimal.h:15