/Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h
Gets package names to add to the cook, and packages to never cook even if in startup set memory or referenced
virtual void ModifyCook ( TConstArrayView< const [ITargetPlatform](API\Developer\TargetPlatform\Interfaces\ITargetPlatform) * > TargetPlatforms, [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & PackagesToCook, [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & PackagesToNeverCook )