C# 클래스 TrafficManager.CustomPathFind

상속: PathFind
파일 보기 프로젝트 열기: seiggy/Skylines-Traffic-Manager 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddBufferItem void
CalculateLaneSpeed float
GetLaneDirection void
PathFindImplementation void
PathFindThread void
ProcessItem1 void
ProcessItem2 void
ProcessItem3 void
ProcessItem4 bool
ProcessItem5 void

공개 메소드들

메소드 설명
CalculatePath ( uint unit, bool skipQueue ) : bool
CustomPathFind ( ) : System
WaitForAllPaths ( ) : void

보호된 메소드들

메소드 설명
Awake ( ) : void
GetLaneFlags ( ushort segmentId, ushort nodeId ) : NetLane.Flags
OnDestroy ( ) : void

비공개 메소드들

메소드 설명
AddBufferItem ( BufferItem item, PathUnit target ) : void
CalculateLaneSpeed ( byte startOffset, byte endOffset, NetSegment &segment, NetInfo laneInfo ) : float
GetLaneDirection ( PathUnit pathPos, NetInfo &direction, NetInfo &type ) : void
PathFindImplementation ( uint unit, PathUnit &data ) : void
PathFindThread ( ) : void
ProcessItem1 ( BufferItem item, ushort nodeId, NetNode &node, byte connectOffset, bool isMiddle, PathUnit &data ) : void
ProcessItem2 ( BufferItem item, ushort targetNode, ushort segmentId, NetSegment &segment, int &currentTargetIndex, byte connectOffset, bool enableVehicle, bool enablePedestrian, uint laneId, int laneNum ) : void
ProcessItem3 ( BufferItem item, bool targetDisabled, ushort segmentId, NetSegment &segment, uint lane, byte offset, byte connectOffset ) : void
ProcessItem4 ( BufferItem item, ushort targetNode, ushort segmentId, NetSegment &segment, int &currentTargetIndex, byte connectOffset, bool enableVehicle, bool enablePedestrian ) : bool
ProcessItem5 ( BufferItem item, ushort targetNode, ushort segmentId, NetSegment &segment, byte connectOffset, int laneIndex, uint lane ) : void

메소드 상세

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

CalculatePath() 공개 메소드

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

CustomPathFind() 공개 메소드

public CustomPathFind ( ) : System
리턴 System

GetLaneFlags() 보호된 메소드

protected GetLaneFlags ( ushort segmentId, ushort nodeId ) : NetLane.Flags
segmentId ushort
nodeId ushort
리턴 NetLane.Flags

OnDestroy() 보호된 메소드

protected OnDestroy ( ) : void
리턴 void

WaitForAllPaths() 공개 메소드

public WaitForAllPaths ( ) : void
리턴 void