| 95 | } |
| 96 | |
| 97 | void CNetServer::Drop(int ClientId, const char *pReason) |
| 98 | { |
| 99 | // TODO: insert lots of checks here |
| 100 | |
| 101 | if(m_pfnDelClient) |
| 102 | m_pfnDelClient(ClientId, pReason, m_pUser); |
| 103 | |
| 104 | m_aSlots[ClientId].m_Connection.Disconnect(pReason); |
| 105 | } |
| 106 | |
| 107 | void CNetServer::Update() |
| 108 | { |
no test coverage detected