2012-06-14 09:06:06 -04:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "cPacket.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cPacket_InventoryProgressBar : public cPacket
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cPacket_InventoryProgressBar()
|
|
|
|
: m_WindowID( 0 )
|
|
|
|
, m_ProgressBar( 0 )
|
|
|
|
, m_Value( 0 )
|
2012-08-19 17:14:45 -04:00
|
|
|
{
|
|
|
|
m_PacketID = E_INVENTORY_PROGRESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual cPacket * Clone() const { return new cPacket_InventoryProgressBar(*this); }
|
2012-06-14 09:06:06 -04:00
|
|
|
|
|
|
|
virtual void Serialize(AString & a_Data) const override;
|
|
|
|
|
2012-08-19 17:14:45 -04:00
|
|
|
char m_WindowID;
|
2012-06-14 09:06:06 -04:00
|
|
|
short m_ProgressBar;
|
|
|
|
short m_Value;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|