ludus::gameplay::world::EntityRegistry¶
Ludus Wiki · API overview · Browse API
Class
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
#include <ludus/gameplay/world/entity_registry.h>
class ludus::gameplay::world::EntityRegistry final
Members¶
internal::RegistryTestAccess¶
friend struct internal::RegistryTestAccess
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
Methods¶
EntityRegistry¶
ludus::gameplay::world::EntityRegistry::EntityRegistry() noexcept=default
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
EntityRegistry¶
ludus::gameplay::world::EntityRegistry::EntityRegistry(const EntityRegistry &)=delete
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
operator=¶
EntityRegistry & ludus::gameplay::world::EntityRegistry::operator=(const EntityRegistry &)=delete
Related types: EntityRegistry
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
EntityRegistry¶
ludus::gameplay::world::EntityRegistry::EntityRegistry(EntityRegistry &&other) noexcept
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
operator=¶
EntityRegistry & ludus::gameplay::world::EntityRegistry::operator=(EntityRegistry &&other) noexcept
Related types: EntityRegistry
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
TryInitialize¶
Status ludus::gameplay::world::EntityRegistry::TryInitialize(foundation::uint32 capacity) noexcept
Related types: foundation::uint32 · Status
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
TryCreate¶
Status ludus::gameplay::world::EntityRegistry::TryCreate(EntityId &output) noexcept
Related types: Status · EntityId
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
CheckStructuralBudget¶
Status ludus::gameplay::world::EntityRegistry::CheckStructuralBudget(foundation::usize creates, foundation::usize releases) const noexcept
Related types: foundation::usize · Status
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
TryRelease¶
Status ludus::gameplay::world::EntityRegistry::TryRelease(EntityId entity) noexcept
Related types: Status · EntityId
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
MarkPendingDestroy¶
Status ludus::gameplay::world::EntityRegistry::MarkPendingDestroy(EntityId entity) noexcept
Related types: Status · EntityId
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
IsAlive¶
bool ludus::gameplay::world::EntityRegistry::IsAlive(EntityId entity) const noexcept
Related types: EntityId
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
IsActive¶
bool ludus::gameplay::world::EntityRegistry::IsActive(EntityId entity) const noexcept
Related types: EntityId
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
GetCreationSequence¶
foundation::uint64 ludus::gameplay::world::EntityRegistry::GetCreationSequence(EntityId entity) const noexcept
Related types: foundation::uint64 · EntityId
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
GetWorld¶
foundation::uint64 ludus::gameplay::world::EntityRegistry::GetWorld() const noexcept
Related types: foundation::uint64
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
GetCapacity¶
foundation::uint32 ludus::gameplay::world::EntityRegistry::GetCapacity() const noexcept
Related types: foundation::uint32
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
GetAvailable¶
foundation::usize ludus::gameplay::world::EntityRegistry::GetAvailable() const noexcept
Related types: foundation::usize
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
GetStructuralRevision¶
foundation::uint64 ludus::gameplay::world::EntityRegistry::GetStructuralRevision() const noexcept
Related types: foundation::uint64
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
CanMutateStructure¶
bool ludus::gameplay::world::EntityRegistry::CanMutateStructure() const noexcept
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h
SetStructuralPhase¶
void ludus::gameplay::world::EntityRegistry::SetStructuralPhase(bool structural) noexcept
Declared in modules/gameplay/world/include/ludus/gameplay/world/entity_registry.h