mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
refactor.重构基建类,添加可用干员人数不足的回调
This commit is contained in:
@@ -4,15 +4,12 @@
|
||||
#include "MatchImageAnalyzer.h"
|
||||
#include "Resource.h"
|
||||
|
||||
const std::string asst::InfrastMfgTask::FacilityName = "Mfg";
|
||||
|
||||
bool asst::InfrastMfgTask::_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