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.
Returns get as part of native text data and HUD text components.
const char* get(int key) constReturns get as part of native text data and HUD text components.
| Parameter | Type | Meaning |
|---|---|---|
key | int | Not documented; consult the linked header. |
Returns: const char *. Consult the linked header for its meaning.
#include "text.hpp"
// Assume these named values have been initialized with valid data:
// int key
epok::Localization& object = /* obtain a valid instance */;
auto result = object.get(key);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/text.hpp:38