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

Method instanceValue

source/game/StarItem.cpp:252–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252Json Item::instanceValue(String const& name, Json const& def) const {
253 return jsonMergeQueryDef(name, def, m_config, m_parameters);
254}
255
256Json Item::instanceValueOfType(String const& name, Json::Type type, Json const& def) const {
257 auto value = instanceValue(name, def);

Callers 14

setWearableFromBackMethod · 0.80
updateMethod · 0.80
triggerPickupEventsMethod · 0.80
checkInventoryFilterMethod · 0.80
parseItemCollectableMethod · 0.80
setupHumanoidMethod · 0.80
addBlueprintsMethod · 0.80
burnContainerContentsMethod · 0.80
blockSwapMethod · 0.80
fuelAmountMethod · 0.80
makePlayerCallbacksMethod · 0.80
InventoryPaneMethod · 0.80

Calls 1

jsonMergeQueryDefFunction · 0.85

Tested by

no test coverage detected