26class ResourcePackFileUploadManager :
public ::FileUploadManager {
30 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::AppPlatform>> mAppPlatform;
34 ::std::vector<::std::shared_ptr<::ResourcePackPathLifetimeHelpers::ScopeDestroyedPath const>>>
36 ::ll::TypedStorage<8, 8, ::ResourcePackPathLifetimeHelpers::ResourcePackPathCache&> mResourcePackPathCache;
37 ::ll::TypedStorage<8, 16, ::gsl::not_null<::std::shared_ptr<::Bedrock::Threading::SharedAsync<void>>>>
39 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::Core::ZipUtils::IZipUtility>>> mZipUtility;
44 ResourcePackFileUploadManager& operator=(ResourcePackFileUploadManager
const&);
45 ResourcePackFileUploadManager(ResourcePackFileUploadManager
const&);
46 ResourcePackFileUploadManager();
51 virtual void archiveAndUploadFileToRealmStorage(
52 ::std::string
const& uploadId,
55 ::std::string
const& realmsGuid
59 uploadFileToRealmStorage(::std::string
const& uploadId,
::Core::Path const& path,
int const slotIndex) ;
65 MCAPI ResourcePackFileUploadManager(
66 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
68 ::std::shared_ptr<::IFileChunkUploader> fileUploader,
69 ::std::unique_ptr<::Core::ZipUtils::IZipUtility>&& zipUtility,
75 MCAPI ResourcePackFileUploadManager(
76 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
78 ::std::shared_ptr<::IFileChunkUploader> fileUploader,
79 ::Bedrock::NotNullNonOwnerPtr<::FileArchiver>
const&
FileArchiver,
80 ::std::unique_ptr<::Core::ZipUtils::IZipUtility>&& zipUtility,
88 MCAPI ::Bedrock::Threading::Async<void> uploadResourcePack(
89 ::std::string
const& resourcePackName,
102 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
104 ::std::shared_ptr<::IFileChunkUploader> fileUploader,
105 ::std::unique_ptr<::Core::ZipUtils::IZipUtility>&& zipUtility,
112 ::Bedrock::NotNullNonOwnerPtr<::AppPlatform> appPlatform,
114 ::std::shared_ptr<::IFileChunkUploader> fileUploader,
115 ::Bedrock::NotNullNonOwnerPtr<::FileArchiver>
const&
FileArchiver,
116 ::std::unique_ptr<::Core::ZipUtils::IZipUtility>&& zipUtility,
126 MCAPI
void $archiveAndUploadFileToRealmStorage(
127 ::std::string
const& uploadId,
130 ::std::string
const& realmsGuid
133 MCAPI
void $uploadFileToRealmStorage(::std::string
const& uploadId,
::Core::Path const& path,
int const slotIndex);