A modded EditSaber for making beat saber maps.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
863 B

  1. #pragma once
  2. #include "Object.h"
  3. #include "WFUFileListLambdaDelegate.generated.h"
  4. UCLASS()
  5. class WINDOWSFILEUTILITY_API UWFUFileListLambdaDelegate : public UObject, public IWFUFileListInterface
  6. {
  7. GENERATED_BODY()
  8. UWFUFileListLambdaDelegate();
  9. public:
  10. void SetOnDoneCallback(TFunction<void(const TArray<FString>&, const TArray<FString>&)> InOnDoneCallback);
  11. protected:
  12. //File List Interface
  13. virtual void OnListFileFound_Implementation(const FString& FileName, int32 ByteCount, const FString& FilePath) override;
  14. virtual void OnListDirectoryFound_Implementation(const FString& DirectoryName, const FString& FilePath) override;
  15. virtual void OnListDone_Implementation(const FString& DirectoryPath, const TArray<FString>& Files, const TArray<FString>& Folders) override;
  16. TFunction<void(const TArray<FString>&, const TArray<FString>&)> OnDoneCallback;
  17. };