FEditorFileUtils::AutosaveMap

Saves all levels to the specified directory.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/FileHelpers.h

Include

#include "FileHelpers.h"

Source

/Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp

Syntax

static bool AutosaveMap
(
    const FString & AbsoluteAutosaveDir,
    const int32 AutosaveIndex,
    const bool bForceIfNotInList,
    const TSet< TWeakObjectPtr< UPackage > > & DirtyPackagesForAutoSave
)

Remarks

Saves all levels to the specified directory.

Parameters

Parameter

Description

AbsoluteAutosaveDir

Autosave directory.

AutosaveIndex

Integer prepended to autosave filenames..

bForceIfNotInList

Should the save be forced if the package is dirty, but not in DirtyPackagesForAutoSave?

DirtyPackagesForAutoSave

A set of packages that are considered by the auto-save system to be dirty, you should check this to see if a package needs saving

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss