Why use it
The method is `const`, so it does not mutate the object through this API surface.
EPOK RUNTIME
Method · 1 overload
Performs `entity slot` as part of the object model module.
ActorData* entity_slot() constPerforms `entity slot` as part of the object model module.
This overload takes no parameters.
Returns: ActorData *. Check the value before continuing when it represents success, availability or a resource handle.
#include "object_model.hpp"
epok::CanvasComponent& object = /* obtain a valid instance */;
auto result = object.entity_slot();The method is `const`, so it does not mutate the object through this API surface.
Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.
Declared in runtime/object_model.hpp:787