FActionToken

Message token that performs an action when activated.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Logging/TokenizedMessage.h

Include

#include "Logging/TokenizedMessage.h"

Syntax

class FActionToken : public IMessageToken

Remarks

Message token that performs an action when activated.

Constructors

Name Description

Protected function

FActionToken

(
    const FText& InActionName,
    const FText& InActionDescription,
    const FOnActionTokenExecuted& InAc...,
    bool bInSingleUse
)

Hidden constructor.

Functions

Name Description

Public function Const

bool

 

CanExecuteAction()

Returns true if the action can be activated

Public function Static

TSharedRef< ...

 

Create

(
    const FText& ActionName,
    const FText& ActionDescription,
    const FOnActionTokenExecuted& Acti...,
    bool bInSingleUse
)

Factory method, tokens can only be constructed as shared refs

Public function

void

 

ExecuteAction()

Executes the assigned action delegate.

Public function

const FText ...

 

GetActionDescription()

Gets the action's description text.

Overridden from IMessageToken

Name Description

Public function Virtual Const

EMessageToke...

 

GetType()

Get the type of this message token

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