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

Transaction object events. 更多...

#include <ITransaction.h>

Public 成员函数

TSharedPtr< ITransactionObjectAnnotation > GetAnnotation () const
 Get the annotation object associated with the object being transacted (if any).
 
const TArray< FName > & GetChangedProperties () const
 Get the list of changed properties. 更多...
 
ETransactionObjectEventType GetEventType () const
 What kind of action caused this event?
 
const FGuid & GetOperationId () const
 The unique identifier for the active operation on the transaction this event belongs to
 
FName GetOriginalObjectExternalPackageName () const
 Get the original package name of this object
 
FName GetOriginalObjectName () const
 Get the original name of this object
 
FName GetOriginalObjectOuterPathName () const
 Get the original outer path name of this object
 
FName GetOriginalObjectPackageName () const
 Get the original package name of this object
 
FName GetOriginalObjectPathName () const
 Get the original path name of this object
 
const FGuid & GetTransactionId () const
 The unique identifier of the transaction this event belongs to
 
bool HasExternalPackageChange () const
 Has the package assigned to this object changed? (implies non-property changes)
 
bool HasNameChange () const
 Was the name of this object changed? (implies non-property changes)
 
bool HasNonPropertyChanges (const bool InSerializationOnly=false) const
 Were any non-property changes made to the object?
 
bool HasOuterChange () const
 Was the outer of this object changed? (implies non-property changes)
 
bool HasPendingKillChange () const
 Was the pending kill state of this object changed? (implies non-property changes)
 
bool HasPropertyChanges () const
 Were any property changes made to the object?
 
void Merge (const FTransactionObjectEvent &InOther)
 Merge this transaction event with another
 

详细描述

Transaction object events.

Transaction object events are used to notify objects when they are transacted in some way. This mostly just means that an object has had an undo/redo applied to it, however an event is also triggered when the object has been finalized as part of a transaction (allowing you to detect object changes).

成员函数说明

◆ GetChangedProperties()

const TArray< FName > & FTransactionObjectEvent::GetChangedProperties ( ) const
inline

Get the list of changed properties.

Each entry is actually a chain of property names (root -> leaf) separated by a dot, eg) "ObjProp.StructProp".


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