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

Function readString

launcher/minecraft/MojangVersionFormat.cpp:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54namespace Bits
55{
56static void readString(const QJsonObject &root, const QString &key, QString &variable)
57{
58 if (root.contains(key))
59 {
60 variable = requireString(root.value(key));
61 }
62}
63
64static void readDownloadInfo(MojangDownloadInfo::Ptr out, const QJsonObject &obj)
65{

Callers 3

readDownloadInfoFunction · 0.70
readVersionPropertiesMethod · 0.70
libraryFromJsonMethod · 0.70

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected