#include "bootstrap/modules/EspModule.h"

namespace ta::bootstrap::modules
{
    EspModule::EspModule(ta::adapters::eft::runtime::EftGameContext& context,
                         ta::adapters::eft::items::WishlistService& wishlist_service)
        : gateway_(context, wishlist_service),
          feature_(gateway_, settings_),
          ports_(ModulePorts::bind(feature_, &settings_,
                                   "runtime.application.tick.esp",
                                   "runtime.game.tick.esp",
                                   "runtime.raid.reset.esp"))
    {
    }
    ta::features::esp::contracts::IEspQueries& EspModule::queries() noexcept { return feature_; }
}
