예제 #1
0
 public static void UseOnPosition(string hotkey, int xPosition, int yPosition, int floor)
 {
     if (GetData.isOnScreen(xPosition, yPosition, floor))
     {
         DefaultActions.hotkey(hotkey);
         Thread.Sleep(100);
         DefaultActions.Click(xPosition, yPosition, floor, false);
         Thread.Sleep(500);
     }
 }
예제 #2
0
 public void DoAction()
 {
     DefaultActions.DoAction(defaultAction, args);
 }