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,21 +7,6 @@
|
||||
|
||||
|
||||
|
||||
void cPacket_Respawn::Serialize(AString & a_Data) const
|
||||
{
|
||||
AppendByte (a_Data, m_PacketID);
|
||||
|
||||
AppendInteger (a_Data, m_Dimension);
|
||||
AppendByte (a_Data, m_Difficulty);
|
||||
AppendByte (a_Data, m_CreativeMode);
|
||||
AppendShort (a_Data, m_WorldHeight);
|
||||
AppendString16(a_Data, m_LevelType);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
int cPacket_Respawn::Parse(cByteBuffer & a_Buffer)
|
||||
{
|
||||
int TotalBytes = 0;
|
||||
|
||||
Reference in New Issue
Block a user