コード例 #1
0
 /// <summary>
 /// Set active target on the current target
 /// </summary>
 /// <param name="target">The target entry to set active</param>
 /// <returns>True on success, false otherwise</returns>
 public bool setActiveTarget(TargetEntry target)
 {
     m.move(new Point(ran.Next(target.X + 10, target.X + target.Width - 10), ran.Next(target.Y + 10, target.Y + target.Height - 10)));
     Thread.Sleep(400);
     m.click(true);
     pm.synchronize(m);
     return(true);
 }
コード例 #2
0
 /// <summary>
 /// Open menu on a given target
 /// </summary>
 /// <param name="target">The target entry to open a menu on</param>
 /// <returns>True on success, false otherwise</returns>
 public bool openTargetMenu(TargetEntry target)
 {
     return(menuhandler.open(target));
 }
コード例 #3
0
ファイル: Ship.cs プロジェクト: MasterSpeed/Eryan
 /// <summary>
 /// Open menu on a given target
 /// </summary>
 /// <param name="target">The target entry to open a menu on</param>
 /// <returns>True on success, false otherwise</returns>
 public bool openTargetMenu(TargetEntry target)
 {
     return menuhandler.open(target);
 }
コード例 #4
0
ファイル: Ship.cs プロジェクト: MasterSpeed/Eryan
 /// <summary>
 /// Set active target on the current target
 /// </summary>
 /// <param name="target">The target entry to set active</param>
 /// <returns>True on success, false otherwise</returns>
 public bool setActiveTarget(TargetEntry target)
 {
     m.move(new Point(ran.Next(target.X + 10, target.X + target.Width - 10), ran.Next(target.Y + 10, target.Y + target.Height - 10)));
     Thread.Sleep(400);
     m.click(true);
     pm.synchronize(m);
     return true;
 }