C# Class CSL_Traffic.TPPPathFind

Inheritance: IExtendedPathFind
Afficher le fichier Open project: Katalyst6/CSL.TransitAddonMod

Private Properties

Свойство Type Description
AddBufferItem void
CalculateLaneSpeed float
GetLaneDirection void
PathFindImplementation void
PathFindThread void
ProcessItem bool
ProcessItem void
ProcessItem void
ProcessItem void

Méthodes publiques

Méthode Description
CalculatePath ( uint unit, bool skipQueue ) : bool
CalculatePath ( uint unit, bool skipQueue, ExtendedVehicleType vehicleType ) : bool
OnAwake ( ) : void
OnDestroy ( ) : void
WaitForAllPaths ( ) : void

Private Methods

Méthode Description
AddBufferItem ( BufferItem item, PathUnit target ) : void
CalculateLaneSpeed ( byte startOffset, byte endOffset, NetSegment &segment, NetInfo laneInfo, uint laneId ) : float
GetLaneDirection ( PathUnit pathPos, NetInfo &direction, NetInfo &type ) : void
PathFindImplementation ( uint unit, PathUnit &data ) : void
PathFindThread ( ) : void
ProcessItem ( BufferItem item, ushort targetNode, ushort segmentID, NetSegment &segment, int &currentTargetIndex, byte connectOffset, bool enableVehicle, bool enablePedestrian ) : bool
ProcessItem ( BufferItem item, ushort nodeID, NetNode &node, byte connectOffset, bool isMiddle ) : void
ProcessItem ( BufferItem item, ushort targetNode, bool targetDisabled, ushort segmentID, NetSegment &segment, uint lane, byte offset, byte connectOffset ) : void
ProcessItem ( BufferItem item, ushort targetNode, ushort segmentID, NetSegment &segment, byte connectOffset, int laneIndex, uint lane ) : void

Method Details

CalculatePath() public méthode

public CalculatePath ( uint unit, bool skipQueue ) : bool
unit uint
skipQueue bool
Résultat bool

CalculatePath() public méthode

public CalculatePath ( uint unit, bool skipQueue, ExtendedVehicleType vehicleType ) : bool
unit uint
skipQueue bool
vehicleType ExtendedVehicleType
Résultat bool

OnAwake() public méthode

public OnAwake ( ) : void
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

WaitForAllPaths() public méthode

public WaitForAllPaths ( ) : void
Résultat void