public void SetVehicleRestrictions(uint laneId, TAMVehicleType vehicleRestrictions) { GetLane(laneId).m_vehicleTypes = vehicleRestrictions; }
public void ToggleVehicleRestriction(uint laneId, TAMVehicleType vehicleType) { GetLane(laneId).m_vehicleTypes ^= vehicleType; }
public bool CanUseLane(TAMVehicleType vehicleType, uint laneId) { return((GetLane(laneId).m_vehicleTypes & vehicleType) != TAMVehicleType.None); }