Skip to content

ludus::gameplay::world::BindingCandidate

Ludus Wiki · API overview · Browse API

Struct

One candidate durable binding published when a world activates.
The caller forms the PersistentObjectKey from the activating instance scope's InstanceId and each authored SourceObjectId, and supplies the runtime EntityId the owning registry issued for that object. Transient entities without durable identity are simply omitted; they never enter the table.

Declared in modules/gameplay/world/include/ludus/gameplay/world/binding_table.h

#include <ludus/gameplay/world/binding_table.h>
struct ludus::gameplay::world::BindingCandidate final

Fields

Key

foundation::identity::PersistentObjectKey ludus::gameplay::world::BindingCandidate::Key
Durable key (InstanceId, SourceObjectId) for this object.

Related types: foundation::identity::PersistentObjectKey

Declared in modules/gameplay/world/include/ludus/gameplay/world/binding_table.h

Entity

EntityId ludus::gameplay::world::BindingCandidate::Entity
Runtime handle the owning registry issued for the object.

Related types: EntityId

Declared in modules/gameplay/world/include/ludus/gameplay/world/binding_table.h