Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorLoadingAndSavingUtils
Description
Looks at all currently loaded packages and saves them if their "bDirty" flag is set. Prompt the user to select which dirty packages to save and check them out from source control (if enabled).
| Name | SaveDirtyPackagesWithDialog |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/FileHelpers.h |
| Include Path | #include "FileHelpers.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Editor Loading and Saving")
static bool SaveDirtyPackagesWithDialog
(
const bool bSaveMapPackages,
const bool bSaveContentPackages
)
true on success, false on fail.
Parameters
| Name | Remarks |
|---|---|
| bSaveMapPackages | true if map packages should be saved |
| bSaveContentPackages | true if we should save content packages. |