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

Method GetFirstSharedVehicle

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

* Get the first vehicle of this vehicle chain. * @return the first vehicle of the chain. */

Source from the content-addressed store, hash-verified

395 * @return the first vehicle of the chain.
396 */
397 inline Vehicle *GetFirstSharedVehicle() const { return this->first_shared; }
398
399 /**
400 * Return the number of vehicles that share this orders list

Callers 8

FirstSharedMethod · 0.80
FindVehiclesWithOrderFunction · 0.80
HasStationInUseFunction · 0.80
DeleteStaleLinksFunction · 0.80
CmdSetTimetableStartFunction · 0.80
MoveBuoysToWaypointsFunction · 0.80
AfterLoadVehiclesPhase1Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected