diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-28 23:59:49 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-28 23:59:49 +0200 |
commit | 1651fcd9807f1033a5fc76e60cb17922e687a7b1 (patch) | |
tree | c9b82453023b52b05a61bcfd4c882ab5f6b60e23 /source/packets/cPacket.h | |
parent | Fixed a few warnings (diff) | |
download | cuberite-1651fcd9807f1033a5fc76e60cb17922e687a7b1.tar cuberite-1651fcd9807f1033a5fc76e60cb17922e687a7b1.tar.gz cuberite-1651fcd9807f1033a5fc76e60cb17922e687a7b1.tar.bz2 cuberite-1651fcd9807f1033a5fc76e60cb17922e687a7b1.tar.lz cuberite-1651fcd9807f1033a5fc76e60cb17922e687a7b1.tar.xz cuberite-1651fcd9807f1033a5fc76e60cb17922e687a7b1.tar.zst cuberite-1651fcd9807f1033a5fc76e60cb17922e687a7b1.zip |
Diffstat (limited to '')
-rw-r--r-- | source/packets/cPacket.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source/packets/cPacket.h b/source/packets/cPacket.h index bc0f052e8..580cd6771 100644 --- a/source/packets/cPacket.h +++ b/source/packets/cPacket.h @@ -52,15 +52,6 @@ public: return PACKET_ERROR; } - /// Called to serialize the packet into a string. Append all packet data to a_Data, including the packet type! - virtual void Serialize(AString & a_Data) const - { - // There are packets that are sent C->S only, those don't have a serializing function - UNUSED(a_Data); - LOGERROR("Packet type 0x%02x has no serializer defined!", m_PacketID); - ASSERT(!"Unserialized packet"); - } - virtual cPacket * Clone() const = 0; unsigned char m_PacketID; |