summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_PickupSpawn.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/packets/cPacket_PickupSpawn.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/source/packets/cPacket_PickupSpawn.h b/source/packets/cPacket_PickupSpawn.h
index a6226474e..d46999a5a 100644
--- a/source/packets/cPacket_PickupSpawn.h
+++ b/source/packets/cPacket_PickupSpawn.h
@@ -1,8 +1,12 @@
+
#pragma once
#include "cPacket.h"
+
+
+
class cPacket_PickupSpawn : public cPacket
{
public:
@@ -20,8 +24,8 @@ public:
{ m_PacketID = E_PICKUP_SPAWN; }
virtual cPacket* Clone() const { return new cPacket_PickupSpawn(*this); }
- bool Parse( cSocket & a_Socket );
- bool Send( cSocket & a_Socket );
+ virtual int Parse(const char * a_Data, int a_Size) override;
+ virtual void Serialize(AString & a_Data) const override;
int m_UniqueID;
short m_Item;
@@ -36,3 +40,7 @@ public:
static const unsigned int c_Size = 1 + 4 + 2 + 1 + 2 + 4 + 4 + 4 + 1 + 1 + 1;
};
+
+
+
+