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

Function readString

launcher/minecraft/MojangVersionFormat.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

readDownloadInfoFunction · 0.70
readVersionPropertiesMethod · 0.70
libraryFromJsonMethod · 0.70

Calls 2

valueMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected