diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-19 17:29:49 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-19 17:29:49 +0200 |
commit | 00f8c3a2251833f2d16ec89861a4377029cb2401 (patch) | |
tree | 595e6a1a43c31efdd5f47daff11f9a34c4d3a8e0 /src/Protocol/Protocol.h | |
parent | Reduce duplication in CompressPacket (diff) | |
download | cuberite-00f8c3a2251833f2d16ec89861a4377029cb2401.tar cuberite-00f8c3a2251833f2d16ec89861a4377029cb2401.tar.gz cuberite-00f8c3a2251833f2d16ec89861a4377029cb2401.tar.bz2 cuberite-00f8c3a2251833f2d16ec89861a4377029cb2401.tar.lz cuberite-00f8c3a2251833f2d16ec89861a4377029cb2401.tar.xz cuberite-00f8c3a2251833f2d16ec89861a4377029cb2401.tar.zst cuberite-00f8c3a2251833f2d16ec89861a4377029cb2401.zip |
Diffstat (limited to 'src/Protocol/Protocol.h')
-rw-r--r-- | src/Protocol/Protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h index 817d0bef0..8636c350f 100644 --- a/src/Protocol/Protocol.h +++ b/src/Protocol/Protocol.h @@ -357,7 +357,7 @@ public: virtual void SendChat (const AString & a_Message, eChatType a_Type) = 0; virtual void SendChat (const cCompositeChat & a_Message, eChatType a_Type, bool a_ShouldUseChatPrefixes) = 0; virtual void SendChatRaw (const AString & a_MessageRaw, eChatType a_Type) = 0; - virtual void SendChunkData (int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer) = 0; + virtual void SendChunkData (const std::string_view a_ChunkData) = 0; virtual void SendCollectEntity (const cEntity & a_Collected, const cEntity & a_Collector, unsigned a_Count) = 0; virtual void SendDestroyEntity (const cEntity & a_Entity) = 0; virtual void SendDetachEntity (const cEntity & a_Entity, const cEntity & a_PreviousVehicle) = 0; |