|
| using | DataCallback |
|
using | EndCallback = ::std::function<void(::DownloaderState)> |
|
using | WriteCompleteCallback = ::std::function<void(uint64, bool)> |
|
|
StreamFileDownloader & | operator= (StreamFileDownloader const &) |
|
| StreamFileDownloader (StreamFileDownloader const &) |
| virtual void | update () |
| virtual void | initRealmsFileDownloader (::std::string const &downloadId, int const slotIndex, ::std::string const &downloadUrl, ::FileInfo const &file, uint64 fromByteOffset, ::std::string const &downloadVersion, ::std::function< void(::DownloaderResult)> callback) |
| virtual void | initFileDownloader (::std::string const &, ::std::string const &downloadUrl, ::FileInfo const &, uint64 expectedFileSize, uint64 fromByteOffset, ::std::string const &, ::std::function< void(::DownloaderResult)> callback) |
| virtual void | downloadFile (::std::function< void(::std::vector< uchar >, uint64, uint64, ::std::function< void(uint64, bool)>)> dataCallback, ::std::function< void(::DownloaderState)> endCallback) |
| virtual bool | canCancelDownload () const |
| virtual void | cancelDownload () |
| virtual uint64 | getDownloadTotalSize () const |
| virtual uint64 | getDownloadReceivedSize () const |
| virtual float | getDownloadProgress () const |
|
virtual::Bedrock::Http::Request | _makeRequest () |
|
MCNAPI_C void | _checkErrorAndRequeue (uint64 bytesWritten, bool hasError) |
|
MCNAPI_C void | _downloadFile () |
|
MCNAPI_C ::Bedrock::Threading::Async<::Bedrock::Http::Response > | _downloadNextChunk (::Bedrock::Http::Request request) |
|
MCNAPI_C ::Bedrock::Threading::Async<::std::tuple< uint64, bool > > | _processResponse (::Bedrock::Http::Response response) |
|
MCNAPI_C void * | $ctor () |
| MCAPI void | $dtor () |
|
| static MCAPI void ** | $vftable () |
|
static MCNAPI_C ::std::add_lvalue_reference_t< char const *const[]> | DownloaderResultStrings () |
|
|
::ll::UntypedStorage< 8, 32 > | mUnka211d4 |
|
::ll::UntypedStorage< 8, 8 > | mUnkd71e6f |
|
::ll::UntypedStorage< 8, 64 > | mUnkfb46b6 |
|
::ll::UntypedStorage< 8, 64 > | mUnk82ed74 |
|
::ll::UntypedStorage< 8, 8 > | mUnk402616 |
|
::ll::UntypedStorage< 8, 8 > | mUnk89347f |
|
::ll::UntypedStorage< 8, 8 > | mUnk238343 |
|
::ll::UntypedStorage< 1, 1 > | mUnk1c4b1c |
|
::ll::UntypedStorage< 1, 1 > | mUnkcb17b4 |
|
::ll::UntypedStorage< 8, 336 > | mUnk6e3666 |
◆ DataCallback
| using IFileChunkDownloader::DataCallback |
|
inherited |
Initial value:
::std::function<void(::std::vector<uchar>, uint64, uint64, ::std::function<void(uint64, bool)>)>
◆ update()
| virtual void StreamFileDownloader::update |
( |
| ) |
|
|
virtual |
◆ initRealmsFileDownloader()
| virtual void StreamFileDownloader::initRealmsFileDownloader |
( |
::std::string const & | downloadId, |
|
|
int const | slotIndex, |
|
|
::std::string const & | downloadUrl, |
|
|
::FileInfo const & | file, |
|
|
uint64 | fromByteOffset, |
|
|
::std::string const & | downloadVersion, |
|
|
::std::function< void(::DownloaderResult)> | callback ) |
|
virtual |
◆ initFileDownloader()
| virtual void StreamFileDownloader::initFileDownloader |
( |
::std::string const & | , |
|
|
::std::string const & | downloadUrl, |
|
|
::FileInfo const & | , |
|
|
uint64 | expectedFileSize, |
|
|
uint64 | fromByteOffset, |
|
|
::std::string const & | , |
|
|
::std::function< void(::DownloaderResult)> | callback ) |
|
virtual |
◆ downloadFile()
| virtual void StreamFileDownloader::downloadFile |
( |
::std::function< void(::std::vector< uchar >, uint64, uint64, ::std::function< void(uint64, bool)>)> | dataCallback, |
|
|
::std::function< void(::DownloaderState)> | endCallback ) |
|
virtual |
◆ canCancelDownload()
| virtual bool StreamFileDownloader::canCancelDownload |
( |
| ) |
const |
|
virtual |
◆ cancelDownload()
| virtual void StreamFileDownloader::cancelDownload |
( |
| ) |
|
|
virtual |
◆ getDownloadTotalSize()
| virtual uint64 StreamFileDownloader::getDownloadTotalSize |
( |
| ) |
const |
|
virtual |
◆ getDownloadReceivedSize()
| virtual uint64 StreamFileDownloader::getDownloadReceivedSize |
( |
| ) |
const |
|
virtual |
◆ getDownloadProgress()
| virtual float StreamFileDownloader::getDownloadProgress |
( |
| ) |
const |
|
virtual |
◆ $dtor()
| MCAPI void StreamFileDownloader::$dtor |
( |
| ) |
|
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
◆ $vftable()
| MCAPI void ** StreamFileDownloader::$vftable |
( |
| ) |
|
|
static |
- Attention
- This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.
The documentation for this class was generated from the following file: