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

Function readAssetIndex

launcher/minecraft/MojangVersionFormat.cpp:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72static void readAssetIndex(MojangAssetIndexInfo::Ptr out, const QJsonObject& obj)
73{
74 out->totalSize = requireInteger(obj, "totalSize");
75 out->id = requireString(obj, "id");
76 // out->known = true;
77}
78} // namespace Bits
79
80MojangDownloadInfo::Ptr downloadInfoFromJson(const QJsonObject& obj)

Callers 1

assetIndexFromJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected