Navigation
API > API/Runtime > API/Runtime/Core
Basic message token that defaults its activated method to select an actor in the opened level
| Name | FActorToken |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Logging/TokenizedMessage.h |
| Include Path | #include "Logging/TokenizedMessage.h" |
Syntax
class FActorToken : public IMessageToken
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FActorToken
(
const FString& InActorPath, |
Private constructor | Logging/TokenizedMessage.h | |
FActorToken
(
FPrivateToken, |
Private constructor | Logging/TokenizedMessage.h |
Structs
| Name | Remarks |
|---|---|
| FPrivateToken | The private token allows only members or friends to call MakeShared. |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultMessageTokenActivated | FOnMessageTokenActivated | The default activation method, if any | Logging/TokenizedMessage.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorGuid | FGuid | The actor guid we will select | Logging/TokenizedMessage.h | |
| ActorPath | FString | The actor path we will select | Logging/TokenizedMessage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FGuid & GetActorGuid() |
Get the actor guid used by this token | Logging/TokenizedMessage.h | |
const FString & GetActorPath() |
End IMessageToken interface Get the actor name used by this token | Logging/TokenizedMessage.h |
Overridden from IMessageToken
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FOnMessageTokenActivated & GetOnMessageTokenActivated() |
Get the activated delegate associated with this token, if any | Logging/TokenizedMessage.h | |
virtual EMessageToken::Type GetType() |
Begin IMessageToken interface | Logging/TokenizedMessage.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FActorToken > Create
(
const FString& InActorPath, |
Factory method, tokens can only be constructed as shared refs | Logging/TokenizedMessage.h | |
static FOnMessageTokenActivated & DefaultOnMessageTokenActivated() |
Get the delegate for default token activation | Logging/TokenizedMessage.h |