2012-06-14 06:06:06 -07:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "cPacket.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cPacket_WindowClose : public cPacket
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cPacket_WindowClose()
|
2012-08-19 04:51:17 -07:00
|
|
|
: m_WindowID( 0 )
|
|
|
|
{
|
|
|
|
m_PacketID = E_WINDOW_CLOSE;
|
|
|
|
}
|
|
|
|
|
2012-06-14 06:06:06 -07:00
|
|
|
virtual cPacket* Clone() const { return new cPacket_WindowClose(*this); }
|
|
|
|
|
2012-08-19 04:51:17 -07:00
|
|
|
virtual int Parse(cByteBuffer & a_Buffer) override;
|
2012-06-14 06:06:06 -07:00
|
|
|
virtual void Serialize(AString & a_Data) const override;
|
|
|
|
|
2012-08-19 04:51:17 -07:00
|
|
|
char m_WindowID;
|
2012-06-14 06:06:06 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|