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

Method maxStack

source/game/StarItem.cpp:86–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86uint64_t Item::maxStack() const {
87 return m_maxStack;
88}
89
90uint64_t Item::couldStack(ItemConstPtr const& item) const {
91 if (stackableWith(item) && m_count < m_maxStack) {

Callers 5

pickupItemsMethod · 0.45
stackTransferMethod · 0.45
InventoryPaneMethod · 0.45
updateMethod · 0.45
ContainerPaneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected