Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include | #include "UObject/UObjectGlobals.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp |
bool SaveToTransactionBuffer
(
UObject * Object,
bool bMarkDirty
)
Remarks
Save a copy of this object into the transaction buffer if we are currently recording into one (undo/redo). If bMarkDirty is true, will also mark the package as needing to be saved. true if a copy of the object was saved and the package potentially marked dirty; false if we are not recording into a transaction buffer, the package is a PIE/script package, or the object is not transactional (implies the package was not marked dirty)
Parameters
| Name | Description |
|---|---|
| bMarkDirty | If true, marks the package dirty if we are currently recording into a transaction buffer |
| Object | object to save. |