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

Method nextVehicleComponent

src/OpenLoco/src/Vehicles/Vehicle.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 VehicleBase* VehicleBase::nextVehicleComponent()
39 {
40 return EntityManager::get<VehicleBase>(nextCarId);
41 }
42
43 VehicleBase* VehicleBase::previousVehicleComponent()
44 {

Callers 11

ignoreSelfCollisionFunction · 0.80
CarComponentMethod · 0.80
VehicleMethod · 0.80
refreshCarsMethod · 0.80
connectJacobsBogiesFunction · 0.80
CarComponentIterMethod · 0.80
CarIterMethod · 0.80
deleteCarFunction · 0.80
deleteTrainFunction · 0.80
createNewVehicleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected