LeviLamina
Loading...
Searching...
No Matches
ResourcePackFileUploadManager Class Reference
Inheritance diagram for ResourcePackFileUploadManager:

Public Member Functions

ResourcePackFileUploadManageroperator= (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 void _addZipPath (::Core::PathBuffer<::std::string > const &resourceZipPath)
MCAPI void _archiveAndUploadPackToRealmStorage (::std::string const &uploadId, ::Core::Path const &path, int slotIndex, ::std::string const &)
MCAPI ::Bedrock::Threading::Async< void > _extractPackFromZipAndUpload (::std::string const &resourcePack, ::ResourceLocation const &resourcePackLocation, ::Core::PathBuffer<::std::string > const &relativePathWithinZip, ::Core::PathBuffer<::std::string > const &resourceZipPath, ::Json::Value const &uploadOptions)
MCAPI bool _unzipEmbeddedResourcePackForUpload (::ResourceLocation const &resourcePackLocation, ::Core::PathBuffer<::std::string > const &relativePathWithinZip, ::Core::PathView outputPath)
MCAPI ::Bedrock::Threading::Async< void > _uploadResourcePackFolder (::std::string const &resourcePack, ::ResourceLocation const &resourcePackLocation, ::Core::PathBuffer<::std::string > const &resourceZipPath, ::Json::Value const &uploadOptions)
MCAPI bool _zipResourcePackForUpload (::ResourceLocation const &resourcePackLocation, ::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 $dtor ()
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 _generateMultiPartHelper ()
MCAPI void _resumeUpload ()
MCAPI void _uploadChunk (::FileChunkInfo const &chunk)
MCAPI void _uploadStream ()
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 float $getUploadProgress () const

Static Public Member Functions

static MCAPI void ** $vftable ()
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, ::FileInfomFile
::ll::TypedStorage< 8, 96, ::FileUploadManager::MultiPartStreamHelpermMultiPartHelper
::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

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.

◆ $vftable()

MCAPI void ** ResourcePackFileUploadManager::$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: