コード例 #1
0
        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);
        }
コード例 #2
0
        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);
            }
        }
コード例 #3
0
        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);
        }
コード例 #4
0
        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);
        }
コード例 #5
0
        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);
        }
コード例 #6
0
        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);
        }