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; }
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; }