diff options
author | madmaxoft <github@xoft.cz> | 2014-09-30 13:33:57 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-09-30 13:33:57 +0200 |
commit | d7066f43d3fd592457e69a46f0fed098c80b3190 (patch) | |
tree | 04c733a6315694588273fca08ab8bc31ac3ab87f /src/Protocol/Protocol17x.h | |
parent | Updated Core. (diff) | |
download | cuberite-d7066f43d3fd592457e69a46f0fed098c80b3190.tar cuberite-d7066f43d3fd592457e69a46f0fed098c80b3190.tar.gz cuberite-d7066f43d3fd592457e69a46f0fed098c80b3190.tar.bz2 cuberite-d7066f43d3fd592457e69a46f0fed098c80b3190.tar.lz cuberite-d7066f43d3fd592457e69a46f0fed098c80b3190.tar.xz cuberite-d7066f43d3fd592457e69a46f0fed098c80b3190.tar.zst cuberite-d7066f43d3fd592457e69a46f0fed098c80b3190.zip |
Diffstat (limited to 'src/Protocol/Protocol17x.h')
-rw-r--r-- | src/Protocol/Protocol17x.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Protocol/Protocol17x.h b/src/Protocol/Protocol17x.h index 0bc86a72a..7709df59d 100644 --- a/src/Protocol/Protocol17x.h +++ b/src/Protocol/Protocol17x.h @@ -295,6 +295,9 @@ protected: void HandlePacketWindowClick (cByteBuffer & a_ByteBuffer); void HandlePacketWindowClose (cByteBuffer & a_ByteBuffer); + /** Parses Vanilla plugin messages into specific ClientHandle calls. + The message payload is still in the bytebuffer, to be read by this function. */ + void HandleVanillaPluginMessage(cByteBuffer & a_ByteBuffer, const AString & a_Channel, short a_PayloadLength); /** Sends the data to the client, encrypting them if needed. */ virtual void SendData(const char * a_Data, size_t a_Size) override; |