summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol18x.h
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-09-27 16:18:31 +0200
committertycho <work.tycho@gmail.com>2015-12-18 19:14:34 +0100
commit50186579737c12f11bea815d5fb8db732c6ff3c6 (patch)
tree7ca89ced1321b2bcff243d16818f93db02ca3b25 /src/Protocol/Protocol18x.h
parentbroken 2 (diff)
downloadcuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.tar
cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.tar.gz
cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.tar.bz2
cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.tar.lz
cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.tar.xz
cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.tar.zst
cuberite-50186579737c12f11bea815d5fb8db732c6ff3c6.zip
Diffstat (limited to 'src/Protocol/Protocol18x.h')
-rw-r--r--src/Protocol/Protocol18x.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Protocol/Protocol18x.h b/src/Protocol/Protocol18x.h
index 97169ec90..51d591e68 100644
--- a/src/Protocol/Protocol18x.h
+++ b/src/Protocol/Protocol18x.h
@@ -55,7 +55,7 @@ class cProtocol180 :
public:
- cProtocol180(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State);
+ cProtocol180(const AString a_LogID);
/** Sending stuff to clients (alphabetically sorted): */
virtual void SendAttachEntity (const cEntity & a_Entity, const cEntity * a_Vehicle) override;
@@ -257,6 +257,8 @@ protected:
/** Writes the block entity data for the specified block entity into the packet. */
void WriteBlockEntity(cPacketizer & a_Pkt, const cBlockEntity & a_BlockEntity);
+
+ virtual cProtocolError OnDataAddedToBuffer(cByteBuffer & a_ByteBuffer, std::vector<std::unique_ptr<cClientAction>> & a_Actions) override WARN_UNUSED;
} ;