3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/screens/controllers/MinecraftScreenController.h"
8#include "mc/deps/core/file/PathBuffer.h"
9#include "mc/deps/core/resource/ResourceLocation.h"
10#include "mc/deps/core/utility/NonOwnerPointer.h"
22namespace Core {
class Path; }
28 enum class IssueType :
int {};
33 ::ll::TypedStorage<8, 56, ::ResourceLocation> mResourceLocation;
34 ::ll::TypedStorage<8, 32, ::Core::PathBuffer<::std::string>> mOriginalPath;
35 ::ll::TypedStorage<8, 24, ::std::vector<::PackErrorInfo>> mErrorContent;
36 ::ll::TypedStorage<1, 1, bool> mIsDeleting;
37 ::ll::TypedStorage<1, 1, bool> mIsDoneValidating;
38 ::ll::TypedStorage<1, 1, bool> mPackInUserDataPath;
39 ::ll::TypedStorage<1, 1, bool> mShowCopyClipboard;
40 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PackContentItem const>> mContentItem;
41 ::ll::TypedStorage<8, 8, ::PackManifestFactory&> mManifestFactory;
42 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>> mKeyProvider;
43 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PackManifest>> mManifest;
44 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::FileDeleteProgressHandler>> mDeleteProgressHandler;
49 ManifestValidationScreenController& operator=(ManifestValidationScreenController
const&);
50 ManifestValidationScreenController(ManifestValidationScreenController
const&);
51 ManifestValidationScreenController();
56 virtual ~ManifestValidationScreenController() ;
58 virtual ::ui::DirtyFlag tick() ;
60 virtual void onTerminate() ;
66 MCAPI ManifestValidationScreenController(
67 ::std::shared_ptr<::MinecraftScreenModel> model,
68 ::PackManifestFactory& manifestFactory,
69 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
70 ::ResourceLocation
const& resourceLocation,
71 ::Core::Path
const& originalPath,
72 bool packInUserDataPath,
73 ::std::shared_ptr<::PackContentItem const>
const& item
77 _colorLocString(::ManifestValidationScreenController::IssueType issue, ::std::string
const& str)
const;
81 MCAPI
void _finishValidation();
83 MCAPI ::Core::PathBuffer<::std::string>
const _generateBaseIconPath(::PackManifest
const& manifest)
const;
85 MCAPI ::std::string _generateErrorContent(
86 ::ManifestValidationScreenController::IssueType issueType,
87 ::std::string
const& header,
88 ::PackError
const& error
91 MCAPI ::Core::PathBuffer<::std::string>
const _generateIconPath(::PackManifest
const& manifest)
const;
93 MCAPI ::Core::PathBuffer<::std::string>
const _getIconPath()
const;
95 MCAPI ::Core::PathBuffer<::std::string>
const _getIconZip()
const;
97 MCAPI ::std::string _getPackHeaderDescription()
const;
99 MCAPI ::std::string _getPackHeaderTitle()
const;
101 MCAPI ::std::string _getPackID()
const;
103 MCAPI ::std::string _getPackType()
const;
105 MCAPI ::std::string _getPackVersion()
const;
107 MCAPI
void _registerBindings();
109 MCAPI
void _registerEventHandlers();
116 ::std::shared_ptr<::MinecraftScreenModel> model,
117 ::PackManifestFactory& manifestFactory,
118 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
119 ::ResourceLocation
const& resourceLocation,
120 ::Core::Path
const& originalPath,
121 bool packInUserDataPath,
122 ::std::shared_ptr<::PackContentItem const>
const& item
135 MCAPI ::ui::DirtyFlag $tick();
137 MCAPI
void $onTerminate();
Definition IContentKeyProvider.h:13
Definition ManifestValidationScreenController.h:5
static MCAPI void ** $vftableForScreenController()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition MinecraftScreenController.h:5
Definition MinecraftScreenModel.h:5
Definition PackManifestFactory.h:20
Definition PackManifest.h:37
Definition FileDeleteProgressHandler.h:5
Definition PackContentItem.h:5
Definition PackErrorInfo.h:5