From 8cca3db61b14beb58d322972d32f29b737797a59 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Thu, 20 Aug 2020 23:07:46 +0100 Subject: Consolidate various Chunk serialisers under one roof * Merge most into WriteSectionDataSeamless --- src/Protocol/ChunkDataSerializer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Protocol/ChunkDataSerializer.h') diff --git a/src/Protocol/ChunkDataSerializer.h b/src/Protocol/ChunkDataSerializer.h index 98489d03d..f02bdd4d0 100644 --- a/src/Protocol/ChunkDataSerializer.h +++ b/src/Protocol/ChunkDataSerializer.h @@ -42,6 +42,7 @@ protected: /** Writes all blocks in a chunk section into a series of Int64. Writes start from the bit directly subsequent to the previous write's end, possibly crossing over to the next Int64. */ + template inline void WriteSectionDataSeamless(cByteBuffer & a_Packet, const cChunkData::sChunkSection & a_Section, const UInt8 a_BitsPerEntry); /** Finalises the data, compresses it if required, and delivers it to all clients. */ -- cgit v1.2.3