/Engine/Source/Editor/UnrealEd/Public/PackageTools.h
Saves all the dirty packages for the specified objects
static bool SavePackagesForObjects ( const [TArray](API\Runtime\Core\Containers\TArray)< [UObject](API\Runtime\CoreUObject\UObject\UObject) * > & ObjectsToSave )