![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Change.h>
Inheritance diagram for FSwapChange:Public Member Functions | |
| virtual EChangeStyle | GetChangeType () final |
| virtual void | Apply (UObject *Object) final |
| virtual void | Revert (UObject *Object) final |
Public Member Functions inherited from FChange | |
| virtual TUniquePtr< FChange > | Execute (UObject *Object)=0 |
| virtual bool | HasExpired (UObject *Object) const |
| virtual void | AddReferencedObjects (FReferenceCollector &Collector) |
| virtual FString | ToString () const =0 |
| virtual CORE_API void | PrintToLog (FFeedbackContext &FeedbackContext, const int32 IndentLevel=0) |
| virtual SIZE_T | GetSize () const |
| virtual | ~FChange () |
Additional Inherited Members | |
Public Types inherited from FChange | |
| enum class | EChangeStyle { InPlaceSwap , CommandPattern } |
Protected Member Functions inherited from FChange | |
| FChange () | |
To use FSwapChange you must implement Execute(). This function must do two things: 1) apply the change to the given UObject 2) return a new FSwapChange that does the "opposite" action
Makes the change to the object
Implements FChange.
|
inlinefinalvirtual |
What style of change is this
Implements FChange.
Reverts change to the object
Implements FChange.