/Engine/Source/Editor/UnrealEd/Public/CookPackageSplitter.h
Called before saving a generated package, after PopulateGeneratedPackage. Make any required adjustments to the generated package before it is saved into the target domain.
True if successfully presaved, false on error (this will cause a cook error).
virtual bool PreSaveGeneratedPackage ( [UPackage](API\Runtime\CoreUObject\UObject\UPackage) * OwnerPackage, [UObject](API\Runtime\CoreUObject\UObject\UObject) * OwnerObject, const [FGeneratedPackageForPopulate](API\Editor\UnrealEd\ICookPackageSplitter\FGeneratedPackageForPopulate) & GeneratedPackage, [TArray](API\Runtime\Core\Containers\TArray)< [UPackage](API\Runtime\CoreUObject\UObject\UPackage) * > & OutKeepReferencedPackages )