//
// Created by Dan Crosby on 11/4/21.
//

#ifndef EAGLE0_UNITHELPERS_HPP
#define EAGLE0_UNITHELPERS_HPP

#include "src/main/flatbuffer/net/eagle0/shardok/storage/unit.hpp"

namespace shardok::fb {

using Unit = net::eagle0::shardok::storage::fb::Unit;

auto ApplyUnit(
        Unit* toUnit,
        const Unit* fromUnit,
        net::eagle0::shardok::storage::fb::UnitStatus status) -> bool;

}  // namespace shardok::fb

#endif  // EAGLE0_UNITHELPERS_HPP
