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, ::PackCapabilityTrustLevel> 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, ::PackCapabilityTrustLevel>> mCapabilities;
98 ::ll::TypedStorage<8, 136, ::ResourceMetadata> mMetadata;
99 ::ll::TypedStorage<8, 24, ::SemVersion> mOptimizationVersion;
104 PackManifest& operator=(PackManifest
const&);
110 virtual ~PackManifest() ;
112 virtual ::std::unique_ptr<::PackManifest> clone()
const;
118 MCAPI PackManifest(::PackManifest
const&);
120 MCAPI
explicit PackManifest(::ManifestType type);
122 MCAPI
void _serializeDependencies(
::Json::Value& destination)
const;
124 MCAPI
void _serializeHeader(
::Json::Value& destination)
const;
126 MCAPI
void _serializeLegacyModuleDependencies(
::Json::Value& destination)
const;
130 MCAPI
void _serializeModules(
::Json::Value& destination)
const;
134 MCAPI
void addPackCapability(::std::string_view capability, ::PackCapabilityTrustLevel trustLevel);
139 MCAPI ::Core::PathBuffer<::std::string> generateBaseIconPath()
const;
141 MCAPI ::Core::PathBuffer<::std::string> generateIconPath()
const;
144 MCAPI ::std::string getDescription(
::I18n& loc)
const;
146 MCAPI ::std::string getName(
::I18n& loc)
const;
148 MCAPI ::std::string getNameForTelemetry(
::I18n& loc)
const;
150 MCAPI ::std::string getNameWithVersionForTelemetry(
::I18n& loc)
const;
152 MCAPI ::std::optional<::std::vector<::std::string>> getPackSettingsLocKeys()
const;
154 MCAPI
bool hasPackCapability(::std::string_view capability)
const;
157 MCAPI ::PackManifest& operator=(::PackManifest&&);
160 MCAPI
void serialize(::PackManifestFormat formatVersion,
::Json::Value& destination)
const;
164 MCAPI
void setLastModifiedDate(int64 lastModifiedDate);
166 MCAPI
void setLocalizedNameKeywords(
167 ::std::unordered_map<::std::string, ::std::string>
const& localizationNameMap,
173 MCAPI
void setOptimizationVersion(
::SemVersion const& optimizationVersion);
175 MCAPI
void setPackSettingsDef(
176 ::std::vector<::std::variant<
189 MCAPI static ::PackScope StringToPackScope(::std::string
const& str);
197 MCAPI static ::std::string
const& MarioPackId();
203 MCAPI
void* $ctor(::PackManifest
const&);
205 MCAPI
void* $ctor(::ManifestType type);
217 MCAPI ::std::unique_ptr<::PackManifest> $clone()
const;