MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getTrackId

Method getTrackId

src/OpenLoco/src/Vehicles/Orders.cpp:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 uint8_t OrderRouteWaypoint::getTrackId() const
90 {
91 return (_data[3] >> 3) | ((_data[4] & 0x1) << 5);
92 }
93
94 uint32_t Order::getOffset() const
95 {

Callers 3

sub_4ACEF1Function · 0.80
roadPathingFunction · 0.80
trackPathingFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected