Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/IPackageAutoSaver.h |
Include | #include "IPackageAutoSaver.h" |
Syntax
class IPackageAutoSaver
Remarks
An interface to handle the creation, destruction, and restoration of auto-saved packages
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Attempts to auto-save the level and/or content packages, if those features are enabled. | |
![]() |
void | Set a flag to bypass the recovery UI prompt and to automatically decline package recovery. | |
![]() |
void | Forces auto-save timer to equal auto-save time limit, causing an auto-save attempt | |
![]() |
void | ForceMinimumTimeTillAutoSave
(
const float TimeTillAutoSave |
Forces the auto-save timer to be the auto-save time limit less the passed in value |
![]() ![]() |
bool | ||
![]() ![]() |
bool | IsAutoSaving () |
|
![]() |
void | Load the restore file from disk (if present) | |
![]() |
void | Offer the user the chance to restore any packages that were dirty and have auto-saves | |
![]() |
void | OnPackagesDeleted
(
const TArray< UPackage* >& DeletedPackages |
Called when packages are deleted in the editor |
![]() |
void | Resets the auto-save timer | |
![]() |
void | UpdateAutoSaveCount
(
const float DeltaSeconds |
Update the auto-save count based on the delta-value provided |
![]() |
void | UpdateRestoreFile
(
const bool bRestoreEnabled |
Update the file on disk that's used to restore auto-saved packages in the event of a crash |