Navigation
API > API/Runtime > API/Runtime/CoreUObject
Description
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.
| Name | SaveToTransactionBuffer |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/UObjectGlobals.h |
| Include Path | #include "UObject/UObjectGlobals.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/UObjectGlobals.cpp |
bool SaveToTransactionBuffer
(
UObject * Object,
bool bMarkDirty
)
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 | Remarks |
|---|---|
| bMarkDirty | If true, marks the package dirty if we are currently recording into a transaction buffer |
| Object | object to save. |