/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetRegistryState.h
Returns all package names
void GetPackageNames ( [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & OutPackageNames ) const