Exemple #1
0
 public Mode(Config config, Key key) : base(config.Context, key)
 {
     this.log            = config.Log;
     this.targetSelector = config.Context.TargetSelector;
     this.owner          = config.Context.Owner;
     this.abilities      = config.Abilities;
     this.prediction     = config.Context.Prediction;
     this.menu           = config.Menu;
 }
Exemple #2
0
 public Mode(Key key, Config config)
     : base(config.Main.Context, key)
 {
     Config       = config;
     Menu         = config.Menu;
     Abilities    = config.Abilities;
     Extensions   = config.Extensions;
     MultiSleeper = config.MultiSleeper;
     Prediction   = config.Main.Context.Prediction;
 }
Exemple #3
0
 public Mode(Config config, Key key) : base(config.Context, key)
 {
     this.targetSelector        = config.Context.TargetSelector;
     this.owner                 = config.Context.Owner;
     this.abilities             = config.Abilities;
     this.prediction            = config.Context.Prediction;
     this.comboSettingsMenu     = config.MenuManager.Root.ComboSettingsMenu;
     this.comboMenu             = config.MenuManager.Root.ComboSettingsMenu.ComboMenu;
     this.orbwalkerSettingsMenu = config.MenuManager.Root.OrbwalkerSettingsMenu;
 }
Exemple #4
0
        public KillSteal(Config config)
        {
            this.abilities             = config.Abilities;
            this.owner                 = config.Context.Owner;
            this.orbwalker             = config.Context.Orbwalker;
            this.killStealSettingsMenu = config.MenuManager.Root.KillStealSettingsMenu;
            this.prediction            = config.Context.Prediction;

            this.handler = UpdateManager.Run(ExecuteAsync, true, false);

            if (killStealSettingsMenu.KillStealItem)
            {
                handler.RunAsync();
            }

            killStealSettingsMenu.KillStealItem.PropertyChanged += KillStealChanged;
        }
Exemple #5
0
 public CitiesController(ILogger <CitiesController> logger, IPredictionManager predictionManager)
 {
     _predictionManager = predictionManager;
     _logger            = logger;
 }
Exemple #6
0
 public PredictionController(ILogger <PredictionController> logger, IPredictionManager predictionManager)
 {
     _predictionManager = predictionManager;
     _logger            = logger;
 }