Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
78
size_t ItemGridWidget::bagSize() const {
79
if (!m_bag)
80
return 0;
81
82
return m_bag->size();
83
}
84
85
size_t ItemGridWidget::effectiveSize() const {
86
return min(itemSlots(), bagSize());
Callers
nothing calls this directly
Calls
1
size
Method · 0.45
Tested by
no test coverage detected