/Engine/Source/Runtime/CoreUObject/Public/UObject/Package.h
Return the list of packages found assigned to object outer-ed to the top level objects of this package
the array of external packages
[TArray](API\Runtime\Core\Containers\TArray)< [UPackage](API\Runtime\CoreUObject\UObject\UPackage) * > GetExternalPackages() const