static bool ForEachGeneratedClassInHierarchy ( const [UClass](API\Runtime\CoreUObject\UObject\UClass) * InClass, [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool(const [UBlueprintGeneratedClass](API\Runtime\Engine\Engine\UBlueprintGeneratedClass) *)> InFunc )