Exemplo n.º 1
0
 public AutoInvestor(ClientConfig clientConfig, EveUi ui, Paths paths, Character character,
     Modules modules, OrderAnalyzer orderAnalyzer)
     : base(clientConfig, ui, paths, character, modules, orderAnalyzer)
 {
     _marketOrderio = new MarketOrderio();
     _marketOrderio.Path = paths.LogPath;
 }
Exemplo n.º 2
0
        public DataManager()
        {
            Paths = new Paths();
            ClientConfig = new ClientConfig();
            EventDispatcher = EventDispatcher.Instance;
            EventDispatcher.clientSettingUpdatedHandler += ClientSettingUpdatedListener;
            EventDispatcher.saveAllSettingsRequestHandler += SaveAllSettingsRequestListener;
            EventDispatcher.getTypesFromFileRequestHandler += GetTypeForCharacterFromNewestLogFile;

            AccountManager = new AccountManager();
            CharacterManager = new CharacterManager(Paths, AccountManager);
            Modules = new Modules();
            Ui = new EveUi();

            try
            {
                _configFileName = RootConfigFilename;
                Initialize();
            }
            catch (Exception)
            {
                _configFileName = RootConfigFilenameAlt;
                Initialize();
            }

            _marketOrderio = new MarketOrderio();
        }
Exemplo n.º 3
0
 public AutoAdjuster(ClientConfig clientConfig, EveUi eveUi, Paths paths, Character character,
     Modules modules, OrderAnalyzer orderAnalyzer, OrderReviewer orderReviewer)
     : base(clientConfig, eveUi, paths, character, modules, orderAnalyzer)
 {
     _orderReviewer = orderReviewer;
     _marketOrderio = new MarketOrderio {Path = paths.LogPath};
 }
Exemplo n.º 4
0
 public AutoLister(ClientConfig clientConfig, EveUi eveUi, Paths paths, Character character,
     Modules modules, OrderAnalyzer orderAnalyzer)
     : base(clientConfig, eveUi, paths, character, modules, orderAnalyzer)
 {
     _marketOrderio = new MarketOrderio {Path = paths.LogPath};
     FreeOrders = 0;
     _pixelReader = new PixelReader();
 }
Exemplo n.º 5
0
 public LoginBot(ClientConfig clientConfig, EveUi eveUi, Paths paths, Character character,
     OrderAnalyzer orderAnalyzer
     )
     : base(clientConfig, eveUi, paths, character, orderAnalyzer)
 {
     _pixelReader = new PixelReader(EveUi.CharacterSelectActiveSlot[0] - 5,
                                   EveUi.CharacterSelectActiveSlot[1] - 5);
 }
Exemplo n.º 6
0
        public GuiBot(ClientConfig clientConfig, EveUi eveUi, Paths paths, Character character,
            OrderAnalyzer orderAnalyzer)
        {
            ClientConfig = clientConfig;
            EveUi = eveUi;
            Paths = paths;
            Character = character;
            Logger = EventDispatcher.Instance;
            Timing = clientConfig.TimingMultiplier;
            Mouse = new Mouse(clientConfig.TimingMultiplier);
            Keyboard = new Keyboard();
            ErrorParser = new ErrorParser();
            OrderAnalyzer = orderAnalyzer;

            _shortContextMenuAdjustment = -eveUi.StandardRowHeight;
        }
Exemplo n.º 7
0
 public OrderBot(ClientConfig clientConfig, EveUi eveUi, Paths paths, Character character,
     Modules modules, OrderAnalyzer orderAnalyzer)
     : base(clientConfig, eveUi, paths, character, orderAnalyzer)
 {
     Modules = modules;
 }
Exemplo n.º 8
0
 public ClientConfigInfoProvider(Paths paths, ClientConfig clientConfig)
 {
     _paths = paths;
     _clientConfig = clientConfig;
 }