mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 01:59:33 +08:00
refactor.重构基建类,添加可用干员人数不足的回调
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
#include "InfrastTradeTask.h"
|
||||
|
||||
const std::string asst::InfrastTradeTask::FacilityName = "Trade";
|
||||
|
||||
bool asst::InfrastTradeTask::_run()
|
||||
{
|
||||
set_facility(FacilityName);
|
||||
m_all_available_opers.clear();
|
||||
|
||||
swipe_to_the_left_of_main_ui();
|
||||
enter_facility(FacilityName, 0);
|
||||
enter_facility(0);
|
||||
click_bottomleft_tab();
|
||||
|
||||
if (!shift_facility_list()) {
|
||||
|
||||
Reference in New Issue
Block a user