Exemple #1
0
 public void AddSeeker(MatchUser u)
 {
     if (!m_globalUserSet.Contains(u))
     {
         m_globalUserSet.Add(u);
     }
     m_seekingUsers.Add(u);
 }
Exemple #2
0
 public int CompareUsers(MatchUser lhs, MatchUser rhs)
 {
     if (lhs.m_rankPoints > rhs.m_rankPoints)
     {
         return(-1);
     }
     else if (lhs.m_rankPoints < rhs.m_rankPoints)
     {
         return(1);
     }
     return(0);
 }
Exemple #3
0
 public MySingleUserMatcher(MatchUser t, int dev)
 {
     m_target    = t;
     m_deviation = dev;
 }
Exemple #4
0
 public void RemoveSeeker(MatchUser u)
 {
     m_seekingUsers.Remove(u);
 }