mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 01:59:33 +08:00
refactor.重构基建类,添加可用干员人数不足的回调
This commit is contained in:
@@ -2,18 +2,15 @@
|
||||
|
||||
#include "Controller.h"
|
||||
|
||||
const std::string asst::InfrastOfficeTask::FacilityName = "Office";
|
||||
|
||||
bool asst::InfrastOfficeTask::_run()
|
||||
{
|
||||
set_facility(FacilityName);
|
||||
m_all_available_opers.clear();
|
||||
|
||||
// 办公室只能造这一个
|
||||
set_product("HR");
|
||||
|
||||
swipe_to_the_right_of_main_ui();
|
||||
enter_facility(FacilityName, 0);
|
||||
enter_facility();
|
||||
click_bottomleft_tab();
|
||||
|
||||
for (int i = 0; i <= OperSelectRetryTimes; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user