| 710 | return playerLookup[player]; |
| 711 | } |
| 712 | Player Server::getPlayer(int id) const |
| 713 | { |
| 714 | if (playerVector.size() <= static_cast<unsigned>(id)) |
| 715 | return nullptr; |
| 716 | return playerVector[id]; |
| 717 | } |
| 718 | |
| 719 | int Server::getUnitID(Unit unit) |
| 720 | { |
no test coverage detected