FTransactionObjectEvent

Transaction object events.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/ITransaction.h

Include

#include "Misc/ITransaction.h"

Syntax

class FTransactionObjectEvent

Remarks

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).

Constructors

Name Description

Public function

FTransactionObjectEvent()

Public function

FTransactionObjectEvent

(
    const FGuid& InTransactionId,
    const FGuid& InOperationId,
    const ETransactionObjectEventType I...,
    const FTransactionObjectDeltaChange...,
    const TSharedPtr< ITransactionObjec...,
    const FName InOriginalObjectName,
    const FName InOriginalObjectPathNam...,
    const FName InOriginalObjectOuterPa...,
    const FName InOriginalObjectClassPa...
)

Functions

Name Description

Public function Const

TSharedPtr< ...

 

GetAnnotation()

Get the annotation object associated with the object being transacted (if any).

Public function Const

const TArray...

 

GetChangedProperties()

Get the list of changed properties.

Public function Const

ETransaction...

 

GetEventType()

What kind of action caused this event?

Public function Const

const FGuid ...

 

GetOperationId()

The unique identifier for the active operation on the transaction this event belongs to

Public function Const

FName

 

GetOriginalObjectClassPathName()

Public function Const

FName

 

GetOriginalObjectName()

Get the original name of this object

Public function Const

FName

 

GetOriginalObjectOuterPathName()

Get the original outer path name of this object

Public function Const

FName

 

GetOriginalObjectPathName()

Get the original path name of this object

Public function Const

const FGuid ...

 

GetTransactionId()

The unique identifier of the transaction this event belongs to

Public function Const

bool

 

HasNameChange()

Was the name of this object changed? (implies non-property changes)

Public function Const

bool

 

HasNonPropertyChanges

(
    const bool InSerializationOnly
)

Were any non-property changes made to the object?

Public function Const

bool

 

HasOuterChange()

Was the outer of this object changed? (implies non-property changes)

Public function Const

bool

 

HasPendingKillChange()

Was the pending kill state of this object changed? (implies non-property changes)

Public function Const

bool

 

HasPropertyChanges()

Were any property changes made to the object?

Public function

void

 

Merge

(
    const FTransactionObjectEvent& InO...
)

Merge this transaction event with another

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