2012-02-07 15:49:52 -05:00
|
|
|
|
2011-10-26 12:49:01 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "cPacket.h"
|
2012-08-18 05:56:28 -04:00
|
|
|
#include "../cItem.h"
|
2012-01-27 09:04:28 -05:00
|
|
|
|
2011-10-26 12:49:01 -04:00
|
|
|
|
2012-02-07 15:49:52 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-18 05:56:28 -04:00
|
|
|
class cPacket_CreativeInventoryAction :
|
|
|
|
public cPacket
|
2011-10-26 12:49:01 -04:00
|
|
|
{
|
|
|
|
public:
|
2012-08-18 05:56:28 -04:00
|
|
|
cPacket_CreativeInventoryAction() :
|
|
|
|
m_SlotNum(0)
|
|
|
|
{
|
|
|
|
m_PacketID = E_CREATIVE_INVENTORY_ACTION;
|
|
|
|
}
|
|
|
|
|
2011-12-31 23:55:17 -05:00
|
|
|
cPacket_CreativeInventoryAction( const cPacket_CreativeInventoryAction & a_Copy );
|
|
|
|
virtual cPacket* Clone() const { return new cPacket_CreativeInventoryAction(*this); }
|
2011-10-26 12:49:01 -04:00
|
|
|
|
2012-08-17 06:18:07 -04:00
|
|
|
virtual int Parse(cByteBuffer & a_Buffer) override;
|
2012-02-07 15:49:52 -05:00
|
|
|
virtual void Serialize(AString & a_Data) const override;
|
2011-10-26 12:49:01 -04:00
|
|
|
|
2012-08-18 05:56:28 -04:00
|
|
|
short m_SlotNum;
|
|
|
|
cItem m_ClickedItem;
|
|
|
|
} ;
|
2012-02-07 15:49:52 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|