41 enum class PackRedownloadableState :
int {
43 NotRedownloadable = 1,
50 ::ll::TypedStorage<1, 1, ::ManifestType> mManifestType;
51 ::ll::TypedStorage<1, 1, ::ManifestOrigin> mManifestOrigin;
52 ::ll::TypedStorage<8, 56, ::ResourceLocation> mLocation;
53 ::ll::TypedStorage<8, 56, ::ResourceLocation> mPackIconLocation;
54 ::ll::TypedStorage<8, 24, ::ContentIdentity> mContentIdentity;
55 ::ll::TypedStorage<8, 24, ::ContentIdentity> mSourceIdentity;
56 ::ll::TypedStorage<4, 4, ::PackCategory> mPackCategory;
57 ::ll::TypedStorage<1, 1, ::PackOrigin> mPackOrigin;
58 ::ll::TypedStorage<1, 1, bool> mIsTitleLocked;
59 ::ll::TypedStorage<1, 1, bool> mExpired;
60 ::ll::TypedStorage<8, 8, uint64> mSize;
61 ::ll::TypedStorage<8, 32, ::std::string> mLastModifiedDate;
62 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mLanguageCodesForPackKeywords;
63 ::ll::TypedStorage<1, 1, bool> mFailsGameVersionMatch;
64 ::ll::TypedStorage<1, 1, ::PackManifestFormat> mFormatVersion;
65 ::ll::TypedStorage<1, 1, ::PackManifestFormat> mOriginalFormatVersion;
66 ::ll::TypedStorage<8, 32, ::std::string> mName;
67 ::ll::TypedStorage<8, 32, ::std::string> mDescription;
68 ::ll::TypedStorage<8, 48, ::PackIdVersion> mIdentity;
69 ::ll::TypedStorage<1, 1, ::PackScope> mPackScope;
70 ::ll::TypedStorage<1, 1, ::PackType> mPackType;
71 ::ll::TypedStorage<8, 32, ::BaseGameVersion> mRequiredBaseGameVersion;
72 ::ll::TypedStorage<8, 32, ::MinEngineVersion> mMinEngineVersion;
73 ::ll::TypedStorage<1, 1, ::TemplateLockState> mTemplateOptionLockState;
74 ::ll::TypedStorage<4, 4, ::PackManifest::PackRedownloadableState> mPackReDownloadableState;
75 ::ll::TypedStorage<4, 4, ::PackCapability::TrustLevel> mMaximumAllowedTrustLevel;
76 ::ll::TypedStorage<1, 1, bool> mIsHidden;
77 ::ll::TypedStorage<1, 1, bool> mIsPlatformLocked;
78 ::ll::TypedStorage<1, 1, bool> mIsRandomSeedAllowed;
79 ::ll::TypedStorage<1, 1, bool> mHasClientScript;
80 ::ll::TypedStorage<1, 1, bool> mHasEducationMetadata;
81 ::ll::TypedStorage<1, 1, bool> mHasPlugins;
82 ::ll::TypedStorage<1, 1, bool> mHasValidUUID;
83 ::ll::TypedStorage<8, 24, ::std::vector<::ResourceInformation>> mModules;
84 ::ll::TypedStorage<8, 24, ::std::vector<::LegacyPackIdVersion>> mLegacyModuleDependencies;
85 ::ll::TypedStorage<8, 24, ::std::vector<::PackIdVersion>> mPackDependencies;
86 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::v3_0_0::PackManifestDefinition::NativeModuleDependency>>
87 mNativeModuleDependencies;
91 ::std::optional<::std::vector<::std::variant<
97 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::PackCapability::TrustLevel>> mCapabilities;
98 ::ll::TypedStorage<8, 136, ::ResourceMetadata> mMetadata;
99 ::ll::TypedStorage<8, 24, ::SemVersion> mOptimizationVersion;
105 PackManifest& operator=(PackManifest
const&);
117 virtual ~PackManifest() ;
119 virtual ::std::unique_ptr<::PackManifest> clone()
const;
125 MCAPI PackManifest(::PackManifest
const&);
127 MCAPI
explicit PackManifest(::ManifestType type);
129 MCAPI
void _serializeDependencies(
::Json::Value& destination)
const;
131 MCAPI
void _serializeHeader(
::Json::Value& destination)
const;
133 MCAPI
void _serializeLegacyModuleDependencies(
::Json::Value& destination)
const;
137 MCAPI
void _serializeModules(
::Json::Value& destination)
const;
143 MCAPI
void addPackCapability(::std::string_view capability, ::PackCapability::TrustLevel trustLevel);
146 MCAPI
bool canBeRedownloaded()
const;
148 MCAPI ::Core::PathBuffer<::std::string> generateBaseIconPath()
const;
150 MCAPI ::Core::PathBuffer<::std::string> generateIconPath()
const;
153 MCFOLD ::ContentIdentity
const& getContentIdentity()
const;
155 MCFOLD ::std::vector<::PackIdVersion>
const& getDependentPackIdentities()
const;
157 MCAPI ::std::string getDescription()
const;
160 MCAPI ::ResourceFileSystem getFileSystemFromOrigin()
const;
163 MCFOLD ::PackManifestFormat getFormatVersion()
const;
165 MCFOLD ::PackIdVersion
const& getIdentity()
const;
167 MCFOLD ::std::vector<::std::string>
const& getLanguageCodesForPackKeywords()
const;
170 MCFOLD ::std::string
const& getLastModifiedDate()
const;
172 MCFOLD ::std::vector<::LegacyPackIdVersion>
const& getLegacyModuleDependencies()
const;
175 MCFOLD ::ResourceLocation
const& getLocation()
const;
177 MCFOLD ::ManifestOrigin getManifestOrigin()
const;
180 MCFOLD ::ManifestType getManifestType()
const;
183 MCFOLD ::ResourceMetadata
const& getMetaData()
const;
185 MCFOLD ::MinEngineVersion
const& getMinEngineVersion()
const;
187 MCFOLD ::std::vector<::ResourceInformation>
const& getModules()
const;
189 MCAPI ::std::string getName()
const;
191 MCAPI ::std::string getNameForTelemetry()
const;
193 MCAPI ::std::string getNameWithVersionForTelemetry()
const;
195 MCFOLD ::std::vector<::SharedTypes::v3_0_0::PackManifestDefinition::NativeModuleDependency>
const&
196 getNativeModuleDependencies()
const;
198 MCFOLD ::SemVersion
const& getOptimizationVersion()
const;
201 MCFOLD ::TemplateLockState getOptionLockedState()
const;
204 MCAPI ::PackManifestFormat getOriginalFormatVersion()
const;
206 MCFOLD ::PackCategory getPackCategory()
const;
209 MCAPI ::std::unordered_map<::std::string, ::std::string> getPackNameLocalization()
const;
212 MCFOLD ::PackOrigin getPackOrigin()
const;
214 MCFOLD ::PackScope getPackScope()
const;
217 MCFOLD ::std::optional<::std::vector<::std::variant<
224 MCAPI ::std::optional<::std::vector<::std::string>> getPackSettingsLocKeys()
const;
226 MCFOLD uint64 getPackSize()
const;
228 MCAPI ::PackType getPackType()
const;
230 MCAPI ::BaseGameVersion
const& getRequiredBaseGameVersion()
const;
232 MCFOLD ::ContentIdentity
const& getSourceIdentity()
const;
234 MCAPI ::std::vector<::std::string> getTrustedCapabilities()
const;
237 MCAPI ::Core::PathBuffer<::std::string> getZipFolderPath()
const;
240 MCAPI
bool hasClientScript()
const;
244 MCAPI
bool hasPackCapability(::std::string_view capability)
const;
246 MCFOLD
bool hasPlugins()
const;
249 MCAPI
bool hasValidUUID()
const;
252 MCAPI
bool isAddon()
const;
255 MCAPI
bool isBasePackCategory()
const;
258 MCAPI
bool isHidden()
const;
260 MCAPI
bool isPlatformLocked()
const;
262 MCAPI
bool isPremium()
const;
265 MCAPI
bool isRandomSeedAllowed()
const;
268 MCAPI
bool isRestrictedPack()
const;
271 MCAPI
bool isTitleLocked()
const;
273 MCAPI
bool isUsingPackNameKeyword()
const;
275 MCAPI
bool isValid()
const;
277 MCAPI ::PackManifest& operator=(::PackManifest
const&);
280 MCAPI
void serialize(::PackManifestFormat formatVersion,
::Json::Value& destination)
const;
282 MCAPI
void setCanBeRedownloaded(
bool reDownloadable);
288 MCAPI
void setDescription(::std::string
const& description);
291 MCAPI
void setExpired(
bool expired);
296 MCAPI
void setLastModifiedDate(int64 lastModifiedDate);
298 MCAPI
void setLocalizedNameKeywords(::std::unordered_map<::std::string, ::std::string>
const& localizationNameMap);
300 MCAPI
void setManifestOrigin(::ManifestOrigin
const& origin);
302 MCFOLD
void setName(::std::string
const& name);
304 MCAPI
void setOptionLockedState(::TemplateLockState isWorldTemplateOptionLocked);
306 MCFOLD
void setPackCategory(::PackCategory packCategory);
312 MCAPI
void setPackSettingsDef(
313 ::std::vector<::std::variant<
320 MCAPI
void setPackType(::PackType packType);
327 MCAPI
bool supportsLocalizedSubpackNames()
const;
334 MCAPI static ::PackScope StringToPackScope(::std::string
const& str);
340 MCAPI static ::std::string
const& MarioPackId();
346 MCAPI
void* $ctor(::PackManifest
const&);
348 MCAPI
void* $ctor(::ManifestType type);
360 MCAPI ::std::unique_ptr<::PackManifest> $clone()
const;