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

Function getString

launcher/minecraft/auth/Parsers.cpp:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20bool getString(QJsonValue value, QString& out)
21{
22 if (!value.isString()) {
23 return false;
24 }
25 out = value.toString();
26 return true;
27}
28
29bool getNumber(QJsonValue value, double& out)
30{

Callers 7

fromJSONMethod · 0.85
parseXTokenResponseFunction · 0.85
parseMinecraftProfileFunction · 0.85
parseRolloutResponseFunction · 0.85
parseMojangResponseFunction · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected