Moved all packet-serializing code into cProtocol125; half the packet classes aren't needed anymore.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@800 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -7,19 +7,6 @@
|
||||
|
||||
|
||||
|
||||
void cPacket_BlockDig::Serialize(AString & a_Data) const
|
||||
{
|
||||
AppendByte (a_Data, m_PacketID);
|
||||
AppendInteger(a_Data, m_PosX);
|
||||
AppendByte (a_Data, m_PosY);
|
||||
AppendInteger(a_Data, m_PosZ);
|
||||
AppendByte (a_Data, m_Direction);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
int cPacket_BlockDig::Parse(cByteBuffer & a_Buffer)
|
||||
{
|
||||
int TotalBytes = 0;
|
||||
|
||||
Reference in New Issue
Block a user