From 7f372b12cb01f7df9d5466de11b36494353613a8 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sat, 12 Sep 2020 21:08:23 +0100 Subject: Add State enum to protocol --- src/Protocol/Protocol.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/Protocol/Protocol.h') diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h index 222e6031e..9d3cd77f2 100644 --- a/src/Protocol/Protocol.h +++ b/src/Protocol/Protocol.h @@ -345,6 +345,14 @@ public: v1_14 = 477 }; + enum State + { + Status = 1, + Login = 2, + Game = 3, + Invalid = 255 + }; + /** Called when client sends some data */ virtual void DataReceived(cByteBuffer & a_Buffer, const char * a_Data, size_t a_Size) = 0; -- cgit v1.2.3