perf: 优化线索交流、获取好友线索逻辑

This commit is contained in:
uye
2026-01-09 17:45:28 +08:00
parent 352ae52ca1
commit 04b7b11dfc
2 changed files with 6 additions and 5 deletions

View File

@@ -3108,7 +3108,8 @@
"roi": [286, 550, 366, 130]
},
"BackToReceptionMain": {
"algorithm": "JustReturn",
"template": "ReceptionFlag.png",
"roi": [350, 0, 200, 100],
"action": "ClickRect",
"specificRect": [280, 96, 130, 32],
"postDelay": 2000
@@ -3143,7 +3144,7 @@
"template": "GetClue2.png",
"action": "ClickSelf",
"roi": [800, 600, 480, 120],
"next": ["InfrastClueSelfMaybeFull", "ReceptionFlag"]
"next": ["BackToReceptionMain"]
},
"CloseCluePage": {
"action": "ClickSelf",

View File

@@ -176,8 +176,9 @@ bool asst::InfrastReceptionTask::proc_clue_vacancy()
Rect click_rect = confirm_task->roi.move(confirm_task->rect_move);
ctrler()->click(click_rect);
}
return true;
}
return true;
}
}
@@ -226,8 +227,7 @@ bool asst::InfrastReceptionTask::unlock_clue_exchange()
bool asst::InfrastReceptionTask::back_to_reception_main()
{
ProcessTask(*this, { "EndOfClueExchange" }).set_retry_times(0).run();
// 国服有快捷置入后不会进入线索放置页面,不需要返回,多点一次快捷置入也无所谓
return ProcessTask(*this, { "InfrastClueQuickInsert", "BackToReceptionMain" }).run();
return ProcessTask(*this, { "BackToReceptionMain" }).run();
}
bool asst::InfrastReceptionTask::send_clue()