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

Method getFloat

source/core/StarJson.cpp:344–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344float Json::getFloat(size_t index) const {
345 return get(index).toFloat();
346}
347
348bool Json::getBool(size_t index) const {
349 return get(index).toBool();

Callers 15

SpawnerMethod · 0.80
DrawableMethod · 0.80
createRadioMessageMethod · 0.80
TileDamageParametersMethod · 0.80
spawnTypeFromJsonFunction · 0.80
WorldRegionMethod · 0.80
WorldLayoutMethod · 0.80
blockBiomeInfoMethod · 0.80
gravityMethod · 0.80
WorldTemplateMethod · 0.80
getBlockInfoMethod · 0.80
updateStatusMethod · 0.80

Calls 3

getFunction · 0.85
ptrFunction · 0.85
toFloatMethod · 0.80

Tested by

no test coverage detected