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

Method optArray

source/core/StarJson.cpp:306–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306Maybe<JsonArray> Json::optArray() const {
307 if (isNull())
308 return {};
309 return toArray();
310}
311
312Maybe<JsonObject> Json::optObject() const {
313 if (isNull())

Callers 13

SpawnParametersMethod · 0.80
biomeWeathersMethod · 0.80
biomeSkyColoringMethod · 0.80
jsonToSystemLocationFunction · 0.80
TMXObjectMethod · 0.80
MonsterMethod · 0.80
checkInventoryFilterMethod · 0.80
mergeFinalParametersMethod · 0.80
CraftingPaneMethod · 0.80
buildItemListMethod · 0.80
AssetsMethod · 0.80

Calls 2

ptrFunction · 0.85
toArrayMethod · 0.80

Tested by

no test coverage detected