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

Public Member Functions

ResourcePackFileUploadManager & operator= (ResourcePackFileUploadManager const &)
 ResourcePackFileUploadManager (ResourcePackFileUploadManager const &)
virtual void archiveAndUploadFileToRealmStorage (::std::string const &uploadId, ::Core::Path const &path, int const slotIndex, ::std::string const &realmsGuid)
virtual void uploadFileToRealmStorage (::std::string const &uploadId, ::Core::Path const &path, int const slotIndex)
MCAPI ResourcePackFileUploadManager (::Bedrock::NotNullNonOwnerPtr<::AppPlatform > appPlatform, ::TaskGroup &taskGroup, ::std::shared_ptr<::IFileChunkUploader > fileUploader, ::std::unique_ptr<::Core::ZipUtils::IZipUtility > &&zipUtility, ::std::shared_ptr<::Bedrock::Threading::SharedAsync< void > > previousUpload, ::ResourcePackPathLifetimeHelpers::ResourcePackPathCache &resourcePackPathCache)
MCAPI void _addZipPath (::Core::PathBuffer<::std::string > const &resourceZipPath)
MCAPI ::Bedrock::Threading::Async< void > uploadResourcePack (::std::string const &resourcePackName, ::ResourceLocation const &resourceLocation, bool isZipped, ::Core::PathBuffer<::std::string > const &relativePathWithinZip, bool isPremium, ::PackType packType)
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::AppPlatform > appPlatform, ::TaskGroup &taskGroup, ::std::shared_ptr<::IFileChunkUploader > fileUploader, ::std::unique_ptr<::Core::ZipUtils::IZipUtility > &&zipUtility, ::std::shared_ptr<::Bedrock::Threading::SharedAsync< void > > previousUpload, ::ResourcePackPathLifetimeHelpers::ResourcePackPathCache &resourcePackPathCache)
MCAPI void $archiveAndUploadFileToRealmStorage (::std::string const &uploadId, ::Core::Path const &path, int const slotIndex, ::std::string const &realmsGuid)
MCAPI void $uploadFileToRealmStorage (::std::string const &uploadId, ::Core::Path const &path, int const slotIndex)
virtual float getUploadProgress () const
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

Static Public Member Functions

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

Public Attributes

::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::AppPlatform > > mAppPlatform
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::ResourcePackPathLifetimeHelpers::ScopeDestroyedPath const > > > mZipPaths
::ll::TypedStorage< 8, 8, ::ResourcePackPathLifetimeHelpers::ResourcePackPathCache & > mResourcePackPathCache
::ll::TypedStorage< 8, 16, ::gsl::not_null<::std::shared_ptr<::Bedrock::Threading::SharedAsync< void > > > > mPreviousUpload
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::Core::ZipUtils::IZipUtility > > > mZipUtility
::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

◆ ResourcePackFileUploadManager()

MCAPI ResourcePackFileUploadManager::ResourcePackFileUploadManager ( ::Bedrock::NotNullNonOwnerPtr<::AppPlatform > appPlatform,
::TaskGroup & taskGroup,
::std::shared_ptr<::IFileChunkUploader > fileUploader,
::std::unique_ptr<::Core::ZipUtils::IZipUtility > && zipUtility,
::std::shared_ptr<::Bedrock::Threading::SharedAsync< void > > previousUpload,
::ResourcePackPathLifetimeHelpers::ResourcePackPathCache & resourcePackPathCache )
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

◆ archiveAndUploadFileToRealmStorage()

virtual void ResourcePackFileUploadManager::archiveAndUploadFileToRealmStorage ( ::std::string const & uploadId,
::Core::Path const & path,
int const slotIndex,
::std::string const & realmsGuid )
virtual

Implements FileUploadManager.

◆ uploadFileToRealmStorage()

virtual void ResourcePackFileUploadManager::uploadFileToRealmStorage ( ::std::string const & uploadId,
::Core::Path const & path,
int const slotIndex )
virtual

Reimplemented from FileUploadManager.

◆ uploadResourcePack()

MCAPI ::Bedrock::Threading::Async< void > ResourcePackFileUploadManager::uploadResourcePack ( ::std::string const & resourcePackName,
::ResourceLocation const & resourceLocation,
bool isZipped,
::Core::PathBuffer<::std::string > const & relativePathWithinZip,
bool isPremium,
::PackType packType )
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() [1/2]

MCAPI void * ResourcePackFileUploadManager::$ctor ( ::Bedrock::NotNullNonOwnerPtr<::AppPlatform > appPlatform,
::TaskGroup & taskGroup,
::std::shared_ptr<::IFileChunkUploader > fileUploader,
::std::unique_ptr<::Core::ZipUtils::IZipUtility > && zipUtility,
::std::shared_ptr<::Bedrock::Threading::SharedAsync< void > > previousUpload,
::ResourcePackPathLifetimeHelpers::ResourcePackPathCache & resourcePackPathCache )
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.

◆ $archiveAndUploadFileToRealmStorage()

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

◆ _uploadChunk()

MCAPI void FileUploadManager::_uploadChunk ( ::FileChunkInfo const & chunk)
inherited
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)
inherited
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 )
inherited
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 ( )
staticinherited
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() [2/2]

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