C# Class TrafficManager.Custom.AI.CustomTransportLineAI

Inheritance: TransportLineAI
Show file Open project: Katalyst6/CSL.TransitAddonMod Class Usage Examples

Public Methods

Method Description
CustomStartPathFind ( ushort segmentID, NetSegment &data, ItemClass netService, VehicleInfo vehicleType, bool skipQueue ) : bool
GetStopLane ( PathUnit &pos, VehicleInfo vehicleType ) : bool

Private Methods

Method Description
CheckNodeProblems ( ushort nodeID, NetNode &data ) : void
CheckSegmentProblems ( ushort segmentID, NetSegment &data ) : void

Method Details

CustomStartPathFind() public static method

public static CustomStartPathFind ( ushort segmentID, NetSegment &data, ItemClass netService, VehicleInfo vehicleType, bool skipQueue ) : bool
segmentID ushort
data NetSegment
netService ItemClass
vehicleType VehicleInfo
skipQueue bool
return bool

GetStopLane() public static method

public static GetStopLane ( PathUnit &pos, VehicleInfo vehicleType ) : bool
pos PathUnit
vehicleType VehicleInfo
return bool