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.
 
 
 
 

24 lines
863 B

#pragma once
#include "Object.h"
#include "WFUFileListLambdaDelegate.generated.h"
UCLASS()
class WINDOWSFILEUTILITY_API UWFUFileListLambdaDelegate : public UObject, public IWFUFileListInterface
{
GENERATED_BODY()
UWFUFileListLambdaDelegate();
public:
void SetOnDoneCallback(TFunction<void(const TArray<FString>&, const TArray<FString>&)> InOnDoneCallback);
protected:
//File List Interface
virtual void OnListFileFound_Implementation(const FString& FileName, int32 ByteCount, const FString& FilePath) override;
virtual void OnListDirectoryFound_Implementation(const FString& DirectoryName, const FString& FilePath) override;
virtual void OnListDone_Implementation(const FString& DirectoryPath, const TArray<FString>& Files, const TArray<FString>& Folders) override;
TFunction<void(const TArray<FString>&, const TArray<FString>&)> OnDoneCallback;
};