![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ObjectSaveContext.h>
Inheritance diagram for FObjectPostSaveContext:Public Member Functions | |
| FObjectPostSaveContext (FObjectSaveContextData &InData) | |
| FObjectPostSaveContext (const FObjectPostSaveContext &Other) | |
| const TCHAR * | GetTargetFilename () const |
| bool | IsCooking () const |
| const ITargetPlatform * | GetTargetPlatform () const |
| bool | IsCookByTheBook () const |
| bool | IsCookOnTheFly () const |
| bool | IsCookTypeUnknown () const |
| UE::Cook::ECookType | GetCookType () const |
| UE::Cook::ECookingDLC | GetCookingDLC () const |
| bool | IsProceduralSave () const |
| bool | IsFromAutoSave () const |
| bool | IsUpdatingLoadedPath () const |
| uint32 | GetSaveFlags () const |
| uint32 | GetOriginalPackageFlags () const |
| bool | SaveSucceeded () const |
| bool | IsLastConcurrentSave () const |
| EObjectSaveContextPhase | GetPhase () const |
Protected Attributes | |
| FObjectSaveContextData & | Data |
Friends | |
| class | UObject |
Interface used by PostSave to access the save parameters.
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
Package->GetPackageFlags before the save, or 0 if no package.
|
inline |
Return which phase of SavePackage callbacks are active.
|
inline |
Return the save flags (ESaveFlags) of the save.
|
inline |
The target Filename being saved into (not the temporary file for saving). The path is in the standard UnrealEngine form - it is as a relative path from the process binary directory. Empty string if the saved bytes are not being saved to a file. Never null.
|
inline |
Return the targetplatform of the save, if cooking. Null if not cooking.
|
inline |
|
inline |
Report whether this is a save into a target-specific cooked format.
|
inline |
|
inline |
|
inline |
Return whether the package is being saved due to the editor auto save feature.
|
inline |
Always true normally. When a system is executing multiple PreSaves and PostSaves concurrently before a single save, PostSaves are executed in reverse order of the PreSaves, and this function returns false for all but the last one.
|
inline |
Return whether the package is being saved due to a procedural save. Any save without the possibility of user-generated edits to the package is a procedural save (Cooking, EditorDomain). This allows us to execute transforms that only need to be executed in response to new user data.
|
inline |
Return whether LoadedPath of the package being saved is being updated. This allows us to update the in-memory package when it is saved in editor to match its new save file.
|
inline |
Return whether the Save was successful. Note that some PostSave operations are only called when this is true.
|
protected |