/// <summary> /// 获取用户等级 /// </summary> /// <param name="getLevelReplyPacket"></param> /// <param name="getLevelPacket"></param> internal void ProcessGetLevelReply(GetLevelReplyPacket getLevelReplyPacket, GetLevelPacket getLevelPacket) { QQEventArgs <GetLevelReplyPacket, GetLevelPacket> e = new QQEventArgs <GetLevelReplyPacket, GetLevelPacket>(QQClient, getLevelReplyPacket, getLevelPacket); if (getLevelReplyPacket.ReplyCode == 0x88) { OnGetLevelSuccessed(e); } else { OnGetLevelFailed(e); } }
/// <summary> /// 获取当前QQ等级信息 /// </summary> public void GetLevel() { OutPacket outPacket = new GetLevelPacket(QQClient); QQClient.PacketManager.SendPacket(outPacket); }