Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PackManifestLegacyParser Class Reference

Static Public Member Functions

static MCAPI bool isHiddenPack (::mce::UUID const &packUuid)
static MCAPI ::Json::Value parseHeader (::Json::Value const &root, ::std::vector<::std::string > errorPath, ::PackManifest &manifest, ::PackReport &report, bool allowWarnings, bool allowVersionStrings, ::std::string const &versionKey, ::std::string const &idKey, ::PackManifestFormat formatVersion, ::I18n &loc)
static MCAPI void parseLegacyModuleDependencies (::Json::Value const &root, ::std::vector<::std::string > errorPath, ::PackManifest &manifest, ::PackReport &report, bool allowWarnings, ::std::string const &dependenciesKey)
static MCAPI void parseMetadata (::Json::Value const &root, ::std::vector<::std::string > &errorPath, ::PackManifest &manifest, ::PackReport &report, bool allowWarnings)
static MCAPI void parseModules (::Json::Value const &root, ::std::vector<::std::string > errorPath, ::PackManifest &manifest, ::PackReport &report, bool allowWarnings, bool allowVersionStrings, ::I18n &loc)
static MCAPI void processBaseGameVersion (::PackManifest &manifest, ::PackReport &report, ::BaseGameVersion const &requiredBaseGameSemVersion, ::PackManifestFormat formatVersion, ::std::vector<::std::string > errorPath)
static MCAPI void processCapability (::PackManifest &manifest, ::PackReport &report, ::std::string const capability, ::PackCapabilityRegistry const &packCapabilityRegistry)
static MCAPI ::mce::UUID readUUIDAndReport (::Json::Value const &parent, ::std::string const &element, ::std::string const &seed, ::std::vector<::std::string > &errorPath, ::PackReport &report, bool allowWarnings)
static MCAPI ::SemVersion readVersionAndReport (::Json::Value const &parent, ::std::string const &element, ::std::vector<::std::string > &errorPath, ::PackReport &report, bool allowWarnings, bool allowVersionStrings)
static MCAPI void resolveDuplicateUUIDs (::std::vector<::std::string > errorPath, ::PackManifest &manifest, ::PackReport &report, bool allowWarnings)

Member Function Documentation

◆ isHiddenPack()

MCAPI bool PackManifestLegacyParser::isHiddenPack ( ::mce::UUID const & packUuid)
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.

◆ parseHeader()

MCAPI ::Json::Value PackManifestLegacyParser::parseHeader ( ::Json::Value const & root,
::std::vector<::std::string > errorPath,
::PackManifest & manifest,
::PackReport & report,
bool allowWarnings,
bool allowVersionStrings,
::std::string const & versionKey,
::std::string const & idKey,
::PackManifestFormat formatVersion,
::I18n & loc )
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.

◆ parseLegacyModuleDependencies()

MCAPI void PackManifestLegacyParser::parseLegacyModuleDependencies ( ::Json::Value const & root,
::std::vector<::std::string > errorPath,
::PackManifest & manifest,
::PackReport & report,
bool allowWarnings,
::std::string const & dependenciesKey )
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.

◆ parseMetadata()

MCAPI void PackManifestLegacyParser::parseMetadata ( ::Json::Value const & root,
::std::vector<::std::string > & errorPath,
::PackManifest & manifest,
::PackReport & report,
bool allowWarnings )
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.

◆ parseModules()

MCAPI void PackManifestLegacyParser::parseModules ( ::Json::Value const & root,
::std::vector<::std::string > errorPath,
::PackManifest & manifest,
::PackReport & report,
bool allowWarnings,
bool allowVersionStrings,
::I18n & loc )
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.

◆ processBaseGameVersion()

MCAPI void PackManifestLegacyParser::processBaseGameVersion ( ::PackManifest & manifest,
::PackReport & report,
::BaseGameVersion const & requiredBaseGameSemVersion,
::PackManifestFormat formatVersion,
::std::vector<::std::string > errorPath )
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.

◆ processCapability()

MCAPI void PackManifestLegacyParser::processCapability ( ::PackManifest & manifest,
::PackReport & report,
::std::string const capability,
::PackCapabilityRegistry const & packCapabilityRegistry )
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.

◆ readUUIDAndReport()

MCAPI ::mce::UUID PackManifestLegacyParser::readUUIDAndReport ( ::Json::Value const & parent,
::std::string const & element,
::std::string const & seed,
::std::vector<::std::string > & errorPath,
::PackReport & report,
bool allowWarnings )
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.

◆ readVersionAndReport()

MCAPI ::SemVersion PackManifestLegacyParser::readVersionAndReport ( ::Json::Value const & parent,
::std::string const & element,
::std::vector<::std::string > & errorPath,
::PackReport & report,
bool allowWarnings,
bool allowVersionStrings )
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.

◆ resolveDuplicateUUIDs()

MCAPI void PackManifestLegacyParser::resolveDuplicateUUIDs ( ::std::vector<::std::string > errorPath,
::PackManifest & manifest,
::PackReport & report,
bool allowWarnings )
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.

The documentation for this class was generated from the following file: