//
// Created by Dan Crosby on 3/23/20.
//

#ifndef EAGLE0_ODDSFILTER_HPP
#define EAGLE0_ODDSFILTER_HPP

#include "src/main/cpp/net/eagle0/shardok/library/ShardokCTypes.h"
#include "src/main/protobuf/net/eagle0/shardok/api/odds_view.pb.h"
#include "src/main/protobuf/net/eagle0/shardok/storage/odds.pb.h"

namespace shardok {

[[nodiscard]] net::eagle0::shardok::api::OddsView OddsFilteredForPlayer(
        const net::eagle0::shardok::storage::Odds &odds,
        PlayerId askingPlayer);

}

#endif  // EAGLE0_ODDSFILTER_HPP
