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

Method iconItem

source/game/objects/StarContainerObject.cpp:219–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219ItemDescriptor ContainerObject::iconItem() const {
220 if (configValue("hasWindowIcon", true).toBool())
221 return ItemDescriptor(name(), 1);
222 return {};
223}
224
225ItemBagConstPtr ContainerObject::itemBag() const {
226 return m_items;

Callers 2

CraftingPaneMethod · 0.80
ContainerPaneMethod · 0.80

Calls 3

ItemDescriptorClass · 0.85
nameFunction · 0.85
toBoolMethod · 0.80

Tested by

no test coverage detected