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

#include <TokenizedMessage.h>

+ Inheritance diagram for FImageToken:

Public Member Functions

virtual EMessageToken::Type GetType () const override
 
const FNameGetImageName () const
 
 FImageToken (FPrivateToken, const FName &InImageName)
 
- Public Member Functions inherited from IMessageToken
virtual ~IMessageToken ()
 
virtual const FTextToText () const
 
virtual const FOnMessageTokenActivatedGetOnMessageTokenActivated () 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< FImageTokenCreate (const FName &InImageName)
 

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 with an icon/image payload

Constructor & Destructor Documentation

◆ FImageToken()

FImageToken::FImageToken ( FPrivateToken  ,
const FName InImageName 
)
inline

Private constructor

Member Function Documentation

◆ Create()

TSharedRef< FImageToken > FImageToken::Create ( const FName InImageName)
static

Factory method, tokens can only be constructed as shared refs

◆ GetImageName()

const FName & FImageToken::GetImageName ( ) const
inline

End IMessageToken interface Get the name of the image for this token

◆ GetType()

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

Begin IMessageToken interface

Implements IMessageToken.


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