Why use it
The method is `const`, so it does not mutate the object through this API surface.
EPOK RUNTIME
Method · 1 overload
Performs `text word` as part of the object model module.
uint32_t text_word(uint32_t index) constPerforms `text word` as part of the object model module.
| Parameter | Type | Meaning |
|---|---|---|
index | uint32_t | Value supplied for index. Keep referenced or pointed-to data valid for the complete call. |
Returns: uint32_t. Check the value before continuing when it represents success, availability or a resource handle.
#include "object_model.hpp"
// Assume these named values have been initialized with valid data:
// uint32_t index
epok::TextComponent& object = /* obtain a valid instance */;
auto result = object.text_word(index);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:813
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.Methodentity_slotPerforms `entity slot` 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.Method