示例#1
0
 public PoGoAsh(ILogicSettings logicSettings, IPoGoNavigation navigation, IPoGoPokemon pokemon, IPoGoInventory inventory)
 {
     _logicSettings = logicSettings;
     _navigation    = navigation;
     _pokemon       = pokemon;
     _inventory     = inventory;
 }
示例#2
0
        public PoGoBot(IPoGoNavigation navigation, IPoGoInventory inventory, IPoGoAsh ash, IPoGoSnipe snipe, IPoGoPokestop pokestop, IPoGoPokemon pokemon, ILogicSettings settings)
        {
            _navigation = navigation;
            _inventory  = inventory;
            _ash        = ash;
            _snipe      = snipe;
            _pokestop   = pokestop;
            _pokemon    = pokemon;
            _settings   = settings;

            LuckyEggUsed = DateTime.MinValue;
            _pokestops   = new List <FortData>(_pokestop.Pokestops.ToList());

            ShouldTransferPokemon = _settings.TransferDuplicatePokemon;
            ShouldEvolvePokemon   = _settings.EvolveAllPokemonWithEnoughCandy || _settings.EvolveAllPokemonAboveIv;
            ShouldRecycleItems    = _settings.ItemRecycleFilter.Count > 0;
        }
示例#3
0
 public PoGoAsh(ILogicSettings logicSettings, IPoGoNavigation navigation, IPoGoPokemon pokemon)
 {
     _logicSettings = logicSettings;
     _navigation    = navigation;
     _pokemon       = pokemon;
 }
示例#4
0
 public PoGoAsh(ILogicSettings logicSettings, IPoGoNavigation navigation, IPoGoPokemon pokemon)
 {
     _logicSettings = logicSettings;
     _navigation = navigation;
     _pokemon = pokemon;
 }