summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_EntityStatus.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/packets/cPacket_EntityStatus.h')
-rw-r--r--source/packets/cPacket_EntityStatus.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/packets/cPacket_EntityStatus.h b/source/packets/cPacket_EntityStatus.h
index 53fced00a..a50a25390 100644
--- a/source/packets/cPacket_EntityStatus.h
+++ b/source/packets/cPacket_EntityStatus.h
@@ -3,6 +3,9 @@
#include "cPacket.h"
+
+
+
class cPacket_EntityStatus : public cPacket
{
public:
@@ -12,7 +15,7 @@ public:
{ m_PacketID = E_ENT_STATUS; }
virtual cPacket* Clone() const { return new cPacket_EntityStatus( *this ); }
- bool Send(cSocket & a_Socket);
+ virtual void Serialize(AString & a_Data) const override;
static const char STATUS_TAKEDAMAGE = 2;
static const char STATUS_DIE = 3;
@@ -22,3 +25,7 @@ public:
static const unsigned int c_Size = 1 + 4 + 1;
};
+
+
+
+