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/Protocol18x.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 '')
-rw-r--r-- | src/Protocol/Protocol18x.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Protocol/Protocol18x.h b/src/Protocol/Protocol18x.h index acc167a6d..8c0b77a21 100644 --- a/src/Protocol/Protocol18x.h +++ b/src/Protocol/Protocol18x.h @@ -312,6 +312,10 @@ 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, the handler reads it specifically for each handled channel */ + void HandleVanillaPluginMessage(cByteBuffer & a_ByteBuffer, const AString & a_Channel); + /** Sends the data to the client, encrypting them if needed. */ virtual void SendData(const char * a_Data, size_t a_Size) override; |