//
// Created by Dan Crosby on 6/26/20.
//

#ifndef EAGLE0_GAMESTATEVIEWDIFFER_HPP
#define EAGLE0_GAMESTATEVIEWDIFFER_HPP

#include <optional>

#include "src/main/protobuf/net/eagle0/shardok/api/game_state_view.pb.h"

namespace shardok {

using net::eagle0::shardok::api::GameStateView;
using net::eagle0::shardok::api::GameStateViewDiff;

auto MakeGameStateViewDiff(const GameStateView& before, const GameStateView& after)
        -> std::optional<GameStateViewDiff>;

}  // namespace shardok

#endif  // EAGLE0_GAMESTATEVIEWDIFFER_HPP
