Property | Type | Description | |
---|---|---|---|
IsMasterPathFind | bool | ||
SYNC_TIMEOUT | int | ||
_failedPathFinds | uint | ||
_succeededPathFinds | uint |
Property | Type | Description | |
---|---|---|---|
AddBufferItem | void | ||
CalculateLaneSpeed | float | ||
FindNthCompatibleLane | int | ||
GetLaneDirection | void | ||
HandleLaneMergesAndSplits | void | ||
PathFindThread | void | ||
ProcessItem2 | void | ||
ProcessItemCosts | bool | ||
ProcessItemCosts | bool | ||
ProcessItemMain | void | ||
ProcessItemPedBicycle | void |
Method | Description | |
---|---|---|
CalculatePath ( ExtVehicleType vehicleType, uint unit, bool skipQueue ) : bool |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
CanLanesConnect ( uint laneId1, uint laneId2 ) : bool | ||
CanUseLane ( bool debug, ushort segmentId, uint laneIndex, uint laneId, NetInfo laneInfo ) : bool | ||
GetLaneSpeedLimit ( ushort segmentId, uint laneIndex, uint laneId, NetInfo lane ) : float | ||
IsLaneArrowChangerEnabled ( ) : bool | ||
OnDestroy ( ) : void | ||
PathFindImplementation ( uint unit, PathUnit &data ) : void |
Method | Description | |
---|---|---|
AddBufferItem ( BufferItem item, PathUnit target ) : void | ||
CalculateLaneSpeed ( float speedLimit, byte startOffset, byte endOffset, NetSegment &segment, NetInfo laneInfo ) : float | ||
FindNthCompatibleLane ( uint &indexBySimilarLaneIndex, int prevRightSimilarLaneIndex ) : int | ||
GetLaneDirection ( PathUnit pathPos, NetInfo &direction, NetInfo &type ) : void | ||
HandleLaneMergesAndSplits ( int prevRightSimilarLaneIndex, int nextCompatibleLaneCount, int prevSimilarLaneCount, int &minNextRightSimilarLaneIndex, int &maxNextRightSimilarLaneIndex ) : void | ||
PathFindThread ( ) : void | ||
ProcessItem2 ( BufferItem item, ushort targetNodeId, bool targetDisabled, ushort nextSegmentId, NetSegment &nextSegment, uint lane, byte offset, byte connectOffset ) : void | ||
ProcessItemCosts ( bool allowCustomLaneChanging, bool debug, BufferItem item, ushort targetNode, ushort segmentID, NetSegment &segment, int &laneIndexFromLeft, byte connectOffset, bool enableVehicle, bool enablePedestrian ) : bool | ||
ProcessItemCosts ( bool allowCustomLaneChanging, bool debug, BufferItem item, ushort targetNodeId, ushort nextSegmentId, NetSegment &nextSegment, int &laneIndexFromLeft, byte connectOffset, bool enableVehicle, bool enablePedestrian, int forceLaneIndex, uint forceLaneId, bool &foundForced ) : bool | ||
ProcessItemMain ( uint unitId, BufferItem item, ushort nextNodeId, NetNode &nextNode, byte connectOffset, bool isMiddle ) : void | ||
ProcessItemPedBicycle ( BufferItem item, ushort targetNodeId, ushort segmentID, NetSegment &segment, byte connectOffset, int laneIndex, uint lane ) : void |
public CalculatePath ( ExtVehicleType vehicleType, uint unit, bool skipQueue ) : bool | ||
vehicleType | ExtVehicleType | |
unit | uint | |
skipQueue | bool | |
return | bool |
protected CanLanesConnect ( uint laneId1, uint laneId2 ) : bool | ||
laneId1 | uint | |
laneId2 | uint | |
return | bool |
protected CanUseLane ( bool debug, ushort segmentId, uint laneIndex, uint laneId, NetInfo laneInfo ) : bool | ||
debug | bool | |
segmentId | ushort | |
laneIndex | uint | |
laneId | uint | |
laneInfo | NetInfo | |
return | bool |
protected GetLaneSpeedLimit ( ushort segmentId, uint laneIndex, uint laneId, NetInfo lane ) : float | ||
segmentId | ushort | |
laneIndex | uint | |
laneId | uint | |
lane | NetInfo | |
return | float |
protected IsLaneArrowChangerEnabled ( ) : bool | ||
return | bool |
protected PathFindImplementation ( uint unit, PathUnit &data ) : void | ||
unit | uint | |
data | PathUnit | |
return | void |