mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
feat: 退而求其次,改用 enum_to_string()
This commit is contained in:
@@ -156,10 +156,10 @@ bool ProcessTask::_run()
|
||||
|
||||
info["details"] = json::object {
|
||||
{ "task", cur_name },
|
||||
{ "action", std::to_string(m_cur_task_ptr->action) },
|
||||
{ "action", enum_to_string(m_cur_task_ptr->action) },
|
||||
{ "exec_times", exec_times },
|
||||
{ "max_times", max_times },
|
||||
{ "algorithm", std::to_string(m_cur_task_ptr->algorithm) },
|
||||
{ "algorithm", enum_to_string(m_cur_task_ptr->algorithm) },
|
||||
};
|
||||
|
||||
callback(AsstMsg::SubTaskStart, info);
|
||||
|
||||
Reference in New Issue
Block a user