minor basic changes

This commit is contained in:
Georgy Treshchev
2021-03-04 08:32:21 +01:00
parent e2db0d1f99
commit 1a8e141d65
2 changed files with 1 additions and 23 deletions
@@ -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>();
@@ -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.
* *