Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ stackableWith
Method
stackableWith
source/game/StarItem.cpp:82–84 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
80
}
81
82
bool Item::stackableWith(ItemConstPtr const& item) const {
83
return item && name() == item->name() && parameters() == item->parameters();
84
}
85
86
uint64_t Item::maxStack() const {
87
return m_maxStack;
Callers
3
stackTransfer
Method · 0.80
stackWith
Method · 0.80
itemsEqual
Method · 0.80
Calls
3
name
Function · 0.85
name
Method · 0.45
parameters
Method · 0.45
Tested by
no test coverage detected