Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/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 | 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. | |
| int32 | NumRefPasses | Variables set/read per call to PreSave/PostSave functions. | |
| uint32 | OriginalPackageFlags | Package->GetPackageFlags before the save, or 0 if no package. | |
| 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, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Set
(
UPackage* Package, |
Set the fields set by the standard constructor. | |
| void | Set
(
UPackage* Package, |
Set the fields set by the standard constructor. |