Exemple #1
0
 public PokeTradeBotBS(PokeTradeHub <PB8> hub, PokeBotState cfg) : base(cfg)
 {
     Hub           = hub;
     TradeSettings = hub.Config.Trade;
     DumpSetting   = hub.Config.Folder;
     lastOffered   = new byte[8];
 }
 public OverworldScan(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg)
 {
     Hub         = hub;
     Counts      = Hub.Counts;
     DumpSetting = Hub.Config.Folder;
     StopConditionSettings.InitializeTargetIVs(Hub, out DesiredMinIVs, out DesiredMaxIVs);
 }
Exemple #3
0
 public EggBot(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg)
 {
     Hub         = hub;
     Settings    = Hub.Config.Egg;
     DumpSetting = Hub.Config.Folder;
     StopConditionSettings.InitializeTargetIVs(Hub, out DesiredMinIVs, out DesiredMaxIVs);
 }
Exemple #4
0
 public FossilBot(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg)
 {
     Hub         = hub;
     Counts      = Hub.Counts;
     DumpSetting = Hub.Config.Folder;
     DesiredIVs  = StopConditionSettings.InitializeTargetIVs(Hub);
 }
Exemple #5
0
 protected EncounterBot(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg)
 {
     Hub         = hub;
     Settings    = Hub.Config.Encounter;
     DumpSetting = Hub.Config.Folder;
     StopConditionSettings.InitializeTargetIVs(Hub, out DesiredMinIVs, out DesiredMaxIVs);
     StopConditionSettings.ReadUnwantedMarks(Hub.Config.StopConditions, out UnwantedMarks);
 }
Exemple #6
0
 public RemoteControlBot(PokeBotState cfg) : base(cfg)
 {
 }
 protected PokeRoutineExecutor8(PokeBotState cfg) : base(cfg)
 {
 }
Exemple #8
0
 public BoolBot(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg, hub)
 {
     Settings = Hub.Config.Bool;
 }
Exemple #9
0
 public override PokeRoutineExecutorBase CreateBot(PokeTradeHub <PB8> Hub, PokeBotState cfg) => cfg.NextRoutineType switch
 {
Exemple #10
0
 public EncounterBotReset(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg, hub)
 {
 }
Exemple #11
0
 public PokeTradeBot(PokeTradeHub <PK8> hub, PokeBotState cfg) : base(cfg)
 {
     Hub         = hub;
     DumpSetting = hub.Config.Folder;
 }
Exemple #12
0
 public CurryBot(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg, hub)
 {
     Settings     = Hub.Config.Curry;
     StopSettings = Hub.Config.StopConditions;
 }
Exemple #13
0
 public Idle(PokeBotState cfg) : base(cfg)
 {
 }
Exemple #14
0
 public DenBot(PokeBotState cfg, PokeTradeHub <PK8> hub, RaidBot raid) : base(cfg)
 {
     Hub      = hub;
     Settings = hub.Config.Den;
     Raid     = raid;
 }
Exemple #15
0
 public OverworldBot(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg)
 {
     Hub    = hub;
     Counts = Hub.Counts;
 }
Exemple #16
0
 public BotSource <PokeBotState>?GetBot(PokeBotState state) => base.GetBot(state);
Exemple #17
0
 public PokeRoutineExecutorBase CreateBotFromConfig(PokeBotState cfg) => Factory.CreateBot(Hub, cfg);
Exemple #18
0
 public SoJCamp(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg, hub)
 {
 }
Exemple #19
0
 public RaidBot(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg)
 {
     Hub      = hub;
     Settings = hub.Config.Raid;
 }
Exemple #20
0
 public abstract PokeRoutineExecutorBase CreateBot(PokeTradeHub <T> hub, PokeBotState cfg);