diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-02 22:13:24 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-02 22:13:24 +0100 |
commit | f86d796295c366d2715921797c2a153ed56728fd (patch) | |
tree | 29860b621d7bdb50fddedcadf19b5b2d1d56c413 /source/packets/cPacket.h | |
parent | Socket-related assert fixes (diff) | |
download | cuberite-f86d796295c366d2715921797c2a153ed56728fd.tar cuberite-f86d796295c366d2715921797c2a153ed56728fd.tar.gz cuberite-f86d796295c366d2715921797c2a153ed56728fd.tar.bz2 cuberite-f86d796295c366d2715921797c2a153ed56728fd.tar.lz cuberite-f86d796295c366d2715921797c2a153ed56728fd.tar.xz cuberite-f86d796295c366d2715921797c2a153ed56728fd.tar.zst cuberite-f86d796295c366d2715921797c2a153ed56728fd.zip |
Diffstat (limited to 'source/packets/cPacket.h')
-rw-r--r-- | source/packets/cPacket.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 <cPacket*> PacketList;
+typedef std::deque<cPacket *> PacketQueue;
+
|