Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Internationalization
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Internationalization/TextKey.h |
| Include | #include "Internationalization/TextKey.h" |
Syntax
class FTextId
Remarks
Optimized representation of a text identity (a namespace and key pair).
Constructors
Functions
| Type | Name | Description | |
|---|---|---|---|
| FTextKey | GetKey () |
Get the key component of this text identity | |
| FTextKey | GetNamespace () |
Get the namespace component of this text identity | |
| bool | IsEmpty () |
Is this text identity empty? | |
| void | Reset () |
Reset this text identity to be empty | |
| void | SerializeAsString
(
FArchive& Ar |
Serialize this text identity as if it were FStrings | |
| void | SerializeAsString
(
FStructuredArchiveSlot Slot |
Serialize this text identity as if it were FStrings | |
| void | SerializeDiscardHash
(
FArchive& Ar |
Serialize this text identity including its hash values, discarding the hash on load (to upgrade from an older hashing algorithm) | |
| void | Serialize this text identity including its hash values, discarding the hash on load (to upgrade from an older hashing algorithm) | ||
| void | SerializeWithHash
(
FArchive& Ar |
Serialize this text identity including its hash values (this method is sensitive to hashing algorithm changes, so only use it for generated files that can be rebuilt from another source) | |
| void | SerializeWithHash
(
FStructuredArchiveSlot Slot |
Serialize this text identity including its hash values (this method is sensitive to hashing algorithm changes, so only use it for generated files that can be rebuilt from another source) |