Example #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);
 }
Example #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);
 }
Example #4
0
 public FossilBot(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg)
 {
     Hub         = hub;
     Counts      = Hub.Counts;
     DumpSetting = Hub.Config.Folder;
     DesiredIVs  = StopConditionSettings.InitializeTargetIVs(Hub);
 }
Example #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);
 }
Example #6
0
 public RemoteControlBot(PokeBotState cfg) : base(cfg)
 {
 }
Example #7
0
 protected PokeRoutineExecutor8(PokeBotState cfg) : base(cfg)
 {
 }
Example #8
0
 public BoolBot(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg, hub)
 {
     Settings = Hub.Config.Bool;
 }
Example #9
0
 public override PokeRoutineExecutorBase CreateBot(PokeTradeHub <PB8> Hub, PokeBotState cfg) => cfg.NextRoutineType switch
 {
Example #10
0
 public EncounterBotReset(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg, hub)
 {
 }
Example #11
0
 public PokeTradeBot(PokeTradeHub <PK8> hub, PokeBotState cfg) : base(cfg)
 {
     Hub         = hub;
     DumpSetting = hub.Config.Folder;
 }
Example #12
0
 public CurryBot(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg, hub)
 {
     Settings     = Hub.Config.Curry;
     StopSettings = Hub.Config.StopConditions;
 }
Example #13
0
 public Idle(PokeBotState cfg) : base(cfg)
 {
 }
Example #14
0
 public DenBot(PokeBotState cfg, PokeTradeHub <PK8> hub, RaidBot raid) : base(cfg)
 {
     Hub      = hub;
     Settings = hub.Config.Den;
     Raid     = raid;
 }
Example #15
0
 public OverworldBot(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg)
 {
     Hub    = hub;
     Counts = Hub.Counts;
 }
Example #16
0
 public BotSource <PokeBotState>?GetBot(PokeBotState state) => base.GetBot(state);
Example #17
0
 public PokeRoutineExecutorBase CreateBotFromConfig(PokeBotState cfg) => Factory.CreateBot(Hub, cfg);
Example #18
0
 public SoJCamp(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg, hub)
 {
 }
Example #19
0
 public RaidBot(PokeBotState cfg, PokeTradeHub <PK8> hub) : base(cfg)
 {
     Hub      = hub;
     Settings = hub.Config.Raid;
 }
Example #20
0
 public abstract PokeRoutineExecutorBase CreateBot(PokeTradeHub <T> hub, PokeBotState cfg);