Navigation
API > API/Runtime > API/Runtime/Core
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
| Name | FSwapChange |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Change.h |
| Include Path | #include "Misc/Change.h" |
Syntax
class FSwapChange : public FChange
Inheritance Hierarchy
- FChange → FSwapChange
Derived Classes
Functions
Public
Overridden from FChange
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Apply
(
UObject* Object |
Makes the change to the object | Misc/Change.h | |
virtual EChangeStyle GetChangeType() |
What style of change is this | Misc/Change.h | |
virtual void Revert
(
UObject* Object |
Reverts change to the object | Misc/Change.h |