From c4bd9d8c587bd1401f0fb2f60c34a4964d7afe20 Mon Sep 17 00:00:00 2001
From: asmrobot <asmrobot@hotmail.com>
Date: Sun, 27 Oct 2019 16:02:50 +0000
Subject: [PATCH] o
---
src/RichCreator/Maps/Test/TestMap.cs | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/RichCreator/Maps/Test/TestMap.cs b/src/RichCreator/Maps/Test/TestMap.cs
index b9e49e7..eea3855 100644
--- a/src/RichCreator/Maps/Test/TestMap.cs
+++ b/src/RichCreator/Maps/Test/TestMap.cs
@@ -97,9 +97,9 @@
return false;
}
-
- ZTPoint windowCenter = createGroupWindowTextRect.GetCenterPoint();
- G.Instance.InputControl.MoveToAndClick(new ZTPoint(windowCenter.X + 50, windowCenter.Y + 80));
+
+ Utility.Structs.ZTPoint windowCenter = createGroupWindowTextRect.GetCenterPoint();
+ G.Instance.InputControl.MoveToAndClick(new Utility.Structs.ZTPoint(windowCenter.X + 50, windowCenter.Y + 80));
//清空文字
for (int i = 0; i < 15; i++)
{
@@ -120,13 +120,13 @@
G.Instance.InfoWriter("create group ok");
//点击组队“确定”按钮
result = FuncUtils.TimeoutCancelableWrap(15 * 60 * 1000,this.cancellationToken, () => {
- ZTPoint yes = ZTPoint.Empty;
- ZTPoint no = ZTPoint.Empty;
+ Utility.Structs.ZTPoint yes = Utility.Structs.ZTPoint.Empty;
+ Utility.Structs.ZTPoint no = Utility.Structs.ZTPoint.Empty;
bool retFind = GroupCVHelper.FindYaoqingZuduiWindow(out yes, out no, this.GameRect);
if (retFind)
{
G.Instance.InputControl.MoveToAndClick(yes);
- G.Instance.InfoWriter("other join group ok:"+yes);
+ G.Instance.InfoWriter("other join group ok:"+ yes);
}
return retFind;
});
@@ -161,9 +161,9 @@
return true;
}
- ZTPoint searchButtonCenerPoint = searchButtonRect.GetCenterPoint();
+ Utility.Structs.ZTPoint searchButtonCenerPoint = searchButtonRect.GetCenterPoint();
//输入组名
- G.Instance.InputControl.MoveToAndClick(new ZTPoint (searchButtonCenerPoint.X-80,searchButtonCenerPoint.Y));
+ G.Instance.InputControl.MoveToAndClick(new Utility.Structs.ZTPoint (searchButtonCenerPoint.X-80, searchButtonCenerPoint.Y));
DeleteAllChar(groupName.Length + 3);
G.Instance.InputControl.InputString(groupName);
--
Gitblit v1.9.3