| 317 | } |
| 318 | |
| 319 | RectF WorldServer::clientWindow(ConnectionId clientId) const { |
| 320 | auto i = m_clientInfo.find(clientId); |
| 321 | if (i != m_clientInfo.end()) |
| 322 | return RectF(i->second->clientState.window()); |
| 323 | else |
| 324 | return RectF::null(); |
| 325 | } |
| 326 | |
| 327 | PlayerPtr WorldServer::clientPlayer(ConnectionId clientId) const { |
| 328 | auto i = m_clientInfo.find(clientId); |