mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
fix.修复一些小错误
This commit is contained in:
@@ -1397,7 +1397,7 @@
|
||||
},
|
||||
"DroneAssist-Trade-Stop": {
|
||||
"Doc": "如果找到了“无人机加速”按钮,却没有找到订单交付:说明上一次无人机没有把一个订单加速完成,也说明没有更多的无人机了,所以直接stop",
|
||||
"template": "DroneAssist-Trade.png",
|
||||
"template": "DroneAssistTrade.png",
|
||||
"action": "stop",
|
||||
"cache": false
|
||||
},
|
||||
|
||||
@@ -13,8 +13,14 @@ namespace asst
|
||||
using InfrastAbstractTask::InfrastAbstractTask;
|
||||
virtual ~InfrastProductionTask() = default;
|
||||
|
||||
#ifndef LOG_TRACE
|
||||
// 为了方便调试,把这三个接口拿到public来了
|
||||
void set_uses_of_drone(std::string uses_of_drones) noexcept
|
||||
{
|
||||
m_uses_of_drones = std::move(uses_of_drones);
|
||||
}
|
||||
#ifdef LOG_TRACE
|
||||
public:
|
||||
#else
|
||||
// 为了方便调试,把这两个个接口拿到public来了
|
||||
protected:
|
||||
#endif
|
||||
void set_facility(std::string facility_name) noexcept
|
||||
@@ -25,10 +31,6 @@ namespace asst
|
||||
{
|
||||
m_product = std::move(product_name);
|
||||
}
|
||||
void set_uses_of_drone(std::string uses_of_drones) noexcept
|
||||
{
|
||||
m_uses_of_drones = std::move(uses_of_drones);
|
||||
}
|
||||
|
||||
protected:
|
||||
bool shift_facility_list();
|
||||
|
||||
Reference in New Issue
Block a user