Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
Inheritance Hierarchy
- FObjectPreSaveContext
- FObjectPreSaveRootContext
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectSaveContext.h |
| Include | #include "UObject/ObjectSaveContext.h" |
Syntax
class FObjectPreSaveContext
Remarks
Interface used by PreSave to access the save parameters.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FObjectSaveContextData & | Data |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FObjectPreSaveContext
(
FObjectSaveContextData& InData |
|||
FObjectPreSaveContext
(
const FObjectPreSaveContext& Other |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCookBuildDependency
(
UE::Cook::FCookDependency BuildDependency |
Add the given FCookDependency to the build dependencies for the package being cook-saved. | |
| void | AddCookRuntimeDependency
(
FSoftObjectPath Dependency |
Add the given UObject's package as a runtime dependency for the package being cook-saved. | |
| void | AddSaveOverride
(
UObject* Target, |
Add a save override to specific object. | |
| UE::Cook::ECookingDLC | |||
| UE::Cook::ECookType | GetCookType () |
||
| EObjectSaveContextPhase | GetPhase () |
Return which phase of SavePackage callbacks are active. | |
| uint32 | GetSaveFlags () |
Return the save flags (ESaveFlags) of the save. | |
| const TCHAR * | The target Filename being saved into (not the temporary file for saving). | ||
| const ITargetPlatform * | Return the targetplatform of the save, if cooking. Null if not cooking. | ||
| void | HarvestCookRuntimeDependencies
(
UObject* HarvestReferencesFrom |
Serialize an object to find all packages that it references, and AddCookRuntimeDependency for each one. | |
| bool | |||
| bool | IsCooking () |
Report whether this is a save into a target-specific cooked format. | |
| bool | |||
| bool | |||
| bool | Applicable only to cook saves: True if the SavePackage call should write extra debug data for debugging cook determinism or incremental cook issues. | ||
| bool | Always true normally. | ||
| bool | Return whether the package is being saved due to a procedural save. | ||
| bool | Return whether LoadedPath of the package being saved is being updated. | ||
| void | RegisterDeterminismHelper
(
const TRefCountPtr< UE::Cook::IDeterminismHelper >& DeterminismHelper |
Ignored unless IsDeterminismDebug()=true. |