MCPcopy 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
82bool Item::stackableWith(ItemConstPtr const& item) const {
83 return item && name() == item->name() && parameters() == item->parameters();
84}
85
86uint64_t Item::maxStack() const {
87 return m_maxStack;

Callers 3

stackTransferMethod · 0.80
stackWithMethod · 0.80
itemsEqualMethod · 0.80

Calls 3

nameFunction · 0.85
nameMethod · 0.45
parametersMethod · 0.45

Tested by

no test coverage detected