| 2616 | |
| 2617 | |
| 2618 | bool cConnection::HandleServerUnknownPacket(UInt32 a_PacketType, UInt32 a_PacketLen, UInt32 a_PacketReadSoFar) |
| 2619 | { |
| 2620 | AString Data; |
| 2621 | ASSERT(a_PacketLen >= a_PacketReadSoFar); |
| 2622 | if (!m_ServerBuffer.ReadString(Data, a_PacketLen - a_PacketReadSoFar)) |
| 2623 | { |
| 2624 | return false; |
| 2625 | } |
| 2626 | DataLog(Data.data(), Data.size(), "****************** Unknown packet 0x%x from the server; relaying and ignoring", a_PacketType); |
| 2627 | COPY_TO_CLIENT(); |
| 2628 | return true; |
| 2629 | } |
| 2630 | |
| 2631 | |
| 2632 |
nothing calls this directly
no test coverage detected