MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / queryBool

Method queryBool

source/core/StarJson.cpp:601–603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

599}
600
601bool Json::queryBool(String const& q) const {
602 return JsonPath::pathGet(*this, JsonPath::parseQueryPath, q).toBool();
603}
604
605int64_t Json::queryInt(String const& q) const {
606 return JsonPath::pathGet(*this, JsonPath::parseQueryPath, q).toInt();

Callers 2

frontOrbitersMethod · 0.80
drawRayMethod · 0.80

Calls 3

pathGetFunction · 0.85
pathFindFunction · 0.85
toBoolMethod · 0.80

Tested by

no test coverage detected