Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FEditorFileUtils
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/FileHelpers.h |
| Include | #include "FileHelpers.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp |
static bool AutosaveContentPackages
(
const FString & AbsoluteAutosaveDir,
const int32 AutosaveIndex,
const bool bForceIfNotInList,
const TSet < TWeakObjectPtr < UPackage >, TWeakObjectPtrSetKeyFuncs < TWeakObjectPtr < UPackage > > > & DirtyPackagesForAutoSave
)
Remarks
Saves all asset packages to the specified directory. true if one or more packages were autosaved; false otherwise
Parameters
| Name | 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 |