Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > Editor > FTransaction
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Classes/Editor/Transactor.h |
Include | #include "Editor/Transactor.h" |
Syntax
class FObjectRecord
Remarks
Record of an object.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TArray< const FProperty * > | AllPropertiesSnapshot | The combined list of properties that have been passed any Snapshot call for this object (always empty once finalized) |
![]() |
FScriptArray * | Array | Array: If an array object, reference to script array |
![]() |
bool | bFinalized | True if object has been finalized and generated diff data |
![]() |
bool | bHasSerializedObjectChanges | True if the serialized object state changed between when the transaction started and when the transaction ended (set once finalized) |
![]() |
bool | bRestored | True if object has already been restored from data. False otherwise. |
![]() |
bool | bWantsBinarySerialization | True if record should serialize data as binary blob (more compact). |
![]() |
int32 | Count | Array: How many items to record |
![]() |
TUniquePtr< FChange > | CustomChange | Custom change to apply to this object to undo this record. |
![]() |
STRUCT_DC | DefaultConstructor | Array: DefaultConstructor for each item in the array |
![]() |
FTransactionObjectDeltaChange | DeltaChange | Delta change information between the diffable state of the object when the transaction started, and the diffable state of the object when the transaction ended |
![]() |
STRUCT_DTOR | Destructor | Array: Destructor for each item in the array |
![]() |
TUniquePtr< UE::Transaction::FDiffableObject > | DiffableObject | The diffable object data (always null once finalized) |
![]() |
TUniquePtr< UE::Transaction::FDiffableObject > | DiffableObjectSnapshot | The diffable object data when it was last snapshot (always null once finalized) |
![]() |
uint32 | ElementAlignment | Array: Alignment of each item in the array |
![]() |
int32 | ElementSize | Array: Size of each item in the array |
![]() |
int32 | Index | Array: Offset into the array |
![]() |
UE::Transaction::FPersistentObjectRef | Object | Variables. |
![]() |
TSharedPtr< ITransactionObjectAnnotation > | ObjectAnnotationSnapshot | Annotation data the last time the object was snapshot (always null once finalized) |
![]() |
int32 | Oper | |
![]() |
FSerializedObject | SerializedObject | The serialized object data |
![]() |
FSerializedObject | SerializedObjectFlip | The serialized object data that will be used when the transaction is flipped |
![]() |
STRUCT_AR | Serializer | Array: Serializer to use for each item in the array |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Constructors. | ||
![]() |
FObjectRecord
(
FTransaction* Owner, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
Used by GC to collect referenced objects. |
![]() ![]() |
bool | ||
![]() |
void | Finalize
(
FTransaction* Owner, |
|
![]() ![]() |
UE::Transaction::FDiffableObject | GetDiffableObject
(
TArrayView< const FProperty* > PropertiesToSerialize, |
|
![]() ![]() |
bool | HasChanges () |
|
![]() ![]() |
bool | HasExpired () |
|
![]() |
void | Load
(
FTransaction* Owner |
|
![]() |
void | Restore
(
FTransaction* Owner |
|
![]() |
void | Save
(
FTransaction* Owner |
|
![]() ![]() |
void | SerializeContents
(
FArchive& Ar, |
Functions. |
![]() ![]() |
void | SerializeObject
(
FArchive& Ar |
|
![]() |
void | Snapshot
(
FTransaction* Owner, |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FReader | Transfers data from an array. | |
![]() |
FSerializedObject | ||
![]() |
FWriter | Transfers data to an array. |