Navigation
API > API/Runtime > API/Runtime/Core
Basic message token with an icon/image payload
| Name | FImageToken |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Logging/TokenizedMessage.h |
| Include Path | #include "Logging/TokenizedMessage.h" |
Syntax
class FImageToken : public IMessageToken
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FImageToken
(
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 |
|---|---|---|---|---|
| ImageName | FName | A name to be used as a brush in this message | Logging/TokenizedMessage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FName & GetImageName() |
End IMessageToken interface Get the name of the image for this token | Logging/TokenizedMessage.h |
Overridden from IMessageToken
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EMessageToken::Type GetType() |
Begin IMessageToken interface | Logging/TokenizedMessage.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FImageToken > Create
(
const FName& InImageName |
Factory method, tokens can only be constructed as shared refs | Logging/TokenizedMessage.h |