61 [[nodiscard]] std::expected<ReplayFile, std::string>
ParseReplay(std::span<const std::byte> bytes);
64 [[nodiscard]] std::expected<ReplayFile, std::string>
ReadReplayFile(
const fs::path& path);
std::expected< ReplayFile, std::string > ReadReplayFile(const fs::path &path)
std::expected< std::vector< std::byte >, std::string > SerializeReplay(const ReplayFile &replay)
std::expected< void, std::string > WriteReplayFile(const fs::path &path, const ReplayFile &replay)
constexpr uint32_t REPLAY_FORMAT_VERSION
std::expected< ReplayFile, std::string > ParseReplay(std::span< const std::byte > bytes)
std::vector< sim::Command > commands
friend bool operator==(const ReplayFile &, const ReplayFile &)=default
std::vector< std::byte > initialDelta
std::vector< ReplayTickHash > tickHashes
friend bool operator==(const ReplayTickHash &, const ReplayTickHash &)=default