fix.修复一些小错误

This commit is contained in:
MistEO
2021-12-05 23:51:20 +08:00
parent 15788b6ac7
commit dbc74bb0ef
2 changed files with 9 additions and 7 deletions

View File

@@ -1397,7 +1397,7 @@
},
"DroneAssist-Trade-Stop": {
"Doc": "如果找到了“无人机加速”按钮却没有找到订单交付说明上一次无人机没有把一个订单加速完成也说明没有更多的无人机了所以直接stop",
"template": "DroneAssist-Trade.png",
"template": "DroneAssistTrade.png",
"action": "stop",
"cache": false
},

View File

@@ -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();