载入中...
搜索中...
未找到
#include "hexmap/HexSerializer.h"#include "common/Diagnostic.h"#include "hexmap/HexMetrics.h"#include <bit>#include <cstddef>#include <cstdint>#include <string>#include <utility>#include <vector>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::hexmap |
函数 | |
| Result< void > | eve::hexmap::saveHexMap (const HexMap &map, const std::vector< HexUnitState > &units, std::vector< std::uint8_t > &out) |
| Serializes a map and its units into a self-describing byte payload. | |
| Result< void > | eve::hexmap::loadHexMap (const std::vector< std::uint8_t > &bytes, HexMap &map, std::vector< HexUnitState > &units) |
Restores a map and its units from a payload produced by saveHexMap. | |