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

Method erroredClients

source/game/StarWorldServerThread.cpp:129–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128
129List<ConnectionId> WorldServerThread::erroredClients() const {
130 RecursiveMutexLocker locker(m_mutex);
131 auto unerroredClients = HashSet<ConnectionId>::from(m_worldServer->clientIds());
132 return m_clients.difference(unerroredClients).values();
133}
134
135void WorldServerThread::pushIncomingPackets(ConnectionId clientId, List<PacketPtr> packets) {
136 RecursiveMutexLocker queueLocker(m_queueMutex);

Callers 1

kickErroredPlayersMethod · 0.80

Calls 3

clientIdsMethod · 0.45
valuesMethod · 0.45
differenceMethod · 0.45

Tested by

no test coverage detected