static void Main(string[] args) { Console.WriteLine(); Console.WriteLine(); Console.WriteLine(" ##########################################################################"); Console.WriteLine(" # __ __ __ ___ ____ ____ __ __ _ _ ____ ____ ____ #"); Console.WriteLine(" # /__\\ ( )( )/ __)(_ _)(_ _) /__\\ ( ) ( \\/ )(_ )( ___)( _ \\ #"); Console.WriteLine(" # /(__)\\ )(__)(( (__ )( _)(_ /(__)\\ )(__ \\ / / /_ )__) ) / #"); Console.WriteLine(" # (__)(__)(______)\\___) (__) (____)(__)(__)(____)(__) (____)(____)(_)\\_) #"); Console.WriteLine(" # #"); Console.WriteLine(" ##########################################################################"); Console.WriteLine(); Console.WriteLine(); Console.WriteLine("Auctialyzer v0.1 a // Battle.NET API Auction Analyzer"); Console.WriteLine(); Console.WriteLine("Starting up internals..."); ThreadPool.SetMaxThreads(MAX_CONCURRENT_THREADS, MAX_CONCURRENT_THREADS*2); log4net.Config.XmlConfigurator.Configure(); ILog logger = LogManager.GetLogger(typeof(AuctialyzerMain)); battleAPI = new BattleAPI(gBattleAPI.BattleNET.Region.EU); wowheadAPI = new WowheadAPI(WowheadAPI.Locale.en); realmManager = new RealmManager(); realmManager.initialize(); itemManager = new ItemManager(); auctionManager = new AuctionManager(); Thread auctionManagerThread = new Thread(auctionManager.run); auctionManagerThread.IsBackground = false; auctionManagerThread.Start(); Console.ReadLine(); }
public void gBattleAPI_Init() { api = new BattleAPI(Region.EU); }