Exemple #1
0
 public void Subscribe(User user, LOD_Mode new_mode)
 {
     lock (_padLock)
     {
         Mode = (LOD_Mode)Math.Max((int)Mode, (int)new_mode);
         if (!Subscribers.Contains(user))
         {
             Subscribers.Enqueue(user);
         }
     }
 }