IPackageAutoSaver

An interface to handle the creation, destruction, and restoration of auto-saved packages

Windows
MacOS
Linux

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

Name Description

Public function

IPackageAutoSaver()

Destructors

Name Description

Public function Virtual

~IPackageAutoSaver()

Functions

Name Description

Public function

void

 

AttemptAutoSave()

Attempts to auto-save the level and/or content packages, if those features are enabled.

Public function

void

 

DisableRestorePromptAndDeclinePackageRecovery()

Set a flag to bypass the recovery UI prompt and to automatically decline package recovery.

Public function

void

 

ForceAutoSaveTimer()

Forces auto-save timer to equal auto-save time limit, causing an auto-save attempt

Public function

void

 

ForceMinimumTimeTillAutoSave

(
    const float TimeTillAutoSave
)

Forces the auto-save timer to be the auto-save time limit less the passed in value

Public function Const

bool

 

HasPackagesToRestore()

Public function Const

bool

 

IsAutoSaving()

Public function

void

 

LoadRestoreFile()

Load the restore file from disk (if present)

Public function

void

 

OfferToRestorePackages()

Offer the user the chance to restore any packages that were dirty and have auto-saves

Public function

void

 

OnPackagesDeleted

(
    const TArray< UPackage* >& De...
)

Called when packages are deleted in the editor

Public function

void

 

ResetAutoSaveTimer()

Resets the auto-save timer

Public function

void

 

UpdateAutoSaveCount

(
    const float DeltaSeconds
)

Update the auto-save count based on the delta-value provided

Public function Const

void

 

UpdateRestoreFile

(
    const bool bRestoreEnabled
)

Update the file on disk that's used to restore auto-saved packages in the event of a crash

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback