summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_InventoryProgressBar.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/packets/cPacket_InventoryProgressBar.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/source/packets/cPacket_InventoryProgressBar.h b/source/packets/cPacket_InventoryProgressBar.h
index 401ec1f6e..70bafcf9e 100644
--- a/source/packets/cPacket_InventoryProgressBar.h
+++ b/source/packets/cPacket_InventoryProgressBar.h
@@ -1,8 +1,12 @@
+
#pragma once
#include "cPacket.h"
+
+
+
class cPacket_InventoryProgressBar : public cPacket
{
public:
@@ -13,11 +17,15 @@ public:
{ m_PacketID = E_INVENTORY_PROGRESS; }
virtual cPacket* Clone() const { return new cPacket_InventoryProgressBar(*this); }
- bool Send(cSocket & a_Socket);
+ virtual void Serialize(AString & a_Data) const override;
char m_WindowID;
short m_ProgressBar;
short m_Value;
static const unsigned int c_Size = 1 + 1 + 2 + 2;
-}; \ No newline at end of file
+};
+
+
+
+