o
asmrobot
2019-10-27 c4bd9d8c587bd1401f0fb2f60c34a4964d7afe20
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);