示例#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();
 }
示例#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);
 }
示例#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;
        }
示例#7
0
 public OrderBot(ClientConfig clientConfig, EveUi eveUi, Paths paths, Character character,
     Modules modules, OrderAnalyzer orderAnalyzer)
     : base(clientConfig, eveUi, paths, character, orderAnalyzer)
 {
     Modules = modules;
 }
 public ClientConfigInfoProvider(Paths paths, ClientConfig clientConfig)
 {
     _paths = paths;
     _clientConfig = clientConfig;
 }