Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/FileHelpers.h |
Include |
#include "FileHelpers.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp |
static EAutosaveContentPackagesResult::Type AutosaveContentPackagesEx
(
const FString & AbsoluteAutosaveDir,
const int32 AutosaveIndex,
const bool bForceIfNotInList,
const TSet< TWeakObjectPtr< UPackage > > & DirtyPackagesForAutoSave
)
Saves all asset packages to the specified directory.
Success if saved at least one faile. NothingToDo if there was nothing to save. Failure on at least one auto-save failure.
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 |