Navigation
API > API/Runtime > API/Runtime/Core
Message token with a localized attribute text payload
| Name | FDynamicTextToken |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Logging/TokenizedMessage.h |
| Include Path | #include "Logging/TokenizedMessage.h" |
Syntax
class FDynamicTextToken : public IMessageToken
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDynamicTextToken
(
FPrivateToken, |
Private constructor | Logging/TokenizedMessage.h |
Structs
| Name | Remarks |
|---|---|
| FPrivateToken | The private token allows only members or friends to call MakeShared. |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Message | TAttribute< FText > | The attribute text of this message | Logging/TokenizedMessage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TAttribute< FText > & GetTextAttribute() |
End IMessageToken interface | Logging/TokenizedMessage.h |
Overridden from IMessageToken
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EMessageToken::Type GetType() |
Begin IMessageToken interface | Logging/TokenizedMessage.h | |
virtual const FText & ToText() |
Get a string representation of this token | Logging/TokenizedMessage.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FDynamicTextToken > Create
(
const TAttribute< FText >& InMessage |
Factory method, tokens can only be constructed as shared refs | Logging/TokenizedMessage.h |