mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 17:57:01 +08:00
opt.界面上解耦自动公招与公招识别
This commit is contained in:
@@ -50,6 +50,7 @@ bool RecruitTask::_run()
|
||||
}
|
||||
json::value all_tags_json;
|
||||
all_tags_json["tags"] = json::array(all_tags_json_vector);
|
||||
all_tags_json["task_chain"] = m_task_chain;
|
||||
|
||||
/* 过滤tags数量不足的情况(可能是识别漏了) */
|
||||
if (all_tags.size() != RecruitConfiger::CorrectNumberOfTags) {
|
||||
@@ -174,6 +175,7 @@ bool RecruitTask::_run()
|
||||
json::value results_json;
|
||||
results_json["result"] = json::array();
|
||||
results_json["maybe_level"] = m_maybe_level;
|
||||
results_json["task_chain"] = m_task_chain;
|
||||
|
||||
std::vector<json::value> result_json_vector;
|
||||
for (const auto& comb : result_vec) {
|
||||
@@ -223,4 +225,4 @@ void RecruitTask::set_param(std::vector<int> select_level, bool set_time) noexce
|
||||
{
|
||||
m_select_level = std::move(select_level);
|
||||
m_set_time = set_time;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user