summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_Ping.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/packets/cPacket_Ping.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/source/packets/cPacket_Ping.h b/source/packets/cPacket_Ping.h
index 68b96faa5..0a0609aeb 100644
--- a/source/packets/cPacket_Ping.h
+++ b/source/packets/cPacket_Ping.h
@@ -1,8 +1,12 @@
+
#pragma once
#include "cPacket.h"
+
+
+
class cPacket_Ping : public cPacket
{
public:
@@ -10,7 +14,11 @@ public:
{ m_PacketID = E_PING; }
virtual cPacket* Clone() const { return new cPacket_Ping(*this); }
- bool Parse(cSocket & a_Socket) { (void)a_Socket; return true; }
+ virtual int Parse(const char * a_Data, int a_Size) override {return 0; }
static const unsigned int c_Size = 1;
-}; \ No newline at end of file
+};
+
+
+
+