Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
AzureFileDownloader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/util/DownloaderResult.h"
8#include "mc/util/FileDownloadManager.h"
9
10// auto generated forward declare list
11// clang-format off
12class AppPlatform;
13namespace Core { class Path; }
14// clang-format on
15
16class AzureFileDownloader : public ::FileDownloadManager {
17public:
18 // member variables
19 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 AzureFileDownloader& operator=(AzureFileDownloader const&);
27 AzureFileDownloader(AzureFileDownloader const&);
28 AzureFileDownloader();
29
30public:
31 // member functions
32 // NOLINTBEGIN
33#ifdef LL_PLAT_C
34 MCNAPI
35 AzureFileDownloader(::Core::Path const& downloadPath, ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform);
36
37 MCNAPI void downloadSingleFile(
38 ::std::string const& downloadURL,
39 ::std::string const& contentId,
40 ::std::function<void(::DownloaderResult)> onDownloadCompletecallback
41 );
42#endif
43 // NOLINTEND
44
45public:
46 // constructor thunks
47 // NOLINTBEGIN
48#ifdef LL_PLAT_C
49 MCNAPI void* $ctor(::Core::Path const& downloadPath, ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform);
50#endif
51 // NOLINTEND
52};
Definition AppPlatform.h:79
Definition Path.h:10
Definition Alias.h:14