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

Method SetLoadType

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

Set how the consist must be loaded. */

Source from the content-addressed store, hash-verified

161
162 /** Set how the consist must be loaded. */
163 inline void SetLoadType(OrderLoadType load_type) { SB(this->flags, 4, 3, to_underlying(load_type)); }
164 /** Set how the consist must be unloaded. */
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. */

Callers 6

CmdModifyOrderFunction · 0.80
GetOrderCmdFromTileFunction · 0.80
InsertOrderMethod · 0.80
AfterLoadGameFunction · 0.80

Calls 2

SBFunction · 0.85
to_underlyingFunction · 0.85

Tested by

no test coverage detected