UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FActorToken Class Reference

#include <TokenizedMessage.h>

+ Inheritance diagram for FActorToken:

Public Member Functions

virtual EMessageToken::Type GetType () const override
 
virtual const FOnMessageTokenActivatedGetOnMessageTokenActivated () const override
 
const FString & GetActorPath () const
 
const FGuidGetActorGuid () const
 
 FActorToken (FPrivateToken, const FString &InActorPath, const FGuid &InActorGuid, const FText &InMessage)
 
- Public Member Functions inherited from IMessageToken
virtual ~IMessageToken ()
 
virtual const FTextToText () const
 
virtual TSharedRef< IMessageTokenOnMessageTokenActivated (FOnMessageTokenActivated InMessageTokenActivated)
 
- Public Member Functions inherited from TSharedFromThis< IMessageToken >
TSharedRef< IMessageToken, Mode > AsShared ()
 
TSharedRef< IMessageToken const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< IMessageToken, Mode > AsWeak ()
 
TWeakPtr< IMessageToken const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Static Public Member Functions

static CORE_API TSharedRef< FActorTokenCreate (const FString &InActorPath, const FGuid &InActorGuid, const FText &InMessage=FText())
 
static FOnMessageTokenActivatedDefaultOnMessageTokenActivated ()
 

Additional Inherited Members

- Protected Member Functions inherited from TSharedFromThis< IMessageToken >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< IMessageToken >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 
- Protected Attributes inherited from IMessageToken
FOnMessageTokenActivated MessageTokenActivated
 
FText CachedText
 

Detailed Description

Basic message token that defaults its activated method to select an actor in the opened level

Constructor & Destructor Documentation

◆ FActorToken()

FActorToken::FActorToken ( FPrivateToken  ,
const FString &  InActorPath,
const FGuid InActorGuid,
const FText InMessage 
)
inline

Private constructor

Member Function Documentation

◆ Create()

TSharedRef< FActorToken > FActorToken::Create ( const FString &  InActorPath,
const FGuid InActorGuid,
const FText InMessage = FText() 
)
static

Factory method, tokens can only be constructed as shared refs

◆ DefaultOnMessageTokenActivated()

static FOnMessageTokenActivated & FActorToken::DefaultOnMessageTokenActivated ( )
inlinestatic

Get the delegate for default token activation

◆ GetActorGuid()

const FGuid & FActorToken::GetActorGuid ( ) const
inline

Get the actor guid used by this token

◆ GetActorPath()

const FString & FActorToken::GetActorPath ( ) const
inline

End IMessageToken interface Get the actor name used by this token

◆ GetOnMessageTokenActivated()

const FOnMessageTokenActivated & FActorToken::GetOnMessageTokenActivated ( ) const
overridevirtual

Get the activated delegate associated with this token, if any

Returns
a reference to the delegate

Reimplemented from IMessageToken.

◆ GetType()

virtual EMessageToken::Type FActorToken::GetType ( ) const
inlineoverridevirtual

Begin IMessageToken interface

Implements IMessageToken.


The documentation for this class was generated from the following files: