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.
Performs `show all text` as part of the object model module.
void show_all_text()Performs `show all text` as part of the object model module.
This overload takes no parameters.
Returns: Nothing (void).
#include "object_model.hpp"
epok::TextComponent& object = /* obtain a valid instance */;
object.show_all_text();Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/object_model.hpp:934
alignPerforms `align` as part of the object model module.Methodclass_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.Methodfont_indexPerforms `font index` as part of the object model module.Methodset_align0 Left, 1 Center, 2 Right; anything else leaves the lines left-aligned.Methodset_colorSets color as part of the object model module.Methodset_enabledSets enabled as part of the object model module.Methodset_font_indexThe cooked font this label draws from, in export order; -1 is the built-in 8x16 atlas.Methodset_numberSets number as part of the object model module.Methodset_text_keyShows string table entry `key` (its number in the Localization editor) in the current language, and keeps following it when the language changes.Method