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::TextComponent& 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:806
class_idPerforms `class id` as part of the object model module.Methodclear_textClears text as part of the object model module.MethodenabledPerforms `enabled` as part of the object model module.Methodset_colorSets color as part of the object model module.Methodset_enabledSets enabled as part of the object model module.Methodset_numberSets number as part of the object model module.Methodset_text_wordSets text word as part of the object model module.Methodset_unsignedSets unsigned as part of the object model module.Methodset_wrapSets wrap as part of the object model module.Methodtext_wordPerforms `text word` as part of the object model module.Method