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

Function getNumber

launcher/minecraft/auth/Parsers.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26bool getNumber(QJsonValue value, double & out) {
27 if(!value.isDouble()) {
28 return false;
29 }
30 out = value.toDouble();
31 return true;
32}
33
34bool getNumber(QJsonValue value, int64_t & out) {
35 if(!value.isDouble()) {

Callers 2

parseMojangResponseFunction · 0.85
processSTSErrorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected