/// <summary> /// 查找好友申请 /// </summary> /// <returns></returns> public FriendApplyData FindFriendApply(int uid) { return(ApplyList.Find(t => (t.UserId == uid))); }
/// <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); }