MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / assetIndexFromJson

Function assetIndexFromJson

launcher/minecraft/MojangVersionFormat.cpp:87–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

readVersionPropertiesMethod · 0.85

Calls 2

readDownloadInfoFunction · 0.85
readAssetIndexFunction · 0.85

Tested by

no test coverage detected