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. Assume all dirty packages should be saved and check out from source control (if enabled).
| Name | SaveDirtyPackages |
| 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 SaveDirtyPackages
(
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. |