SourceCode/Bond/Servo/ProcessJob.h
@@ -154,6 +154,10 @@ // 追加一个载具 void addCarrier(std::string carrierId, std::vector<uint8_t> slots); // 设置载具slots和contexts bool setCarrierSlotsAndContexts(std::string carrierId, std::vector<uint8_t> slots, std::vector<void*> contexts); bool setCarrierContexts(std::string carrierId, std::vector<void*> contexts); // 访问器 const std::vector<CarrierSlotInfo>& carriers() const noexcept { return m_carriers; } CarrierSlotInfo* getCarrier(const std::string& strId);