class
cStringDetokenizerThe class responsible for translating text tokens, which are special characters in locale files.
In locale files, tokens are surrounded with ~
characters, and get replaced in-game with a text provided by an App::
Base classes
- class ITokenTranslator
Public functions
- auto func18h() -> void virtual
- auto AddTranslator(ITokenTranslator* pTranslator) -> void virtual
- auto RemoveTranslator(ITokenTranslator* pTranslator) -> void virtual
-
auto HasTokens(const char16_
t* pStr) const -> bool virtual - auto func28h(int, eastl::string16& dst) -> bool virtual
-
auto ProcessString(const char16_
t* pStr, eastl::string16& dst) -> bool virtual -
auto func30h(LocalizedString*,
eastl::pair<uint32_
t, eastl::string16>* pTokensBegin, eastl::pair<uint32_ t, eastl::string16>* pTokensEnd) -> bool virtual -
auto func34h(const char16_
t* pStr, int index) -> void virtual -
auto ProcessStringEx(const char16_
t* pStr, eastl::string16& dst, eastl::pair<uint32_ t, eastl::string16>* pTokensBegin = nullptr, eastl::pair<uint32_ t, eastl::string16>* pTokensEnd = nullptr) -> bool virtual -
auto FindTokenTranslation(const char16_
t* pToken, eastl::string16& dst) const -> bool virtual
Protected variables
- eastl::vector<ITokenTranslatorPtr> mTranslators
- eastl::string16 field_1C