12class EntityId :
public entt::entt_traits<EntityId> {
14 entity_type mRawId{entt::null};
16 [[nodiscard]]
constexpr EntityId() =
default;
18 [[nodiscard]]
constexpr EntityId(entity_type rawId) : mRawId(rawId) {}
20 [[nodiscard]]
constexpr bool isNull()
const {
return *
this == entt::null; }
22 [[nodiscard]]
constexpr operator entity_type()
const {
return mRawId; }