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.

21 lines
683 B

  1. #pragma once
  2. #include "Object.h"
  3. #include "WFUFolderWatchLambdaDelegate.generated.h"
  4. UCLASS()
  5. class WINDOWSFILEUTILITY_API UWFUFolderWatchLambdaDelegate : public UObject, public IWFUFolderWatchInterface
  6. {
  7. GENERATED_BODY()
  8. UWFUFolderWatchLambdaDelegate();
  9. public:
  10. void SetOnFileChangedCallback(TFunction<void(FString, FString)> InOnFileChangedCallback);
  11. protected:
  12. TFunction<void(FString, FString)> OnFileChangedCallback;
  13. //IWFUFolderWatchInterface
  14. virtual void OnFileChanged_Implementation(const FString& FileName, const FString& FilePath) override;
  15. virtual void OnDirectoryChanged_Implementation(const FString& DirectoryName, const FString& DirectoryPath) override;
  16. };