Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UPackage
Description
Save one specific object (along with any objects it references contained within the same Outer) into an Unreal package.
| Name | Save |
| Type | function |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/UObject/Package.h |
| Include Path | #include "UObject/Package.h" |
static FSavePackageResultStruct Save
(
UPackage * InOuter,
UObject * InAsset,
const TCHAR * Filename,
const FSavePackageArgs & SaveArgs
)
FSavePackageResultStruct enum value with the result of saving a package as well as extra data
Parameters
| Name | Remarks |
|---|---|
| InOuter | the outer to use for the new package |
| InAsset | the object that should be saved into the package |
| Filename | the name to use for the new package file |
| SaveArgs | Extended arguments to control the save |