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.

31 lines
863 B

  1. // Fill out your copyright notice in the Description page of Project Settings.
  2. #pragma once
  3. #include "WFUFolderWatchInterface.generated.h"
  4. UINTERFACE(MinimalAPI)
  5. class UWFUFolderWatchInterface : public UInterface
  6. {
  7. GENERATED_UINTERFACE_BODY()
  8. };
  9. class WINDOWSFILEUTILITY_API IWFUFolderWatchInterface
  10. {
  11. GENERATED_IINTERFACE_BODY()
  12. public:
  13. /**
  14. * Called when a file inside the folder has changed
  15. * @param FilePath Path of the file that has changed
  16. */
  17. UFUNCTION(BlueprintNativeEvent, Category = FolderWatchEvent)
  18. void OnFileChanged(const FString& FileName, const FString& FilePath);
  19. /**
  20. * Called when a directory inside the folder has changed
  21. * @param FilePath Path of the file that has changed
  22. */
  23. UFUNCTION(BlueprintNativeEvent, Category = FolderWatchEvent)
  24. void OnDirectoryChanged(const FString& DirectoryName, const FString& DirectoryPath);
  25. };