UEditorLoadingAndSavingUtils::SavePackagesWithDialog

Save all packages.

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 SavePackagesWithDialog
(
    const TArray< UPackage * > & PackagesToSave,
    bool bOnlyDirty
)

Remarks

Save all packages. Optionally prompting the user to select which packages to save. 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

PackagesToSave

The list of packages to save. Both map and content packages are supported

bCheckDirty

If true, only packages that are dirty in PackagesToSave will be saved

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