1 #ifndef BLANK_CLIENT_CHUNKTRANSMISSION_HPP_
2 #define BLANK_CLIENT_CHUNKTRANSMISSION_HPP_
4 #include "../graphics/glm.hpp"
5 #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 Reset() noexcept;
32 void Clear() noexcept;
34 bool Complete() const noexcept;
36 bool Compressed() const noexcept;