| 764 | } |
| 765 | |
| 766 | int CServer::ClientCountry(int ClientId) const |
| 767 | { |
| 768 | if(ClientId < 0 || ClientId >= MAX_CLIENTS || m_aClients[ClientId].m_State == CServer::CClient::STATE_EMPTY) |
| 769 | return -1; |
| 770 | if(m_aClients[ClientId].m_State == CServer::CClient::STATE_INGAME) |
| 771 | return m_aClients[ClientId].m_Country; |
| 772 | else |
| 773 | return -1; |
| 774 | } |
| 775 | |
| 776 | bool CServer::ClientSlotEmpty(int ClientId) const |
| 777 | { |
no outgoing calls
no test coverage detected