Exemplo n.º 1
0
 /// <summary>
 /// 改变QQ状态
 /// </summary>
 /// <param name="status">状态</param>
 /// <param name="showFakeCam">是否有摄像头</param>
 public void ChangeStatus(QQStatus status, bool showFakeCam)
 {
     OutPacket outPacket = new ChangeStatusPacket(QQClient,status, showFakeCam);
     QQClient.PacketManager.SendPacket(outPacket);
 }
Exemplo n.º 2
0
 public ChangeStatusPacket(QQClient client,QQStatus status, bool showFakeCam)
     : base(QQCommand.Change_Status, true, client)
 {
     this.ShowFakeCam = showFakeCam;
     this.Status = status;
 }
Exemplo n.º 3
0
 /// <summary>
 /// 改变QQ状态为当前QQ状态,默认摄像头等
 /// </summary>
 public void ChangeStatus(QQStatus status)
 {
     ChangeStatus(status, QQClient.QQUser.IsShowFakeCam);
 }
Exemplo n.º 4
0
 //public ChangeStatusPacket(QQClient client)
 //    : base(QQCommand.Change_Status, true, client)
 //{
 //    ShowFakeCam = client.QQUser.IsShowFakeCam;
 //    Status = client.PrivateManager.
 //}
 /// <summary>
 /// QQ状态等于当前QQ状态
 /// </summary>
 /// <param name="client"></param>
 /// <param name="showFakeCam"></param>
 public ChangeStatusPacket(QQClient client, QQStatus status)
     : base(QQCommand.Change_Status, true, client)
 {
     this.ShowFakeCam = client.QQUser.IsShowFakeCam;
     this.Status = status;
 }