FTextId

Optimized representation of a text identity (a namespace and key pair).

Windows
MacOS
Linux

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

Name Description

Public function

FTextId()

Public function

FTextId

(
    const FTextKey& InNamespace,
    const FTextKey& InKey
)

Functions

Name Description

Public function Const

const FTextK...

 

GetKey()

Get the key component of this text identity

Public function Const

const FTextK...

 

GetNamespace()

Get the namespace component of this text identity

Public function Const

bool

 

IsEmpty()

Is this text identity empty?

Public function

void

 

Reset()

Reset this text identity to be empty

Public function

void

 

SerializeAsString

(
    FArchive& Ar
)

Serialize this text identity as if it were FStrings

Public function

void

 

SerializeAsString

(
    FStructuredArchiveSlot Slot
)

Serialize this text identity as if it were FStrings

Public function

void

 

SerializeDiscardHash

(
    FArchive& Ar
)

Serialize this text identity including its hash values, discarding the hash on load (to upgrade from an older hashing algorithm)

Public function

void

 

SerializeDiscardHash

(
    FStructuredArchiveSlot Slot
)

Serialize this text identity including its hash values, discarding the hash on load (to upgrade from an older hashing algorithm)

Public function

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)

Public function

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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss