MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / SetConditionSkipToOrder

Method SetConditionSkipToOrder

src/order_base.h:179–179  ·  view source on GitHub ↗

Get the order to skip to. */

Source from the content-addressed store, hash-verified

177 inline void SetConditionComparator(OrderConditionComparator condition_comparator) { SB(this->type, 5, 3, to_underlying(condition_comparator)); }
178 /** Get the order to skip to. */
179 inline void SetConditionSkipToOrder(VehicleOrderID order_id) { this->flags = order_id; }
180 /** Set the value to base the skip on. */
181 inline void SetConditionValue(uint16_t value) { SB(this->dest.value, 0, 11, value); }
182

Callers 4

InsertOrderFunction · 0.80
DeleteOrderFunction · 0.80
CmdMoveOrderFunction · 0.80
CmdModifyOrderFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected