示例#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;
 }
示例#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();
        }
示例#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};
 }
示例#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();
 }