Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
False while a service still holds this component's storage; the registry then keeps the (already dead) slot quarantined instead of returning it to the pool.
virtual bool releasable() constFalse while a service still holds this component's storage; the registry then keeps the (already dead) slot quarantined instead of returning it to the pool.
This overload takes no parameters.
Returns: bool. Consult the linked header for its meaning.
#include "object_model.hpp"
epok::ActorComponent& object = /* obtain a valid instance */;
auto result = object.releasable();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/object_model.hpp:596
attach_slotPerforms `attach slot` as part of the object model module.Methodbegin_playBegins play as part of the object model module.Methodblueprint_observePerforms `blueprint observe` as part of the object model module.Methodclass_idPerforms `class id` as part of the object model module.Methodend_playEnds play as part of the object model module.Methodframe_updatePerforms `frame update` as part of the object model module.Methodget_ownerReturns owner as part of the object model module.Methodlevel_attachedRuntime hook, not reflected: the Level just bound this component to its owner.MethodnamePerforms `name` as part of the object model module.Methodon_disablePerforms `on disable` as part of the object model module.Methodon_enablePerforms `on enable` as part of the object model module.Methodon_framePerforms `on frame` as part of the object model module.Method