public Announcer2(
            PogoTelegramProxy proxy,
            TelegramProxies.NimRaidBot raidBotProxy,
            DataAccess.Queries.Raid.IGetActivePogoGroups activeUsers,
            DataAccess.Queries.Pokes.IMarkAsProcessedQuery markAsProcessedQuery,
            DataAccess.Queries.Pokes.IGetPokesForChatQuery getPokesForChatQuery,
            DataAccess.Commands.Pokes.IAddPokeNotificationCommand addPokeNotificationCommand,
            Queries.IGetPokeQueueQuery getPokeQueueQuery,
            DataAccess.Queries.PoGo.IGetAllChatsForArea getAllChatsForArea,
            Queries.IGetThrottleQuery getThrottleQuery
            )
        {
            this.proxy        = proxy;
            this.raidBotProxy = raidBotProxy;
            this.activeUsers  = activeUsers;

            this.markAsProcessedQuery = markAsProcessedQuery;

            this.getPokesForChatQuery       = getPokesForChatQuery;
            this.addPokeNotificationCommand = addPokeNotificationCommand;

            this.getPokeQueueQuery  = getPokeQueueQuery;
            this.getThrottleQuery   = getThrottleQuery;
            this.getAllChatsForArea = getAllChatsForArea;
        }
Ejemplo n.º 2
0
        public RocketMapImporter(
            T configuration,
            TelegramProxies.NimRaidBot proxy,
            IAddPokesCommand addPokesCommand,
            IUpdatePokesCommand updatePokesCommand,
            IGetActiveAreas getActiveAreas,
            IGetGymsQuery getGymsQuery,
            IGetAllRaidsQuery getAllRaidsQuery,
            IAddRocketMapGymsCommand addGoMapGymsCommand,
            IClearRaidsCommand clearRaidsCommand,
            IAddRaidsCommand addRaidsCommand,
            IUpdateRaidsCommand updateRaidsCommand,
            Queries.IGetCurrentPokesQuery getCurrentPokesQuery2,
            Queries.IGetPokeQueueQuery getPokeQueueQuery,
            DataAccess.Queries.Base.IGetRocketMapMovesQuery getRocketMapMovesQuery,
            IGetStopsQuery getStopsQuery,
            IAddRocketMapStopsCommand addRocketMapStopsCommand,
            IGetAllQuestsQuery getAllQuestsQuery,
            IAddQuestsCommand addQuestsCommand,
            IUpdateQuestsCommand updateQuestsCommand,
            IGetCurrentQuestsQuery getCurrentQuestsQuery
            )
        {
            this.Configuration      = configuration;
            this.proxy              = proxy;
            this.addPokesCommand    = addPokesCommand;
            this.updatePokesCommand = updatePokesCommand;

            this.getActiveAreas = getActiveAreas;

            this.getGyms             = getGymsQuery;
            this.getRaids            = getAllRaidsQuery;
            this.addGoMapGymsCommand = addGoMapGymsCommand;
            this.clearRaidsCommand   = clearRaidsCommand;
            this.addRaidsCommand     = addRaidsCommand;
            this.updateRaidsCommand  = updateRaidsCommand;

            this.getCurrentPokesQuery2 = getCurrentPokesQuery2;
            this.getPokeQueueQuery     = getPokeQueueQuery;

            this.getRocketMapMovesQuery = getRocketMapMovesQuery;

            this.getStopsQuery            = getStopsQuery;
            this.addRocketMapStopsCommand = addRocketMapStopsCommand;

            this.getAllQuestsQuery     = getAllQuestsQuery;
            this.addQuestsCommand      = addQuestsCommand;
            this.updateQuestsCommand   = updateQuestsCommand;
            this.getCurrentQuestsQuery = getCurrentQuestsQuery;

            this.httpClient = new HttpClient();
            this.Configuration.SetCredentials(httpClient);
        }