UEditorLoadingAndSavingUtils::SavePackages

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

Remarks

Save all packages. Assume all dirty packages should be saved and check 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