Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 )
git-svn-id: http://mc-server.googlecode.com/svn/trunk@744 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -17,7 +17,7 @@ public:
|
||||
|
||||
virtual cPacket* Clone() const { return new cPacket_ItemData(*this); }
|
||||
|
||||
virtual int Parse(const char * a_Data, int a_Size) override;
|
||||
virtual int Parse(cByteBuffer & a_Buffer) override;
|
||||
|
||||
static void AppendItem(AString & a_Data, short a_ItemID, char a_Quantity, short a_Damage);
|
||||
static void AppendItem(AString & a_Data, const cItem * a_Item);
|
||||
|
||||
Reference in New Issue
Block a user