UEditorLoadingAndSavingUtils::SaveDirtyPackagesWithDialog

Looks at all currently loaded packages and saves them if their "bDirty" flag is set.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/FileHelpers.h

Include

#include "FileHelpers.h"

Source

/Engine/Source/Editor/UnrealEd/Private/FileHelpers.cpp

Syntax

static bool SaveDirtyPackagesWithDialog
(
    const bool bSaveMapPackages,
    const bool bSaveContentPackages
)

Remarks

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).

Returns

true on success, false on fail.

Parameters

Parameter

Description

bSaveMapPackages

true if map packages should be saved

bSaveContentPackages

true if we should save content packages.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss