Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
344
float Json::getFloat(size_t index) const {
345
return get(index).toFloat();
346
}
347
348
bool Json::getBool(size_t index) const {
349
return get(index).toBool();
Callers
15
Spawner
Method · 0.80
Drawable
Method · 0.80
createRadioMessage
Method · 0.80
TileDamageParameters
Method · 0.80
spawnTypeFromJson
Function · 0.80
WorldRegion
Method · 0.80
WorldLayout
Method · 0.80
blockBiomeInfo
Method · 0.80
gravity
Method · 0.80
WorldTemplate
Method · 0.80
getBlockInfo
Method · 0.80
updateStatus
Method · 0.80
Calls
3
get
Function · 0.85
ptr
Function · 0.85
toFloat
Method · 0.80
Tested by
no test coverage detected