diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-21 00:07:46 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-08-21 01:53:10 +0200 |
commit | 8cca3db61b14beb58d322972d32f29b737797a59 (patch) | |
tree | 8a1d61988f76e3177051e220977253636e03f717 /src/Protocol/ChunkDataSerializer.h | |
parent | Remove unused variables in ChestEntity/BlockEntityWithItems (diff) | |
download | cuberite-8cca3db61b14beb58d322972d32f29b737797a59.tar cuberite-8cca3db61b14beb58d322972d32f29b737797a59.tar.gz cuberite-8cca3db61b14beb58d322972d32f29b737797a59.tar.bz2 cuberite-8cca3db61b14beb58d322972d32f29b737797a59.tar.lz cuberite-8cca3db61b14beb58d322972d32f29b737797a59.tar.xz cuberite-8cca3db61b14beb58d322972d32f29b737797a59.tar.zst cuberite-8cca3db61b14beb58d322972d32f29b737797a59.zip |
Diffstat (limited to 'src/Protocol/ChunkDataSerializer.h')
-rw-r--r-- | src/Protocol/ChunkDataSerializer.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <auto Palette> 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. */ |