예제 #1
0
        public frmOverseer()
        {
            InitializeComponent();

            // TODO: Check for elevated privileges and relaunch if we don't have them

            this.DoubleBuffered = true;

            lblVersion.Text = String.Format("Overseer {0} (#{1}) - {2}",
                                            Utils.GetBuildVersion(), 1, Utils.GetBuildDate().ToString("MMMM d, yyyy"));

            running             = true;
            d3Api               = new Diablo3Api();
            d3Api.OnLogMessage += LogMessageCallback;

            updateThread = new Thread(new ThreadStart(UpdateLoop));
            updateThread.Start();
        }
예제 #2
0
파일: AI.cs 프로젝트: jhurliman/d3research
 public AI(Diablo3Api api)
 {
     this.api = api;
 }