2012-06-14 09:06:06 -04:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "cPacket.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cPacket_UpdateSign : public cPacket
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cPacket_UpdateSign()
|
2012-08-19 15:42:32 -04:00
|
|
|
: m_BlockX( 0 )
|
|
|
|
, m_BlockY( 0 )
|
|
|
|
, m_BlockZ( 0 )
|
|
|
|
{
|
|
|
|
m_PacketID = E_UPDATE_SIGN;
|
|
|
|
}
|
|
|
|
|
2012-08-24 03:58:26 -04:00
|
|
|
virtual cPacket * Clone() const { return new cPacket_UpdateSign( *this); }
|
2012-08-19 15:42:32 -04:00
|
|
|
|
|
|
|
virtual int Parse(cByteBuffer & a_Buffer) override;
|
2012-06-14 09:06:06 -04:00
|
|
|
virtual void Serialize(AString & a_Data) const override;
|
|
|
|
|
2012-08-19 15:42:32 -04:00
|
|
|
int m_BlockX;
|
|
|
|
short m_BlockY;
|
|
|
|
int m_BlockZ;
|
2012-06-14 09:06:06 -04:00
|
|
|
AString m_Line1;
|
|
|
|
AString m_Line2;
|
|
|
|
AString m_Line3;
|
|
|
|
AString m_Line4;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|