예제 #1
0
        private void onDead()
        {
            WSBot.estMorte m = new WSBot.estMorte();

            using (Styx.StyxWoW.Memory.AcquireFrame())
            {
                m.mortes = Convert.ToInt32(Styx.CommonBot.GameStats.Deaths);
                m.morteshora = Convert.ToInt32(Styx.CommonBot.GameStats.DeathsPerHour);
                m.dt = DateTime.Now;
                m.RealZoneText = RetornaZoneName();
                m.SubZoneText = RetornaSubZoneName();
            }

            b.IncluiNovaMorte(Sessao, m, SECURETY_KEY);

            Logging.Write("[MasterControl]: Morto!");

            //VERIFICAR O SCREENSHOT
            //if (MasterControlSettings.Instance.scDied) screenie();
        }
예제 #2
0
 /// <remarks/>
 public void IncluiNovaMorteAsync(estSessao s, estMorte m, string key) {
     this.IncluiNovaMorteAsync(s, m, key, null);
 }
예제 #3
0
 /// <remarks/>
 public void IncluiNovaMorteAsync(estSessao s, estMorte m, string key, object userState) {
     if ((this.IncluiNovaMorteOperationCompleted == null)) {
         this.IncluiNovaMorteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIncluiNovaMorteOperationCompleted);
     }
     this.InvokeAsync("IncluiNovaMorte", new object[] {
                 s,
                 m,
                 key}, this.IncluiNovaMorteOperationCompleted, userState);
 }
예제 #4
0
 public void IncluiNovaMorte(estSessao s, estMorte m, string key) {
     this.Invoke("IncluiNovaMorte", new object[] {
                 s,
                 m,
                 key});
 }