Navigation
API > API/Runtime > API/Runtime/CoreUObject
Interface used by PreSave to access the save parameters.
| Name | FObjectPreSaveContext |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectSaveContext.h |
| Include Path | #include "UObject/ObjectSaveContext.h" |
Syntax
class FObjectPreSaveContext
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FObjectPreSaveContext
(
FObjectSaveContextData& InData |
UObject/ObjectSaveContext.h | ||
FObjectPreSaveContext
(
const FObjectPreSaveContext& Other |
UObject/ObjectSaveContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCookBuildDependency
(
UE::Cook::FCookDependency BuildDependency |
UObject/ObjectSaveContext.h | ||
void AddCookRuntimeDependency
(
FSoftObjectPath Dependency |
UObject/ObjectSaveContext.h | ||
void AddSaveOverride
(
UObject* Target, |
Add a save override to specific object. | UObject/ObjectSaveContext.h | |
UE::Cook::ECookingDLC GetCookingDLC() |
UObject/ObjectSaveContext.h | ||
UE::Cook::ECookType GetCookType() |
UObject/ObjectSaveContext.h | ||
| Return which phase of SavePackage callbacks are active. | UObject/ObjectSaveContext.h | ||
uint32 GetSaveFlags() |
Return the save flags (ESaveFlags) of the save. | UObject/ObjectSaveContext.h | |
const TCHAR * GetTargetFilename () |
The target Filename being saved into (not the temporary file for saving). | UObject/ObjectSaveContext.h | |
const ITargetPlatform * GetTargetPlatform() |
Return the targetplatform of the save, if cooking. Null if not cooking. | UObject/ObjectSaveContext.h | |
void HarvestCookRuntimeDependencies
(
UObject* HarvestReferencesFrom |
UObject/ObjectSaveContext.h | ||
bool IsCookByTheBook() |
UObject/ObjectSaveContext.h | ||
bool IsCooking() |
Report whether this is a save into a target-specific cooked format. | UObject/ObjectSaveContext.h | |
bool IsCookOnTheFly() |
UObject/ObjectSaveContext.h | ||
bool IsCookTypeUnknown() |
UObject/ObjectSaveContext.h | ||
bool IsDeterminismDebug() |
Applicable only to cook saves: True if the SavePackage call should write extra debug data for debugging cook determinism or incremental cook issues. | UObject/ObjectSaveContext.h | |
bool IsFirstConcurrentSave () |
Always true normally. | UObject/ObjectSaveContext.h | |
bool IsProceduralSave () |
Return whether the package is being saved due to a procedural save. | UObject/ObjectSaveContext.h | |
bool IsUpdatingLoadedPath () |
Return whether LoadedPath of the package being saved is being updated. | UObject/ObjectSaveContext.h | |
void RegisterDeterminismHelper
(
const TRefCountPtr< UE::Cook::IDeterminismHelper >& DeterminismHelper |
Ignored unless IsDeterminismDebug()=true. | UObject/ObjectSaveContext.h |