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

Function readAssetIndex

launcher/minecraft/MojangVersionFormat.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

assetIndexFromJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected