| 333 | } |
| 334 | |
| 335 | List<EntityId> WorldServer::players() const { |
| 336 | List<EntityId> playerIds; |
| 337 | for (auto pair : m_clientInfo) |
| 338 | playerIds.append(pair.second->clientState.playerId()); |
| 339 | return playerIds; |
| 340 | } |
| 341 | |
| 342 | void WorldServer::handleIncomingPackets(ConnectionId clientId, List<PacketPtr> const& packets) { |
| 343 | shared_ptr<ClientInfo> clientInfo = m_clientInfo.get(clientId); |
no test coverage detected