C# Class TrafficManager.CustomPathFind

Inheritance: PathFind
Afficher le fichier Open project: seiggy/Skylines-Traffic-Manager Class Usage Examples

Private Properties

Свойство Type Description
AddBufferItem void
CalculateLaneSpeed float
GetLaneDirection void
PathFindImplementation void
PathFindThread void
ProcessItem1 void
ProcessItem2 void
ProcessItem3 void
ProcessItem4 bool
ProcessItem5 void

Méthodes publiques

Méthode Description
CalculatePath ( uint unit, bool skipQueue ) : bool
CustomPathFind ( ) : System
WaitForAllPaths ( ) : void

Méthodes protégées

Méthode Description
Awake ( ) : void
GetLaneFlags ( ushort segmentId, ushort nodeId ) : NetLane.Flags
OnDestroy ( ) : void

Private Methods

Méthode Description
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

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

CalculatePath() public méthode

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

CustomPathFind() public méthode

public CustomPathFind ( ) : System
Résultat System

GetLaneFlags() protected méthode

protected GetLaneFlags ( ushort segmentId, ushort nodeId ) : NetLane.Flags
segmentId ushort
nodeId ushort
Résultat NetLane.Flags

OnDestroy() protected méthode

protected OnDestroy ( ) : void
Résultat void

WaitForAllPaths() public méthode

public WaitForAllPaths ( ) : void
Résultat void