1 #ifndef BLANK_NET_CHUNKTRANSMISSION_HPP_
2 #define BLANK_NET_CHUNKTRANSMISSION_HPP_
4 #include "../world/Chunk.hpp"
12 struct ChunkTransmission {
17 std::uint32_t data_size;
18 std::uint32_t data_received;
25 std::uint8_t buffer[Chunk::BlockSize() + 10];
30 void Clear() noexcept;
32 bool Complete() const noexcept;
34 bool Compressed() const noexcept;