Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ containerClose
Method
containerClose
source/game/objects/StarContainerObject.cpp:235–241 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
233
}
234
235
void ContainerObject::containerClose() {
236
--m_count;
237
if (m_count <= 0) {
238
m_count = 0;
239
m_opened.set(0);
240
}
241
}
242
243
RpcPromise<ItemPtr> ContainerObject::addItems(ItemPtr const& items) {
244
if (isSlave()) {
Callers
1
openContainer
Method · 0.45
Calls
1
set
Method · 0.45
Tested by
no test coverage detected