C# 클래스 CSL_Traffic.TPPPathFind

상속: IExtendedPathFind
파일 보기 프로젝트 열기: Katalyst6/CSL.TransitAddonMod

Private Properties

프로퍼티 타입 설명
AddBufferItem void
CalculateLaneSpeed float
GetLaneDirection void
PathFindImplementation void
PathFindThread void
ProcessItem bool
ProcessItem void
ProcessItem void
ProcessItem void

공개 메소드들

메소드 설명
CalculatePath ( uint unit, bool skipQueue ) : bool
CalculatePath ( uint unit, bool skipQueue, ExtendedVehicleType vehicleType ) : bool
OnAwake ( ) : void
OnDestroy ( ) : void
WaitForAllPaths ( ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

CalculatePath() 공개 메소드

public CalculatePath ( uint unit, bool skipQueue ) : bool
unit uint
skipQueue bool
리턴 bool

CalculatePath() 공개 메소드

public CalculatePath ( uint unit, bool skipQueue, ExtendedVehicleType vehicleType ) : bool
unit uint
skipQueue bool
vehicleType ExtendedVehicleType
리턴 bool

OnAwake() 공개 메소드

public OnAwake ( ) : void
리턴 void

OnDestroy() 공개 메소드

public OnDestroy ( ) : void
리턴 void

WaitForAllPaths() 공개 메소드

public WaitForAllPaths ( ) : void
리턴 void