Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ isConnected
Method
isConnected
source/game/StarUniverseClient.cpp:181–183 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
179
}
180
181
bool UniverseClient::isConnected() const {
182
return m_connection && m_connection->isOpen();
183
}
184
185
void UniverseClient::disconnect() {
186
auto assets = Root::singleton().assets();
Callers
1
updateRunning
Method · 0.80
Calls
1
isOpen
Method · 0.45
Tested by
no test coverage detected