summaryrefslogblamecommitdiffstats
path: root/source/packets/cPacket_KeepAlive.h
blob: b68aa5691b257ff36f73fa399cfc818c1f4ff34c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                     
                                                                                
 
                                                           

                          




  

#pragma once

#include "cPacket.h"





class cPacket_KeepAlive : public cPacket
{
public:
	cPacket_KeepAlive() { m_PacketID = E_KEEP_ALIVE; }
	cPacket_KeepAlive(int a_PingID) { m_KeepAliveID = a_PingID; }
	virtual cPacket * Clone() const { return new cPacket_KeepAlive(*this); }

	virtual int Parse(cByteBuffer & a_Buffer) override;

	int m_KeepAliveID;
};