Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectSaveContext.h |
Include | #include "UObject/ObjectSaveContext.h" |
Syntax
struct FObjectSaveContextData
Remarks
Data used to provide information about the save parameters during PreSave/PostSave.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bBaseClassCalled | Call-site enforcement; records whether the base PreSave was called. |
![]() |
bool | bCleanupRequired | A bool that can be set from PreSave to indicate PostSave needs to take some extra cleanup steps. |
![]() |
bool | bDeterminismDebug | Applicable only to cook saves: True if the SavePackage call should write extra debug data for debugging cook determinism or incremental cook issues. |
![]() |
bool | bOuterConcurrentSave | Always true normally. |
![]() |
bool | bProceduralSave | Set to true when the package is being saved due to a procedural save. |
![]() |
bool | bSaveSucceeded | Set to false if the save failed, before calling any PostSaves. |
![]() |
bool | bUpdatingLoadedPath | Set to true when the LoadedPath of the package being saved is being updated. |
![]() |
TArray< UE::Cook::FCookDependency > | CookBuildDependencies | Collection variables that are written but not read during the PreSave/PostSave functions. |
![]() |
UE::Cook::ECookingDLC | CookingDLC | |
![]() |
TArray< FSoftObjectPath > | CookRuntimeDependencies | |
![]() |
UE::Cook::ECookType | CookType | |
![]() |
int32 | NumRefPasses | Variables set/read per call to PreSave/PostSave functions. |
![]() |
UObject * | Object | The object the Save event is being called on, if known. |
![]() |
EObjectSaveContextPhase | ObjectSaveContextPhase | Set to the appropriate phase when calling Serialize during SavePackage. |
![]() |
uint32 | OriginalPackageFlags | Package->GetPackageFlags before the save, or 0 if no package. |
![]() |
IPackageWriter * | PackageWriter | The PackageWriter passed to SavePackage, may be null. |
![]() |
uint32 | SaveFlags | The save flags (ESaveFlags) of the save. |
![]() |
TMap< UObject *, FObjectSaveOverride > | SaveOverrides | List of property overrides per object to apply to during save |
![]() |
FString | TargetFilename | The target Filename being saved into (not the temporary file for saving). |
![]() |
const ITargetPlatform * | TargetPlatform | The target platform of the save, if cooking. Null if not cooking. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FObjectSaveContextData
(
UPackage* Package, |
Standard constructor; calculates derived fields from the given externally-specified fields. | |
![]() |
FObjectSaveContextData
(
UPackage* Package, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddSaveOverride
(
UObject* Target, |
Add a save override to specific object. |
![]() |
void | Set the fields set by the standard constructor. | |
![]() |
void | Set
(
UPackage* Package, |