| 1137 | } |
| 1138 | |
| 1139 | int CServer::ClientRejoinCallback(int ClientId, void *pUser) |
| 1140 | { |
| 1141 | CServer *pThis = (CServer *)pUser; |
| 1142 | |
| 1143 | pThis->m_aClients[ClientId].m_AuthKey = -1; |
| 1144 | pThis->m_aClients[ClientId].m_pRconCmdToSend = nullptr; |
| 1145 | pThis->m_aClients[ClientId].m_MaplistEntryToSend = CClient::MAPLIST_UNINITIALIZED; |
| 1146 | pThis->m_aClients[ClientId].m_DDNetVersion = VERSION_NONE; |
| 1147 | pThis->m_aClients[ClientId].m_GotDDNetVersionPacket = false; |
| 1148 | pThis->m_aClients[ClientId].m_DDNetVersionSettled = false; |
| 1149 | |
| 1150 | pThis->m_aClients[ClientId].Reset(); |
| 1151 | |
| 1152 | pThis->GameServer()->TeehistorianRecordPlayerRejoin(ClientId); |
| 1153 | pThis->Antibot()->OnEngineClientDrop(ClientId, "rejoin"); |
| 1154 | pThis->Antibot()->OnEngineClientJoin(ClientId); |
| 1155 | |
| 1156 | pThis->SendMap(ClientId); |
| 1157 | |
| 1158 | return 0; |
| 1159 | } |
| 1160 | |
| 1161 | int CServer::NewClientNoAuthCallback(int ClientId, void *pUser) |
| 1162 | { |
nothing calls this directly
no test coverage detected