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

Method containerGuiConfig

source/game/objects/StarContainerObject.cpp:206–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206Json ContainerObject::containerGuiConfig() const {
207 return Root::singleton().assets()->json(configValue("uiConfig").toString().replace("<slots>", toString(m_items->size())));
208}
209
210String ContainerObject::containerDescription() const {
211 return Object::shortDescription();

Callers 1

ContainerPaneMethod · 0.80

Calls 7

singletonClass · 0.85
toStringFunction · 0.85
jsonMethod · 0.80
assetsMethod · 0.80
replaceMethod · 0.45
toStringMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected