diff options
author | madmaxoft <github@xoft.cz> | 2014-04-14 22:52:59 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-14 22:52:59 +0200 |
commit | d12d7b671523f79f760403f3f4c0ef4efb497c79 (patch) | |
tree | 7fe960574b01b1bc1b76327a3f163fd2f69d06ce /src/Protocol/Protocol17x.h | |
parent | A client UUID is generated when the server is in offline mode. (diff) | |
download | cuberite-d12d7b671523f79f760403f3f4c0ef4efb497c79.tar cuberite-d12d7b671523f79f760403f3f4c0ef4efb497c79.tar.gz cuberite-d12d7b671523f79f760403f3f4c0ef4efb497c79.tar.bz2 cuberite-d12d7b671523f79f760403f3f4c0ef4efb497c79.tar.lz cuberite-d12d7b671523f79f760403f3f4c0ef4efb497c79.tar.xz cuberite-d12d7b671523f79f760403f3f4c0ef4efb497c79.tar.zst cuberite-d12d7b671523f79f760403f3f4c0ef4efb497c79.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol17x.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.h b/src/Protocol/Protocol17x.h index 7d0196a21..5cafc4722 100644 --- a/src/Protocol/Protocol17x.h +++ b/src/Protocol/Protocol17x.h @@ -87,6 +87,7 @@ public: virtual void SendInventorySlot (char a_WindowID, short a_SlotNum, const cItem & a_Item) override; virtual void SendKeepAlive (int a_PingID) override; virtual void SendLogin (const cPlayer & a_Player, const cWorld & a_World) override; + virtual void SendLoginSuccess (void) override; virtual void SendMapColumn (int a_ID, int a_X, int a_Y, const Byte * a_Colors, unsigned int a_Length) override; virtual void SendMapDecorators (int a_ID, const cMapDecoratorList & a_Decorators) override; virtual void SendMapInfo (int a_ID, unsigned int a_Scale) override; @@ -252,7 +253,7 @@ protected: // Packet handlers while in the Status state (m_State == 1): void HandlePacketStatusPing (cByteBuffer & a_ByteBuffer); - void HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer); + virtual void HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer); // Packet handlers while in the Login state (m_State == 2): void HandlePacketLoginEncryptionResponse(cByteBuffer & a_ByteBuffer); @@ -318,6 +319,8 @@ public: // cProtocol172 overrides: virtual void SendPlayerSpawn(const cPlayer & a_Player) override; + virtual void HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer) override; + } ; |