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.

42 lines
1.3 KiB

  1. // Fill out your copyright notice in the Description page of Project Settings.
  2. #pragma once
  3. #include "WFUFileListInterface.generated.h"
  4. UINTERFACE(MinimalAPI)
  5. class UWFUFileListInterface : public UInterface
  6. {
  7. GENERATED_UINTERFACE_BODY()
  8. };
  9. class WINDOWSFILEUTILITY_API IWFUFileListInterface
  10. {
  11. GENERATED_IINTERFACE_BODY()
  12. public:
  13. /**
  14. * Called when a file has been found inside the folder of choice
  15. * @param FileName of the found file.
  16. * @param Size in bytes of the found file.
  17. * @param FilePath of the file that was found
  18. */
  19. UFUNCTION(BlueprintNativeEvent, Category = FolderWatchEvent)
  20. void OnListFileFound(const FString& FileName, int32 ByteCount, const FString& FilePath);
  21. /**
  22. * Called when a directory has been found inside the folder of choice
  23. * @param DirectoryName of the found directory.
  24. * @param FilePath of the file that was found
  25. */
  26. UFUNCTION(BlueprintNativeEvent, Category = FolderWatchEvent)
  27. void OnListDirectoryFound(const FString& DirectoryName, const FString& FilePath);
  28. /**
  29. * Called when the listing operation has completed.
  30. * @param DirectoryPath Path of the directory
  31. * @param Files array of files found
  32. */
  33. UFUNCTION(BlueprintNativeEvent, Category = FolderWatchEvent)
  34. void OnListDone(const FString& DirectoryPath, const TArray<FString>& Files, const TArray<FString>& Folders);
  35. };