/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h
This will recurse over the given list of directory structures looking for packages.
Returns true if any packages have been found, otherwise false
static bool FindPackagesInDirectories ( [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & OutPackages, const [TArrayView](API\Runtime\Core\Containers\TArrayView)< const [FString](API\Runtime\Core\Containers\FString) > & RootDirs )