Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject > UPackage
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Package.h |
Include | #include "UObject/Package.h" |
static FSavePackageResultStruct Save
(
UPackage * InOuter,
UObject * InAsset,
const TCHAR * Filename,
const FSavePackageArgs & SaveArgs
)
Remarks
Save one specific object (along with any objects it references contained within the same Outer) into an Unreal package. FSavePackageResultStruct enum value with the result of saving a package as well as extra data
Parameters
Name | Description |
---|---|
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 |