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

Method getBool

source/core/StarJson.cpp:348–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346}
347
348bool Json::getBool(size_t index) const {
349 return get(index).toBool();
350}
351
352int64_t Json::getInt(size_t index) const {
353 return get(index).toInt();

Callers 15

SpawnerMethod · 0.80
DrawableMethod · 0.80
loadConfigMethod · 0.80
createRadioMessageMethod · 0.80
processRuleMethod · 0.80
VehicleMethod · 0.80
diskLoadMethod · 0.80
WorldRegionMethod · 0.80
WorldTemplateMethod · 0.80
readJsonMethod · 0.80
loadStateMethod · 0.80

Calls 3

getFunction · 0.85
ptrFunction · 0.85
toBoolMethod · 0.80

Tested by 1

SpeciesDefinitionMethod · 0.64