summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Protocol/Protocol.h')
-rw-r--r--src/Protocol/Protocol.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h
index 675302c1d..b3335b6b8 100644
--- a/src/Protocol/Protocol.h
+++ b/src/Protocol/Protocol.h
@@ -71,7 +71,9 @@ public:
PacketReadError,
// One of the values read out of the packet was invalid.
// We send a kick packet in response to a process error
- PacketProcessError
+ PacketProcessError,
+ NotCompleted,
+ UnsupportedProtocol
};
cProtocol(AString a_LogID) :
@@ -179,6 +181,8 @@ public:
/** Returns the ServerID used for authentication through session.minecraft.net */
virtual AString GetAuthServerID(void) = 0;
+ virtual cProtocolError HandleHandshake(cByteBuffer & a_ByteBuffer, std::vector<std::unique_ptr<cClientAction>> & a_Actions) WARN_UNUSED = 0;
+
protected:
friend class cPacketizer;