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

Method isConnectedClient

source/game/StarUniverseServer.cpp:199–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197}
198
199bool UniverseServer::isConnectedClient(ConnectionId clientId) const {
200 ReadLocker clientsLocker(m_clientsLock);
201 return m_clients.contains(clientId);
202}
203
204String UniverseServer::clientDescriptor(ConnectionId clientId) const {
205 ReadLocker clientsLocker(m_clientsLock);

Callers 1

playerCidFromCommandMethod · 0.45

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected