#include "adapters/eft/quests/EftQuestGateway.h"

#include "adapters/eft/quests/EftQuestService.h"
#include "adapters/il2cpp/Il2CppObjectInstance.h"

namespace ta::adapters::eft::quests
{
    ta::features::quests::dependencies::QuestProcessResult EftQuestGateway::process(
        const ta::features::quests::contracts::PendingQuestCommands& commands)
    {
        const auto context = context_.snapshot();
        if (!context.has_player())
            return {};

        return process_quests(context.main_player, commands);
    }
}
