engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FUObjectToken类 参考

A Message Log token that links to an object, with default behavior to link to the object in the content browser/scene. 更多...

#include <UObjectToken.h>

+ 类 FUObjectToken 继承关系图:

Public 成员函数

 DECLARE_DELEGATE_RetVal_TwoParams (FText, FOnGetDisplayName, const UObject *, bool)
 Get the delegate for displaying the object name
 
virtual const FWeakObjectPtr & GetObject () const
 End IMessageToken interface 更多...
 
virtual const FOnMessageTokenActivated & GetOnMessageTokenActivated () const override
 Get the activated delegate associated with this token, if any 更多...
 
const FString & GetOriginalObjectPathName () const
 Get the original object Path Name as the object path name could be different when fetched later on
 
virtual EMessageToken::Type GetType () const override
 Begin IMessageToken interface
 
- Public 成员函数 继承自 IMessageToken
virtual const FOnMessageTokenActivated & GetOnMessageTokenActivated () const
 Get the activated delegate associated with this token, if any 更多...
 
virtual EMessageToken::Type GetType () const =0
 Get the type of this message token 更多...
 
virtual TSharedRef< IMessageToken > OnMessageTokenActivated (FOnMessageTokenActivated InMessageTokenActivated)
 Set the activated delegate associated with this token 更多...
 
virtual const FText & ToText () const
 Get a string representation of this token 更多...
 
virtual ~IMessageToken ()
 Virtual destructor
 
- Public 成员函数 继承自 TSharedFromThis< IMessageToken >
TSharedRef< IMessageToken, Mode > AsShared ()
 Provides access to a shared reference to this object. 更多...
 
TSharedRef< IMessageToken const, Mode > AsShared () const
 Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多...
 
FORCEINLINE bool DoesSharedInstanceExist () const
 Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多...
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const
 INTERNAL USE ONLY – Do not call this method. 更多...
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const
 INTERNAL USE ONLY – Do not call this method. 更多...
 

静态 Public 成员函数

static COREUOBJECT_API TSharedRef< FUObjectToken > Create (const UObject *InObject, const FText &InLabelOverride=FText())
 Factory method, tokens can only be constructed as shared refs
 
static COREUOBJECT_API FOnMessageTokenActivated & DefaultOnMessageTokenActivated ()
 Get the delegate for default token activation
 

额外继承的成员函数

- Protected 成员函数 继承自 TSharedFromThis< IMessageToken >
FORCEINLINE TSharedFromThis & operator= (TSharedFromThis const &)
 Hidden stub assignment operator
 
 TSharedFromThis ()
 Hidden stub constructor
 
 TSharedFromThis (TSharedFromThis const &)
 Hidden stub copy constructor
 
 ~TSharedFromThis ()
 Hidden destructor
 
- 静态 Protected 成员函数 继承自 TSharedFromThis< IMessageToken >
static FORCEINLINE TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
 
static FORCEINLINE TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
 
- Protected 属性 继承自 IMessageToken
FText CachedText
 Cached string representation of this token
 
FOnMessageTokenActivated MessageTokenActivated
 A delegate for when this token is activated (e.g. 更多...
 

详细描述

A Message Log token that links to an object, with default behavior to link to the object in the content browser/scene.

成员函数说明

◆ GetObject()

virtual const FWeakObjectPtr & FUObjectToken::GetObject ( ) const
inlinevirtual

End IMessageToken interface

Get the object referenced by this token

◆ GetOnMessageTokenActivated()

virtual const FOnMessageTokenActivated & FUObjectToken::GetOnMessageTokenActivated ( ) const
overridevirtual

Get the activated delegate associated with this token, if any

返回
a reference to the delegate

重载 IMessageToken .


该类的文档由以下文件生成: