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)
MCNAPI_C void setFailed (::UploadError reason)
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)
MCNAPI_C void * $ctor (::TaskGroup &taskGroup, ::std::shared_ptr<::IFileChunkUploader > fileUploader, ::Bedrock::NotNullNonOwnerPtr<::FileArchiver > const &fileArchiver)
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::UntypedStorage< 8, 72 > mUnkd53a1f
::ll::UntypedStorage< 8, 96 > mUnk7e81a8
::ll::UntypedStorage< 4, 4 > mUnk3637b8
::ll::UntypedStorage< 4, 4 > mUnkcdb53c
::ll::UntypedStorage< 8, 16 > mUnk572878
::ll::UntypedStorage< 8, 16 > mUnkbea5f5
::ll::UntypedStorage< 8, 8 > mUnka99ce1
::ll::UntypedStorage< 8, 24 > mUnkc47b3b
::ll::UntypedStorage< 1, 1 > mUnk976e6e
::ll::UntypedStorage< 1, 1 > mUnk64961a
::ll::UntypedStorage< 1, 1 > mUnk2e4039

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.

◆ _generateMultiPartHelper()

MCAPI void FileUploadManager::_generateMultiPartHelper ( )
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.

◆ _resumeUpload()

MCAPI void FileUploadManager::_resumeUpload ( )
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.

◆ _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.

◆ _uploadStream()

MCAPI void FileUploadManager::_uploadStream ( )
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()

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.

◆ $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: