mirror of
https://github.com/storytold/RuntimeFilesDownloader.git
synced 2026-10-09 00:09:42 +00:00
minor basic changes
This commit is contained in:
-16
@@ -3,22 +3,6 @@
|
|||||||
#include "RuntimeFilesDownloaderLibrary.h"
|
#include "RuntimeFilesDownloaderLibrary.h"
|
||||||
#include "RuntimeFilesDownloader.h"
|
#include "RuntimeFilesDownloader.h"
|
||||||
|
|
||||||
URuntimeFilesDownloaderLibrary::URuntimeFilesDownloaderLibrary(const FObjectInitializer& ObjectInitializer)
|
|
||||||
: Super(ObjectInitializer)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
URuntimeFilesDownloaderLibrary::URuntimeFilesDownloaderLibrary() :
|
|
||||||
FileUrl(TEXT(""))
|
|
||||||
, FileSavePath(TEXT(""))
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
URuntimeFilesDownloaderLibrary::~URuntimeFilesDownloaderLibrary()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
URuntimeFilesDownloaderLibrary* URuntimeFilesDownloaderLibrary::CreateDownloader()
|
URuntimeFilesDownloaderLibrary* URuntimeFilesDownloaderLibrary::CreateDownloader()
|
||||||
{
|
{
|
||||||
URuntimeFilesDownloaderLibrary* Downloader = NewObject<URuntimeFilesDownloaderLibrary>();
|
URuntimeFilesDownloaderLibrary* Downloader = NewObject<URuntimeFilesDownloaderLibrary>();
|
||||||
|
|||||||
+1
-7
@@ -33,7 +33,7 @@ DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnResult, TEnumAsByte < DownloadRes
|
|||||||
UCLASS(BlueprintType, Category = "RuntimeFilesDownloader")
|
UCLASS(BlueprintType, Category = "RuntimeFilesDownloader")
|
||||||
class RUNTIMEFILESDOWNLOADER_API URuntimeFilesDownloaderLibrary : public UObject
|
class RUNTIMEFILESDOWNLOADER_API URuntimeFilesDownloaderLibrary : public UObject
|
||||||
{
|
{
|
||||||
GENERATED_UCLASS_BODY()
|
GENERATED_BODY()
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
@@ -60,12 +60,6 @@ public:
|
|||||||
UPROPERTY(BlueprintReadOnly, Category = "RuntimeFilesDownloader")
|
UPROPERTY(BlueprintReadOnly, Category = "RuntimeFilesDownloader")
|
||||||
FString FileSavePath;
|
FString FileSavePath;
|
||||||
|
|
||||||
/**
|
|
||||||
* Basic class methods
|
|
||||||
*/
|
|
||||||
URuntimeFilesDownloaderLibrary();
|
|
||||||
~URuntimeFilesDownloaderLibrary();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instantiates a FileDownloader object, starts downloading and saves it when done.
|
* Instantiates a FileDownloader object, starts downloading and saves it when done.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user