| 263 | } |
| 264 | |
| 265 | bool UniverseServer::isLocal(ConnectionId clientId) const { |
| 266 | ReadLocker clientsLocker(m_clientsLock); |
| 267 | if (auto clientContext = m_clients.value(clientId)) |
| 268 | return !clientContext->remoteAddress(); |
| 269 | return false; |
| 270 | } |
| 271 | |
| 272 | bool UniverseServer::isPvp(ConnectionId clientId) const { |
| 273 | ReadLocker clientsLocker(m_clientsLock); |
no test coverage detected