/// <summary> /// 发送赞(本地C++模式调用一次只能发送一个赞)。 /// </summary> /// <param name="qqNumber">被操作的QQ。</param> /// <param name="count">发赞次数。</param> public static void SendPraise(long qqNumber, int count = 1) { CQLogger.GetInstance().AddLog(String.Format("[↑][发赞] QQ:{0} {1}次", qqNumber, count)); if (ProxyType == CQProxyType.UDP) { string content = String.Format("SendGood|{0}|{1}", qqNumber, count); CQUDPProxy.GetInstance().SendMessage(content); } else { CQAPI.SendLike(CQAPI.GetAuthCode(), qqNumber); } }