summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.h
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-10-03 23:38:52 +0200
committertycho <work.tycho@gmail.com>2015-12-18 19:14:34 +0100
commit939ebbee58152b95048dd7410879e2e73c997776 (patch)
tree53d3ec752486299525c22f3750a1813f0e7032b0 /src/Protocol/Protocol17x.h
parentBroken (diff)
downloadcuberite-939ebbee58152b95048dd7410879e2e73c997776.tar
cuberite-939ebbee58152b95048dd7410879e2e73c997776.tar.gz
cuberite-939ebbee58152b95048dd7410879e2e73c997776.tar.bz2
cuberite-939ebbee58152b95048dd7410879e2e73c997776.tar.lz
cuberite-939ebbee58152b95048dd7410879e2e73c997776.tar.xz
cuberite-939ebbee58152b95048dd7410879e2e73c997776.tar.zst
cuberite-939ebbee58152b95048dd7410879e2e73c997776.zip
Diffstat (limited to 'src/Protocol/Protocol17x.h')
-rw-r--r--src/Protocol/Protocol17x.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.h b/src/Protocol/Protocol17x.h
index bc4479529..e7ecc1650 100644
--- a/src/Protocol/Protocol17x.h
+++ b/src/Protocol/Protocol17x.h
@@ -66,7 +66,7 @@ public:
virtual void SendChunkData (int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer) override;
virtual void SendCollectEntity (const cEntity & a_Entity, const cPlayer & a_Player) override;
virtual void SendDestroyEntity (const cEntity & a_Entity) override;
- virtual void SendDisconnect (const AString & a_Reason) override;
+ virtual void SendDisconnect (AString & a_ByteBuffer, const AString & a_Reason) override;
virtual void SendDisplayObjective (const AString & a_Objective, cScoreboard::eDisplaySlot a_Display) override;
virtual void SendEditSign (int a_BlockX, int a_BlockY, int a_BlockZ) override; ///< Request the client to open up the sign editor for the sign (1.6+)
virtual void SendEntityAnimation (const cEntity & a_Entity, char a_Animation) override;
@@ -200,7 +200,7 @@ protected:
void HandleVanillaPluginMessage(cByteBuffer & a_ByteBuffer, const AString & a_Channel, UInt16 a_PayloadLength);
/** Sends the data to the client, encrypting them if needed. */
- //virtual void SendData(const char * a_Data, size_t a_Size) override;
+ //virtual void SendData(cByteBuffer & a_Buffer, const char * a_Data, size_t a_Size) override;
/** Sends the packet to the client. Called by the cPacketizer's destructor. */
virtual void SendPacket(cPacketizer & a_Packet) override;