Slight cleanup
git-svn-id: http://mc-server.googlecode.com/svn/trunk@238 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
5750fbf65f
commit
92981dcb3c
@ -1,8 +1,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
class cEvent;
|
||||
class cSemaphore;
|
||||
class cCriticalSection;
|
||||
class cPlayer;
|
||||
class cClientHandle;
|
||||
class cPacket;
|
||||
|
@ -16,8 +16,8 @@ public:
|
||||
{}
|
||||
virtual ~cPacket() {}
|
||||
|
||||
virtual bool Parse( cSocket & a_Socket) { a_Socket=0; printf("ERROR: Undefined NEW Parse function %x\n", m_PacketID ); return false; }
|
||||
virtual bool Send( cSocket & a_Socket) { a_Socket=0; printf("ERROR: Undefined NEW Send function %x\n", m_PacketID ); return false; }
|
||||
virtual bool Parse( cSocket & a_Socket) {a_Socket.CloseSocket(); LOGERROR("Undefined NEW Parse function %x\n", m_PacketID ); return false; }
|
||||
virtual bool Send( cSocket & a_Socket) {a_Socket.CloseSocket(); LOGERROR("Undefined NEW Send function %x\n", m_PacketID ); return false; }
|
||||
virtual cPacket* Clone() const = 0;
|
||||
|
||||
unsigned char m_PacketID;
|
||||
|
Loading…
Reference in New Issue
Block a user