13class EntityId :
public entt::entt_traits<EntityId> {
15 entity_type mRawId{entt::null};
17 [[nodiscard]]
constexpr EntityId() =
default;
19 [[nodiscard]]
constexpr EntityId(entity_type rawId) : mRawId(rawId) {}
21 [[nodiscard]]
constexpr bool isNull()
const {
return *
this == entt::null; }
23 [[nodiscard]]
constexpr operator entity_type()
const {
return mRawId; }