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

Method optFloat

source/core/StarJson.cpp:276–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276Maybe<float> Json::optFloat() const {
277 if (isNull())
278 return {};
279 return toFloat();
280}
281
282Maybe<bool> Json::optBool() const {
283 if (isNull())

Callers 15

DrawableMethod · 0.80
resourceMethod · 0.80
resourceMaxMethod · 0.80
statMethod · 0.80
readTenantMethod · 0.80
readJsonMethod · 0.80
ActorJumpProfileMethod · 0.80
systemObjectConfigMethod · 0.80
objectWarpActionMethod · 0.80
setupMethod · 0.80
MovementParametersMethod · 0.80

Calls 2

ptrFunction · 0.85
toFloatMethod · 0.80

Tested by

no test coverage detected