BattleNet.Bncs.AccountLogin C# (CSharp) Метод

AccountLogin() защищенный Метод

protected AccountLogin ( byte type, List data ) : void
type byte
data List
Результат void
        protected void AccountLogin(byte type, List<byte> data)
        {
            if (ClientlessBot.debugging)
                Console.WriteLine("{0}: [BNCS] Logging into the account",m_owner.Account);
            UInt32 client_token = (uint)System.Environment.TickCount;
            List<byte> hash = Bsha1.DoubleHash(client_token, m_owner.ServerToken, m_owner.Password);

            byte[] packet = BuildPacket((byte)0x3a, BitConverter.GetBytes(client_token), BitConverter.GetBytes(m_owner.ServerToken), hash, System.Text.Encoding.ASCII.GetBytes(m_owner.Account), zero);

            PrintPacket(packet);

            m_stream.Write(packet, 0, packet.Length);
        }