Exemplo n.º 1
0
 public ODSharp(
     Key key,
     OdSharpConfig config,
     IServiceContext context)
     : base(context, key)
 {
     this.context        = context;
     this.Config         = config;
     this.TargetSelector = context.TargetSelector;
     this.Prediction     = context.Prediction;
 }
Exemplo n.º 2
0
 public ODSharp(
     Key key,
     OdSharpConfig config,
     Lazy <IOrbwalkerManager> orbwalker,
     Lazy <IInputManager> input,
     Lazy <IInventoryManager> inventory,
     Lazy <ITargetSelectorManager> targetselector,
     Lazy <IPrediction> prediction)
     : base(orbwalker.Value, input.Value, key)
 {
     this.Config         = config;
     this.TargetSelector = targetselector;
     this.Inventory      = inventory;
     this.Prediction     = prediction;
 }