From f86d796295c366d2715921797c2a153ed56728fd Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 2 Feb 2012 21:13:24 +0000 Subject: cClientHandle: gotten rid of the obnoxious m_pState, now using direct members instead git-svn-id: http://mc-server.googlecode.com/svn/trunk@228 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/packets/cPacket.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/packets') diff --git a/source/packets/cPacket.h b/source/packets/cPacket.h index 7d85afc97..702b3e369 100644 --- a/source/packets/cPacket.h +++ b/source/packets/cPacket.h @@ -1,3 +1,4 @@ + #pragma once #include "../cSocket.h" @@ -7,7 +8,6 @@ -class cSocket; class cPacket { public: @@ -53,6 +53,9 @@ public: static int RecvAll( cSocket & a_Socket, char* a_Data, unsigned int a_Size, int a_Options ); }; +typedef std::list PacketList; +typedef std::deque PacketQueue; + -- cgit v1.2.3