27class EntityId :
public entt::entt_traits<EntityId> {
29 entity_type mRawId{entt::null};
31 [[nodiscard]]
constexpr EntityId() =
default;
33 [[nodiscard]]
constexpr EntityId(entity_type rawId) : mRawId(rawId) {}
35 [[nodiscard]]
constexpr bool isNull()
const {
return *
this == entt::null; }
37 [[nodiscard]]
constexpr operator entity_type()
const {
return mRawId; }