Navigation
API > API/Runtime > API/Runtime/CoreUObject
Interface used by FArchiveSavePackageData during Serialize(FArchive& Ar) to access the save parameters.
| Name | FObjectSavePackageSerializeContext |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectSaveContext.h |
| Include Path | #include "UObject/ObjectSaveContext.h" |
Syntax
class FObjectSavePackageSerializeContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UObject/ObjectSaveContext.h | |||
FObjectSavePackageSerializeContext
(
const FObjectSavePackageSerializeContext& Other |
UObject/ObjectSaveContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCookBuildDependency
(
UE::Cook::FCookDependency BuildDependency |
UObject/ObjectSaveContext.h | ||
void AddCookLoadDependency
(
UE::Cook::FCookDependency BuildDependency |
Add the given FCookDependency to the build dependencies for the package being cook-saved. | UObject/ObjectSaveContext.h | |
void AddCookRuntimeDependency
(
FSoftObjectPath Dependency |
Add the given UObject's package as a runtime dependency for the package being cook-saved. | UObject/ObjectSaveContext.h | |
void AddCookSaveDependency
(
UE::Cook::FCookDependency BuildDependency |
Add the given FCookDependency to the build dependencies for the package being cook-saved. | 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 |
Serialize an object to find all packages that it references, and AddCookRuntimeDependency for each one. | 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 IsFromAutoSave() |
Return whether the package is being saved due to the editor auto save feature. | UObject/ObjectSaveContext.h | |
bool IsHarvestingCookDependencies () |
Return true if the archive is listening to AddCookBuildDependency and AddCookRuntimeDependency calls. | 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 | |
void RequestPostSaveSerialization() |
Called during the Harvest phase when the current object need to call Serialize again during the PostSave phase. | UObject/ObjectSaveContext.h |