Exemplo n.º 1
0
        public PoGoBot(IPoGoNavigation navigation, IPoGoInventory inventory, IPoGoAsh ash, IPoGoSnipe snipe, IPoGoPokestop pokestop, ILogicSettings settings)
        {
            _navigation = navigation;
            _inventory  = inventory;
            _ash        = ash;
            _snipe      = snipe;
            _pokestop   = pokestop;
            _settings   = settings;

            LuckyEggUsed = DateTime.MinValue;

            ShouldTransferPokemon = _settings.TransferDuplicatePokemon;
            ShouldEvolvePokemon   = _settings.EvolveAllPokemonWithEnoughCandy || _settings.EvolveAllPokemonAboveIv;
            ShouldRecycleItems    = _settings.ItemRecycleFilter.Count > 0;
        }
Exemplo n.º 2
0
        public PoGoBot(IPoGoNavigation navigation, IPoGoInventory inventory, IPoGoAsh ash, IPoGoSnipe snipe, IPoGoPokestop pokestop, ILogicSettings settings)
        {
            _navigation = navigation;
            _inventory = inventory;
            _ash = ash;
            _snipe = snipe;
            _pokestop = pokestop;
            _settings = settings;

            LuckyEggUsed = DateTime.MinValue;

            ShouldTransferPokemon = _settings.TransferDuplicatePokemon;
            ShouldEvolvePokemon = _settings.EvolveAllPokemonWithEnoughCandy || _settings.EvolveAllPokemonAboveIv;
            ShouldRecycleItems = _settings.ItemRecycleFilter.Count > 0;
        }