Ejemplo n.º 1
0
        /// <summary>得到好友等级
        /// Gets the friend level.
        /// </summary>
        /// <param name="friends">The friends.</param>
        public void GetFriendLevel(List <int> friends)
        {
            FriendLevelOpPacket packet = new FriendLevelOpPacket(QQUser);

            packet.Friends    = friends;
            packet.SubCommand = FriendLevelSubCmd.GET;
            QQClient.PacketManager.SendPacket(packet, QQPort.Main.Name);
        }
Ejemplo n.º 2
0
        /// <summary>处理好友等级回复包
        /// Processes the friend level op reply.
        /// </summary>
        /// <param name="inPacket">The in packet.</param>
        /// <param name="outPacket">The out packet.</param>
        private void ProcessFriendLevelOpReply(FriendLevelOpReplyPacket inPacket, FriendLevelOpPacket outPacket)
        {
            QQEventArgs <FriendLevelOpReplyPacket, FriendLevelOpPacket> e = new QQEventArgs <FriendLevelOpReplyPacket, FriendLevelOpPacket>(client, inPacket, outPacket);

            client.FriendManager.OnGetFriendLevelSuccessed(e);
        }