Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/SavePackageHelper
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/PackageHelperFunctions.h |
| Include | #include "PackageHelperFunctions.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Commandlets/PackageUtilities.cpp |
bool SavePackageHelper
(
UPackage * Package,
FString Filename,
EObjectFlags KeepObjectFlags,
FOutputDevice * ErrorDevice,
ESaveFlags SaveFlags
)
Remarks
Helper function to save a package that may or may not be a map package true if successful
Parameters
| Name | Description |
|---|---|
| Package | The package to save |
| Filename | The location to save the package to |
| KeepObjectFlags | Objects with any these flags will be kept when saving even if unreferenced. |
| ErrorDevice | the output device to use for warning and error messages |