summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_DestroyEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/packets/cPacket_DestroyEntity.h')
-rw-r--r--source/packets/cPacket_DestroyEntity.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/source/packets/cPacket_DestroyEntity.h b/source/packets/cPacket_DestroyEntity.h
index 7410bd8eb..5f2314e55 100644
--- a/source/packets/cPacket_DestroyEntity.h
+++ b/source/packets/cPacket_DestroyEntity.h
@@ -3,7 +3,15 @@
#include "cPacket.h"
+
+
+
class cEntity;
+
+
+
+
+
class cPacket_DestroyEntity : public cPacket
{
public:
@@ -13,8 +21,13 @@ public:
cPacket_DestroyEntity(cEntity* a_Entity);
virtual cPacket* Clone() const { return new cPacket_DestroyEntity(*this); }
- bool Send( cSocket & a_Socket );
+ virtual void Serialize(AString & a_Data) const override;
int m_UniqueID;
+
static const unsigned int c_Size = 1 + 4;
};
+
+
+
+