Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
86
uint64_t Item::maxStack() const {
87
return m_maxStack;
88
}
89
90
uint64_t Item::couldStack(ItemConstPtr const& item) const {
91
if (stackableWith(item) && m_count < m_maxStack) {
Callers
5
pickupItems
Method · 0.45
stackTransfer
Method · 0.45
InventoryPane
Method · 0.45
update
Method · 0.45
ContainerPane
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected