Ark Server API (ASA) - Wiki
|
#include <TextKey.h>
Public Member Functions | |
FTextKey () | |
FTextKey (const TCHAR *InStr) | |
FTextKey (const FString &InStr) | |
FTextKey (FString &&InStr) | |
FORCEINLINE const TCHAR * | GetChars () const |
void | SerializeAsString (FArchive &Ar) |
void | SerializeWithHash (FArchive &Ar) |
void | SerializeDiscardHash (FArchive &Ar) |
void | SerializeAsString (FStructuredArchiveSlot Slot) |
void | SerializeWithHash (FStructuredArchiveSlot Slot) |
void | SerializeDiscardHash (FStructuredArchiveSlot Slot) |
FORCEINLINE bool | IsEmpty () const |
void | Reset () |
Static Public Member Functions | |
static void | CompactDataStructures () |
static void | TearDown () |
Private Attributes | |
const TCHAR * | StrPtr |
uint32 | StrHash |
Friends | |
FORCEINLINE bool | operator== (const FTextKey &A, const FTextKey &B) |
FORCEINLINE bool | operator!= (const FTextKey &A, const FTextKey &B) |
FORCEINLINE uint32 | GetTypeHash (const FTextKey &A) |
Optimized representation of a case-sensitive string, as used by localization keys. This references an entry within a internal table to avoid memory duplication, as well as offering optimized comparison and hashing performance.
FTextKey::FTextKey | ( | ) |
FTextKey::FTextKey | ( | const TCHAR * | InStr | ) |
FTextKey::FTextKey | ( | FString && | InStr | ) |
|
inline |
|
inline |
void FTextKey::Reset | ( | ) |
Reset this text key to be empty
void FTextKey::SerializeAsString | ( | FStructuredArchiveSlot | Slot | ) |
Serialize this text key including its hash value, discarding the hash on load (to upgrade from an older hashing algorithm)
void FTextKey::SerializeDiscardHash | ( | FStructuredArchiveSlot | Slot | ) |
Serialize this text key including its hash value, discarding the hash on load (to upgrade from an older hashing algorithm)
Serialize this text key including its hash value (this method is sensitive to hashing algorithm changes, so only use it for generated files that can be rebuilt from another source)
void FTextKey::SerializeWithHash | ( | FStructuredArchiveSlot | Slot | ) |
Serialize this text key including its hash value (this method is sensitive to hashing algorithm changes, so only use it for generated files that can be rebuilt from another source)
|
friend |
|
private |