| 344 | void console_log_cb(LPCSTR text) { _tmp_log.push_back(text); } |
| 345 | |
| 346 | u32 xrServer::OnDelayedMessage(NET_Packet& P, ClientID sender) // Non-Zero means broadcasting with "flags" as returned |
| 347 | { |
| 348 | u16 type; |
| 349 | P.r_begin(type); |
| 350 | |
| 351 | csPlayers.Enter(); |
| 352 | |
| 353 | VERIFY(verify_entities()); |
| 354 | xrClientData* CL = ID_to_client(sender); |
| 355 | R_ASSERT2(CL, make_string("packet type [%d]", type).c_str()); |
| 356 | |
| 357 | switch (type) |
| 358 | { |
| 359 | case M_CLIENT_REQUEST_CONNECTION_DATA: { |
| 360 | OnCL_Connected(CL); |
| 361 | } |
| 362 | break; |
| 363 | } |
| 364 | VERIFY(verify_entities()); |
| 365 | |
| 366 | csPlayers.Leave(); |
| 367 | return 0; |
| 368 | } |
| 369 | |
| 370 | extern float g_fCatchObjectTime; |
| 371 | u32 xrServer::OnMessage(NET_Packet& P, ClientID sender) // Non-Zero means broadcasting with "flags" as returned |
nothing calls this directly
no test coverage detected