| 1457 | } |
| 1458 | |
| 1459 | void RemoteServer::ShutdownServerAndConnection() |
| 1460 | { |
| 1461 | { |
| 1462 | WRITE_DATA_SCOPE(); |
| 1463 | SCOPED_SERIALISE_CHUNK(RemoteServerPacket::ShutdownServer); |
| 1464 | } |
| 1465 | |
| 1466 | { |
| 1467 | READ_DATA_SCOPE(); |
| 1468 | RemoteServerPacket type = ser.ReadChunk<RemoteServerPacket>(); |
| 1469 | ser.EndChunk(); |
| 1470 | |
| 1471 | RDCASSERT(type == RemoteServerPacket::ShutdownServer); |
| 1472 | } |
| 1473 | |
| 1474 | delete this; |
| 1475 | } |
| 1476 | |
| 1477 | bool RemoteServer::Connected() |
| 1478 | { |
no test coverage detected