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

#ifndef EAGLE0_SHARDOK_LIBRARY_VIEW_FILTERS_GAME_STATE_VIEW_DIFFER_HPP
#define EAGLE0_SHARDOK_LIBRARY_VIEW_FILTERS_GAME_STATE_VIEW_DIFFER_HPP

#include <optional>

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-redundant-constexpr-static-def"
#include "src/main/protobuf/net/eagle0/shardok/api/game_state_view.pb.h"
#pragma GCC diagnostic pop

namespace shardok {

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

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

}  // namespace shardok

#endif  // EAGLE0_SHARDOK_LIBRARY_VIEW_FILTERS_GAME_STATE_VIEW_DIFFER_HPP
