private void onLevel(BotEvents.Player.LevelUpEventArgs args) { WSBot.estLevelUp lvl = new WSBot.estLevelUp(); lvl.lvl = Convert.ToInt32(Styx.StyxWoW.Me.Level); lvl.data = DateTime.Now; b.IncluirLevelUp(Sessao, lvl, SECURETY_KEY); Logging.Write("[MasterControl]: Level up!"); if (!status.ContainsValue("Level up!")) status.Add("message", "Level up!"); //if (MasterControlSettings.Instance.scLevel) screenie(); }
/// <remarks/> public void IncluirLevelUpAsync(estSessao s, estLevelUp u, string key) { this.IncluirLevelUpAsync(s, u, key, null); }
/// <remarks/> public void IncluirLevelUpAsync(estSessao s, estLevelUp u, string key, object userState) { if ((this.IncluirLevelUpOperationCompleted == null)) { this.IncluirLevelUpOperationCompleted = new System.Threading.SendOrPostCallback(this.OnIncluirLevelUpOperationCompleted); } this.InvokeAsync("IncluirLevelUp", new object[] { s, u, key}, this.IncluirLevelUpOperationCompleted, userState); }
public void IncluirLevelUp(estSessao s, estLevelUp u, string key) { this.Invoke("IncluirLevelUp", new object[] { s, u, key}); }