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

Method optUInt

source/core/StarJson.cpp:294–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294Maybe<uint64_t> Json::optUInt() const {
295 if (isNull())
296 return {};
297 return toUInt();
298}
299
300Maybe<String> Json::optString() const {
301 if (isNull())

Callers 15

LiquidsDatabaseMethod · 0.80
questParamDetailFromJsonFunction · 0.80
QuestTemplateMethod · 0.80
getTileObjectInfoMethod · 0.80
loadMethod · 0.80
MaterialDatabaseMethod · 0.80
updateMethod · 0.80
fromJsonMethod · 0.80
readConfigMethod · 0.80
acceptConnectionMethod · 0.80
itemSharedMethod · 0.80

Calls 2

ptrFunction · 0.85
toUIntMethod · 0.80

Tested by

no test coverage detected