Exemple #1
0
 public void UpdateActiveStatus()
 {
     if (User.IsRemoved)
     {
         ActiveStatus = false;
         return;
     }
     IUser[] users = GlobalGame.GetActiveUsers();
     for (int i = 0; i < users.Length; i++)
     {
         if (users[i].Name == User.Name)
         {
             return;
         }
     }
     ActiveStatus = false;
 }