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

Method bagSize

source/windowing/StarItemGridWidget.cpp:78–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78size_t ItemGridWidget::bagSize() const {
79 if (!m_bag)
80 return 0;
81
82 return m_bag->size();
83}
84
85size_t ItemGridWidget::effectiveSize() const {
86 return min(itemSlots(), bagSize());

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected