Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
FileUploadManager Class Referenceabstract
Inheritance diagram for FileUploadManager:

Classes

struct  MultiPartStreamHelper

Public Member Functions

FileUploadManager & operator= (FileUploadManager const &)
 FileUploadManager (FileUploadManager const &)
virtual float getUploadProgress () const
virtual void archiveAndUploadFileToRealmStorage (::std::string const &uploadId, ::Core::Path const &worldID, int const slotIndex, ::std::string const &realmsGuid)=0
virtual void uploadFileToRealmStorage (::std::string const &uploadId, ::Core::Path const &path, int const slotIndex)
MCAPI FileUploadManager (::TaskGroup &taskGroup, ::std::shared_ptr<::IFileChunkUploader > fileUploader)
MCAPI void _uploadChunk (::FileChunkInfo const &chunk)
MCAPI void addCallbackQueue (::std::function< void()> callback)
MCAPI void uploadFile (::std::string const &uploadId, ::Core::Path const &filePath, bool autoStartUpload, ::Json::Value const &uploadOptions)
MCAPI void * $ctor (::TaskGroup &taskGroup, ::std::shared_ptr<::IFileChunkUploader > fileUploader)
MCAPI void $dtor ()
MCAPI float $getUploadProgress () const
MCAPI void $uploadFileToRealmStorage (::std::string const &uploadId, ::Core::Path const &path, int const slotIndex)

Static Public Member Functions

static MCAPI ::std::string const & BOUNDARY ()

Public Attributes

::ll::TypedStorage< 8, 72, ::FileInfo > mFile
::ll::TypedStorage< 8, 96, ::FileUploadManager::MultiPartStreamHelper > mMultiPartHelper
::ll::TypedStorage< 4, 4, ::UploadState > mState
::ll::TypedStorage< 4, 4, ::UploadError > mUploadError
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::IFilePicker > > mFilePicker
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::IFileChunkUploader > > mFileUploader
::ll::TypedStorage< 8, 8, ::TaskGroup & > mIOTaskGroup
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::FileArchiver > > mFileArchiver
::ll::TypedStorage< 1, 1, bool > mUploadAllAtOnce
::ll::TypedStorage< 1, 1, bool > mContinueOnReception
::ll::TypedStorage< 1, 1, bool > mUseStream

Constructor & Destructor Documentation

◆ FileUploadManager()

MCAPI FileUploadManager::FileUploadManager ( ::TaskGroup & taskGroup,
::std::shared_ptr<::IFileChunkUploader > fileUploader )
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.

Member Function Documentation

◆ _uploadChunk()

MCAPI void FileUploadManager::_uploadChunk ( ::FileChunkInfo const & chunk)
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.

◆ addCallbackQueue()

MCAPI void FileUploadManager::addCallbackQueue ( ::std::function< void()> callback)
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.

◆ uploadFile()

MCAPI void FileUploadManager::uploadFile ( ::std::string const & uploadId,
::Core::Path const & filePath,
bool autoStartUpload,
::Json::Value const & uploadOptions )
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.

◆ BOUNDARY()

MCAPI ::std::string const & FileUploadManager::BOUNDARY ( )
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.

◆ $ctor()

MCAPI void * FileUploadManager::$ctor ( ::TaskGroup & taskGroup,
::std::shared_ptr<::IFileChunkUploader > fileUploader )
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.

◆ $dtor()

MCAPI void FileUploadManager::$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.

◆ $getUploadProgress()

MCAPI float FileUploadManager::$getUploadProgress ( ) const
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.

◆ $uploadFileToRealmStorage()

MCAPI void FileUploadManager::$uploadFileToRealmStorage ( ::std::string const & uploadId,
::Core::Path const & path,
int const slotIndex )
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: