public bool UnavailableEvent() { FastCheck fc = new FastCheck(); bool x = true; if (fc.WrongParty()) { NotePad.DoLog("Косячная рука"); RestartBot(); } if (fc.EventEnds()) { NotePad.DoLog("эвент окончен"); Rat.Clk(PointsAndRectangles.eventEndsAcceptance);//Accept Message Thread.Sleep(3000); x = false; } if (fc.EventIsNotAvailable()) { NotePad.DoLog("эвент не доступен"); Rat.Clk(PointsAndRectangles.eventIsNotAvailableAcceptance);//Accept Message Thread.Sleep(3000); if (fc.ItsGarage()) { RestartBot(); } x = false; } if (fc.EventisFull()) { NotePad.DoLog("эвент заполнен"); Rat.Clk(PointsAndRectangles.eventIsFullAcceptance);//Accept Message if (fc.ItsGarage()) { Rat.Clk(PointsAndRectangles.buttonBack); //back Thread.Sleep(2000); Rat.Clk(PointsAndRectangles.buttonBack); //back to club map } Thread.Sleep(3000); x = false; } return(x); }