/// <summary>
 /// 查找好友申请
 /// </summary>
 /// <returns></returns>
 public FriendApplyData FindFriendApply(int uid)
 {
     return(ApplyList.Find(t => (t.UserId == uid)));
 }
示例#2
0
 /// <summary>
 /// 查找邀请人
 /// </summary>
 /// <returns></returns>
 public GuildCharacter FindRequest(int userId)
 {
     return(ApplyList.Find(t => t.UserID == userId));
 }
 /// <summary>
 /// 是否有此好友申请
 /// </summary>
 /// <returns></returns>
 public bool IsHaveFriendApply(int uid)
 {
     return(ApplyList.Find(t => (t.UserId == uid)) != null);
 }