/// <summary> /// 构造函数 /// </summary> /// <param name="byteBuffer"></param> /// <param name="User"></param> /// <param name="type">包类型</param> /// <param name="Key">数据包密钥</param> public Send_0x0836(QQUser User, Login0x0836Type type) : base(User) { Sequence = GetNextSeq(); _secretKey = user.QQ_SHARE_KEY; _type = type; Command = QQCommand.Login0x0836; }
/// <summary> /// 构造函数 /// </summary> /// <param name="byteBuffer"></param> /// <param name="User"></param> /// <param name="type">包类型</param> /// <param name="Key">数据包密钥</param> public Send_0x0836(QQUser User, Login0x0836Type type, bool isVerify = false) : base(User) { Sequence = GetNextSeq(); _secretKey = user.QQ_SHARE_KEY; _type = type; Command = QQCommand.Login0x0836; this.isVerify = isVerify; }