Пример #1
0
 /// <summary>修改群名片
 /// Modifies the card.
 /// </summary>
 /// <param name="clusterId">The cluster id.</param>
 /// <param name="card">The card.</param>
 public void ModifyCard(int clusterId, Card card)
 {
     ClusterModifyCardPacket packet = new ClusterModifyCardPacket(QQClient);
     packet.ClusterId = clusterId;
     packet.Card = card;
     QQClient.PacketManager.SendPacket(packet, QQPort.Main.Name);
 }
 /// <summary>
 /// 处理得到单个成员群名片回复包
 /// 	<remark>abu 2008-02-22 </remark>
 /// </summary>
 /// <param name="buf">The buf.</param>
 private void ParseGetCard(ByteBuffer buf)
 {
     if (ReplyCode == ReplyCode.OK)
     {
         ClusterId = buf.GetUInt();
         MemberQQ = buf.GetUInt();
         Card = new Card();
         Card.Read(buf);
     }
 }