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

Method optInt

source/core/StarJson.cpp:288–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288Maybe<int64_t> Json::optInt() const {
289 if (isNull())
290 return {};
291 return toInt();
292}
293
294Maybe<uint64_t> Json::optUInt() const {
295 if (isNull())

Callers 8

ParallelNodeMethod · 0.80
MovementParametersMethod · 0.80
parseSurfaceBrushFunction · 0.80
instanceWorldPromiseMethod · 0.80
displayConfirmationMethod · 0.80

Calls 2

ptrFunction · 0.85
toIntMethod · 0.80

Tested by

no test coverage detected