#ifndef SHARED_VOXEL_STORAGE_HH #define SHARED_VOXEL_STORAGE_HH 1 #pragma once #include "shared/const.hh" #include "shared/types.hh" namespace io { class ReadBuffer; class WriteBuffer; } // namespace io namespace world { class VoxelStorage final : public std::array { public: using std::array::array; void serialize(io::WriteBuffer& buffer) const; void deserialize(io::ReadBuffer& buffer); }; } // namespace world #endif // SHARED_VOXEL_STORAGE_HH