예제 #1
0
 public override void Invoke(bool isSimulate, bool async)
 {
     // zero = 14px, 56px
     // M874IV= (17, 15)
     log.Debug(this.ToString());
     StateContainer.OpenPlanetMenu();
     if (isSimulate)
     {
         Point target = new Point();
         Point shift  = new Point(7, 18);
         target.X = 45 * Point.X + 14 + shift.X;
         target.Y = 45 * Point.Y + 56 + shift.Y;
         sim.Mouse.MoveMouseTo(target.X * xf, target.Y * yf).Sleep(500).LeftButtonClick().Sleep(2000);
     }
 }