|
|
virtual void | Apply ()=0 |
| | Applies the transaction.
|
| |
|
virtual void | BeginOperation ()=0 |
| | BeginOperation should be called when a transaction or undo/redo starts
|
| |
| virtual bool | ContainsPieObjects () const =0 |
| |
|
virtual void | EndOperation ()=0 |
| | EndOperation should be called when a transaction is finalized or canceled or undo/redo ends
|
| |
|
virtual void | Finalize ()=0 |
| | Called when this transaction is completed to finalize the transaction
|
| |
|
virtual FTransactionContext | GetContext () const =0 |
| | Gets the full context for the transaction
|
| |
| virtual bool | IsTransient () const =0 |
| | Report if a transaction should be put in the undo buffer. 更多...
|
| |
| virtual void | SaveArray (UObject *Object, class FScriptArray *Array, int32 Index, int32 Count, int32 Oper, int32 ElementSize, STRUCT_DC DefaultConstructor, STRUCT_AR Serializer, STRUCT_DTOR Destructor)=0 |
| | Saves an array to the transaction. 更多...
|
| |
| virtual void | SaveObject (UObject *Object)=0 |
| | Saves an UObject to the transaction. 更多...
|
| |
| virtual void | SetPrimaryObject (UObject *Object)=0 |
| | Sets the transaction's primary object. 更多...
|
| |
| virtual void | SnapshotObject (UObject *Object, TArrayView< const FProperty * > Properties)=0 |
| | Snapshots a UObject within the transaction. 更多...
|
| |
| virtual void | StoreUndo (UObject *Object, TUniquePtr< FChange > CustomChange)=0 |
| | Stores a command that can be used to undo a change to the specified object. 更多...
|
| |
Interface for transactions.
Transactions are created each time an UObject is modified, for example in the Editor. The data stored inside a transaction object can then be used to provide undo/redo functionality.