Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorLoadingAndSavingUtils
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/FileHelpers.h |
| Include | #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
)
Remarks
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). true on success, false on fail.
Parameters
| Name | Description |
|---|---|
| bSaveMapPackages | true if map packages should be saved |
| bSaveContentPackages | true if we should save content packages. |