public ScrollStashDownHandler(
     IKeybindsProvider keybindsProvider,
     INativeProcess nativeProcess)
 {
     this.keybindsProvider = keybindsProvider;
     this.nativeProcess    = nativeProcess;
 }
Esempio n. 2
0
 public ClipboardProvider(
     ISidekickSettings settings,
     IKeybindsProvider keybindsProvider)
 {
     this.settings         = settings;
     this.keybindsProvider = keybindsProvider;
 }
 public StartWritingChatHandler(
     ISidekickSettings settings,
     IClipboardProvider clipboard,
     IKeybindsProvider keybindsProvider)
 {
     this.settings         = settings;
     this.clipboard        = clipboard;
     this.keybindsProvider = keybindsProvider;
 }
 public KeybindsInitializationStartedHandler(
     INativeProcess nativeProcess,
     IKeybindsProvider keybindsProvider,
     IKeybindsExecutor keybindsExecutor)
 {
     this.nativeProcess    = nativeProcess;
     this.keybindsProvider = keybindsProvider;
     this.keybindsExecutor = keybindsExecutor;
 }
Esempio n. 5
0
 public FindItemHandler(
     IKeybindsProvider keybindsProvider,
     IClipboardProvider clipboardProvider,
     IMediator mediator)
 {
     this.keybindsProvider  = keybindsProvider;
     this.clipboardProvider = clipboardProvider;
     this.mediator          = mediator;
 }
Esempio n. 6
0
 public KeybindsExecutor(
     ILogger <KeybindsExecutor> logger,
     IKeybindsProvider keybindsProvider,
     IMediator mediator,
     ISidekickSettings settings)
 {
     this.logger           = logger;
     this.keybindsProvider = keybindsProvider;
     this.mediator         = mediator;
     this.settings         = settings;
 }
Esempio n. 7
0
        public SettingsViewModel(
            IUILanguageProvider uiLanguageProvider,
            IGameLanguageProvider gameLanguageProvider,
            ISidekickSettings sidekickSettings,
            IKeybindsProvider keybindsProvider,
            IKeybindsExecutor keybindsExecutor,
            IMediator mediator)
        {
            this.uiLanguageProvider   = uiLanguageProvider;
            this.gameLanguageProvider = gameLanguageProvider;
            this.sidekickSettings     = sidekickSettings;
            this.keybindsProvider     = keybindsProvider;
            this.keybindsExecutor     = keybindsExecutor;
            this.mediator             = mediator;

            sidekickSettings.CopyValuesTo(this);

            WikiOptions.Add("POE Wiki", WikiSetting.PoeWiki.ToString());
            WikiOptions.Add("POE Db", WikiSetting.PoeDb.ToString());
            uiLanguageProvider.AvailableLanguages.ForEach(x => UILanguageOptions.Add(x.NativeName.First().ToString().ToUpper() + x.NativeName[1..], x.Name));