示例#1
0
 static void CambiarUppercut(SessionInstance Session, string[,] Parameters)
 {
     if (Session.User != null)
     {
         if (Session.User.PreLock__Proteccion_SQL == true)
         {
             return;
         }
         if (Session.User.Sala != null)
         {
             return;
         }
         IslaInstance Isla = IslasManager.ObtenerIsla(int.Parse(Parameters[0, 0]));
         if (Isla != null)
         {
             if (IslasManager.ControlDeSeguridad(Session.User, Isla))
             {
                 new Thread(() => IslasManager.CambiarUppert(Isla, int.Parse(Parameters[1, 0]))).Start();
                 Session.User.PreLock__Proteccion_SQL = true;
             }
         }
     }
 }