MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / assetIndexFromJson

Function assetIndexFromJson

launcher/minecraft/MojangVersionFormat.cpp:89–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89MojangAssetIndexInfo::Ptr assetIndexFromJson(const QJsonObject &obj)
90{
91 auto out = std::make_shared<MojangAssetIndexInfo>();
92 Bits::readDownloadInfo(out, obj);
93 Bits::readAssetIndex(out, obj);
94 return out;
95}
96
97QJsonObject downloadInfoToJson(MojangDownloadInfo::Ptr info)
98{

Callers 1

readVersionPropertiesMethod · 0.85

Calls 2

readDownloadInfoFunction · 0.85
readAssetIndexFunction · 0.85

Tested by

no test coverage detected