/// <summary> /// 查找成员 /// </summary> /// <returns></returns> public GuildCharacter FindMember(int userId) { return(MemberList.Find(t => t.UserID == userId)); }
public GuildCharacter FindAtevent(int userId) { return(MemberList.Find(t => (t.UserID == userId && t.JobTitle == GuildJobTitle.Atevent))); }
public GuildCharacter FindVice(int userId) { return(MemberList.Find(t => (t.UserID == userId && t.JobTitle == GuildJobTitle.Vice))); }
/// <summary> /// 查找会长 /// </summary> /// <returns></returns> public GuildCharacter FindAtevent() { return(MemberList.Find(t => t.JobTitle == GuildJobTitle.Atevent)); }