C# Class TrafficManager_ImprovedAI.CustomPathFind

Inheritance: PathFind
Exibir arquivo Open project: fadster/TrafficManager_ImprovedAI Class Usage Examples

Private Properties

Property Type Description
AddBufferItem void
Awake void
CalculateLaneSpeed float
CheckLaneConnection bool
GetLaneDirection void
PathFindImplementation void
PathFindThread void
ProcessItem bool
ProcessItem void
ProcessItem void
ProcessItem void

Public Methods

Method Description
LoadAIParameters ( Configuration parameters ) : void
ResetAIParameters ( ) : void

Private Methods

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

Method Details

LoadAIParameters() public static method

public static LoadAIParameters ( Configuration parameters ) : void
parameters Configuration
return void

ResetAIParameters() public static method

public static ResetAIParameters ( ) : void
return void