MCPcopy 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
181bool UniverseClient::isConnected() const {
182 return m_connection && m_connection->isOpen();
183}
184
185void UniverseClient::disconnect() {
186 auto assets = Root::singleton().assets();

Callers 1

updateRunningMethod · 0.80

Calls 1

isOpenMethod · 0.45

Tested by

no test coverage detected