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