mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
style.项目、文件名统一化
This commit is contained in:
29
src/MeoAssistant/InfrastMfgTask.cpp
Normal file
29
src/MeoAssistant/InfrastMfgTask.cpp
Normal file
@@ -0,0 +1,29 @@
|
||||
#include "InfrastMfgTask.h"
|
||||
|
||||
#include "Controller.h"
|
||||
#include "MatchImageAnalyzer.h"
|
||||
#include "Resource.h"
|
||||
|
||||
const std::string asst::InfrastMfgTask::FacilityName = "Mfg";
|
||||
|
||||
bool asst::InfrastMfgTask::_run()
|
||||
{
|
||||
json::value task_start_json = json::object{
|
||||
{ "task_type", "InfrastMfgTask" },
|
||||
{ "task_chain", m_task_chain }
|
||||
};
|
||||
m_callback(AsstMsg::TaskStart, task_start_json, m_callback_arg);
|
||||
|
||||
set_facility(FacilityName);
|
||||
m_all_available_opers.clear();
|
||||
|
||||
swipe_to_the_left_of_main_ui();
|
||||
enter_facility(FacilityName, 0);
|
||||
click_bottomleft_tab();
|
||||
|
||||
if (!shift_facility_list()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user