diff options
author | tycho <work.tycho@gmail.com> | 2015-10-03 23:38:52 +0200 |
---|---|---|
committer | tycho <work.tycho@gmail.com> | 2015-12-18 19:14:34 +0100 |
commit | 939ebbee58152b95048dd7410879e2e73c997776 (patch) | |
tree | 53d3ec752486299525c22f3750a1813f0e7032b0 /src/Protocol/Protocol18x.h | |
parent | Broken (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Protocol/Protocol18x.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol18x.h b/src/Protocol/Protocol18x.h index dcb6f7f22..005791da9 100644 --- a/src/Protocol/Protocol18x.h +++ b/src/Protocol/Protocol18x.h @@ -68,7 +68,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 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 SendEntityEffect (const cEntity & a_Entity, int a_EffectID, int a_Amplifier, short a_Duration) override; virtual void SendEntityEquipment (const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item) override; @@ -222,7 +222,7 @@ protected: /** 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_ByteBuffer, 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; |