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