mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
fix: 移除不必要的引用
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
#include "Task/Fight/MedicineCounterPlugin.h"
|
||||
#include "Task/Miscellaneous/BattleFormationTask.h"
|
||||
#include "Task/Miscellaneous/BattleProcessTask.h"
|
||||
#include "Task/Miscellaneous/CopilotListNotificationPlugin.h"
|
||||
#include "Task/Miscellaneous/TaskFileReloadTask.h"
|
||||
#include "Task/ProcessTask.h"
|
||||
#include "Utils/Logger.hpp"
|
||||
@@ -46,7 +45,6 @@ asst::CopilotTask::CopilotTask(const AsstCallback& callback, Assistant* inst)
|
||||
|
||||
auto start_2_tp = std::make_shared<ProcessTask>(callback, inst, TaskType);
|
||||
start_2_tp->set_tasks({ "BattleStartAll" }).set_ignore_error(false);
|
||||
m_copilot_list_notification_ptr = start_2_tp->register_plugin<CopilotListNotificationPlugin>();
|
||||
m_subtasks.emplace_back(start_2_tp);
|
||||
|
||||
// 跳过“以下干员出战后将被禁用,是否继续?”对话框
|
||||
|
||||
@@ -8,7 +8,6 @@ namespace asst
|
||||
class TaskFileReloadTask;
|
||||
class BattleProcessTask;
|
||||
class BattleFormationTask;
|
||||
class CopilotListNotificationPlugin;
|
||||
class ProcessTask;
|
||||
|
||||
// 抄作业任务
|
||||
@@ -31,7 +30,6 @@ namespace asst
|
||||
std::shared_ptr<ProcessTask> m_adverse_select_task_ptr = nullptr;
|
||||
std::shared_ptr<BattleFormationTask> m_formation_task_ptr = nullptr;
|
||||
std::shared_ptr<BattleProcessTask> m_battle_task_ptr = nullptr;
|
||||
std::shared_ptr<CopilotListNotificationPlugin> m_copilot_list_notification_ptr = nullptr;
|
||||
std::shared_ptr<ProcessTask> m_stop_task_ptr = nullptr;
|
||||
std::string m_stage_name;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user