Set whether we must stop at stations or not. */
| 165 | inline void SetUnloadType(OrderUnloadType unload_type) { SB(this->flags, 0, 3, to_underlying(unload_type)); } |
| 166 | /** Set whether we must stop at stations or not. */ |
| 167 | inline void SetNonStopType(OrderNonStopFlags non_stop_type) { SB(this->type, 6, 2, non_stop_type.base()); } |
| 168 | /** Set where we must stop at the platform. */ |
| 169 | inline void SetStopLocation(OrderStopLocation stop_location) { SB(this->type, 4, 2, to_underlying(stop_location)); } |
| 170 | /** Set the cause to go to the depot. */ |
no test coverage detected