Navigation
API > API/Editor > API/Editor/UnrealEd
An interface to handle the creation, destruction, and restoration of auto-saved packages
| Name | IPackageAutoSaver |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/IPackageAutoSaver.h |
| Include Path | #include "IPackageAutoSaver.h" |
Syntax
class IPackageAutoSaver
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IPackageAutoSaver() |
IPackageAutoSaver.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IPackageAutoSaver() |
IPackageAutoSaver.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AttemptAutoSave
(
const bool bForceAutoSave |
Attempts to auto-save the level and/or content packages, if those features are enabled. | IPackageAutoSaver.h | |
| Set a flag to bypass the recovery UI prompt and to automatically decline package recovery. | IPackageAutoSaver.h | ||
void ForceAutoSaveTimer() |
Forces auto-save timer to equal auto-save time limit, causing an auto-save attempt | IPackageAutoSaver.h | |
void ForceMinimumTimeTillAutoSave
(
const float TimeTillAutoSave |
Forces the auto-save timer to be the auto-save time limit less the passed in value | IPackageAutoSaver.h | |
bool HasPackagesToRestore() |
IPackageAutoSaver.h | ||
bool IsAutoSaving
(
const EPackageAutoSaveType AutoSaveType |
IPackageAutoSaver.h | ||
void LoadRestoreFile() |
Load the restore file from disk (if present) | IPackageAutoSaver.h | |
void OfferToRestorePackages() |
Offer the user the chance to restore any packages that were dirty and have auto-saves | IPackageAutoSaver.h | |
| Called when packages are deleted in the editor | IPackageAutoSaver.h | ||
void ResetAutoSaveTimer() |
Resets the auto-save timer | IPackageAutoSaver.h | |
void UpdateAutoSaveCount
(
const float DeltaSeconds |
Update the auto-save count based on the delta-value provided | IPackageAutoSaver.h | |
void UpdateRestoreFile
(
const bool bRestoreEnabled |
Update the file on disk that's used to restore auto-saved packages in the event of a crash | IPackageAutoSaver.h |