コード例 #1
0
ファイル: Inventory.cs プロジェクト: c0gent/NeverClicker
        public static void OpenRewardBag(Interactor intr, ImageSearchResult bagImageResult)
        {
            const int CLICK_OFS_MAX = 25;

            Mouse.DoubleClick(intr, bagImageResult.Point.X + intr.Rand(5, CLICK_OFS_MAX),
                              bagImageResult.Point.Y + intr.Rand(5, CLICK_OFS_MAX));
        }
コード例 #2
0
ファイル: Inventory.cs プロジェクト: c0gent/NeverClicker
 public static void OpenRewardBag(Interactor intr, ImageSearchResult bagImageResult)
 {
     const int CLICK_OFS_MAX = 25;
     Mouse.DoubleClick(intr, bagImageResult.Point.X + intr.Rand(5, CLICK_OFS_MAX),
             bagImageResult.Point.Y + intr.Rand(5, CLICK_OFS_MAX));
 }