1 #ifndef BLANK_CLIENT_CHUNKTRANSMISSION_HPP_
2 #define BLANK_CLIENT_CHUNKTRANSMISSION_HPP_
4 #include "../world/Chunk.hpp"
13 struct ChunkTransmission {
18 std::uint32_t data_size;
19 std::uint32_t data_received;
26 std::uint8_t buffer[Chunk::BlockSize() + 10];
31 void Clear() noexcept;
33 bool Complete() const noexcept;
35 bool Compressed() const noexcept;