From 8823270ff1d401731cadabd78f8dd86003a873ea Mon Sep 17 00:00:00 2001 From: Respirant Date: Sun, 27 Dec 2020 10:28:00 +0300 Subject: [PATCH] support for different devices --- .../Public/RuntimeFilesDownloaderBPLibrary.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/RuntimeFilesDownloader/Source/RuntimeFilesDownloader/Public/RuntimeFilesDownloaderBPLibrary.h b/RuntimeFilesDownloader/Source/RuntimeFilesDownloader/Public/RuntimeFilesDownloaderBPLibrary.h index b660b31..3ae44ae 100644 --- a/RuntimeFilesDownloader/Source/RuntimeFilesDownloader/Public/RuntimeFilesDownloaderBPLibrary.h +++ b/RuntimeFilesDownloader/Source/RuntimeFilesDownloader/Public/RuntimeFilesDownloaderBPLibrary.h @@ -6,6 +6,8 @@ #include "Misc/Paths.h" #include "HAL/PlatformFilemanager.h" +#include "GenericPlatform/GenericPlatformFile.h" + #include "Kismet/BlueprintFunctionLibrary.h" #include "RuntimeFilesDownloaderBPLibrary.generated.h" @@ -33,7 +35,7 @@ public: UPROPERTY(BlueprintAssignable, Category = "RuntimeFilesDownloader") FOnResult OnResult; /** - * Bind to know when the download is complete (even if it fails). + * Bind to know when the download is on progress. */ UPROPERTY(BlueprintAssignable, Category = "RuntimeFilesDownloader") FOnProgress OnProgress; @@ -43,6 +45,7 @@ public: */ UPROPERTY(BlueprintReadOnly, Category = "RuntimeFilesDownloader") FString FileUrl; + /** * The path set to save the downloaded file. */