MCPcopy Create free account
hub / github.com/MultiMC/Launcher / readString

Function readString

launcher/minecraft/MojangVersionFormat.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19namespace Bits
20{
21static void readString(const QJsonObject &root, const QString &key, QString &variable)
22{
23 if (root.contains(key))
24 {
25 variable = requireString(root.value(key));
26 }
27}
28
29static void readDownloadInfo(MojangDownloadInfo::Ptr out, const QJsonObject &obj)
30{

Callers 3

readDownloadInfoFunction · 0.70
readVersionPropertiesMethod · 0.70
libraryFromJsonMethod · 0.70

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected