| 744 | } |
| 745 | |
| 746 | const char *CServer::ClientName(int ClientId) const |
| 747 | { |
| 748 | if(ClientId < 0 || ClientId >= MAX_CLIENTS || m_aClients[ClientId].m_State == CServer::CClient::STATE_EMPTY) |
| 749 | return "(invalid)"; |
| 750 | if(m_aClients[ClientId].m_State == CServer::CClient::STATE_INGAME || m_aClients[ClientId].m_State == CServer::CClient::STATE_REDIRECTED) |
| 751 | return m_aClients[ClientId].m_aName; |
| 752 | else |
| 753 | return "(connecting)"; |
| 754 | } |
| 755 | |
| 756 | const char *CServer::ClientClan(int ClientId) const |
| 757 | { |
no outgoing calls
no test coverage detected