public void AtualizaEstoque(BotItemEstoque estoque, string key) { if (key != "3kl4j3lk5n3lk3j43kl4j34n3,m4n34k34hj3l4h34nm3,.n43") { throw new Exception("Chave inválida"); } BotControlaEstoque contrEst = new BotControlaEstoque(); contrEst.AtualizarEstoque(estoque); }
public void AtualizaEstoqueLote(List<BotItemEstoque> itens, string key) { if (key != "3kl4j3lk5n3lk3j43kl4j34n3,m4n34k34hj3l4h34nm3,.n43") { throw new Exception("Chave inválida"); } if (itens.Count > 0) { BotControlaEstoque bot = new BotControlaEstoque(); BotItemEstoque b; b = itens[0]; bot.ZeraEstoque(b.Personagem); } foreach (BotItemEstoque item in itens) { AtualizaEstoque(item, key); } }
public List<BotItemEstoque> RetornaQTDaProduzirGlyph(string NomePersonagem, string key) { if (key != "3kl4j3lk5n3lk3j43kl4j34n3,m4n34k34hj3l4h34nm3,.n43") { throw new Exception("Chave inválida"); } BotControlaEstoque bot = new BotControlaEstoque(); return bot.RetornaGrupoGlphy(NomePersonagem); }
public int RetornaQTDaProduzir(int idItem, string NomePersonagem, string key) { if (key != "3kl4j3lk5n3lk3j43kl4j34n3,m4n34k34hj3l4h34nm3,.n43") { throw new Exception("Chave inválida"); } BotControlaEstoque bot = new BotControlaEstoque(); return bot.RetornaQTDaProduzir(idItem, NomePersonagem); }
public List<BotItemEstoque> RetornaItensEnchantInscr(string Real, string Faccao, string key) { if (key != "3kl4j3lk5n3lk3j43kl4j34n3,m4n34k34hj3l4h34nm3,.n43") { throw new Exception("Chave inválida"); } BotControlaEstoque b = new BotControlaEstoque(); return b.RetornaItensEnchantInscr(Real, Faccao); }
public void PegarSpelleItem(decimal spell, decimal item, string key) { if (key != "3kl4j3lk5n3lk3j43kl4j34n3,m4n34k34hj3l4h34nm3,.n43") { throw new Exception("Chave inválida"); } BotControlaEstoque b = new BotControlaEstoque(); b.PegarSpelleItem(spell, item); }