Свойство | Тип | Описание | |
---|---|---|---|
IsMasterPathFind | bool | ||
SYNC_TIMEOUT | int | ||
_failedPathFinds | uint | ||
_succeededPathFinds | uint |
Свойство | Тип | Описание | |
---|---|---|---|
AddBufferItem | void | ||
CalculateLaneSpeed | float | ||
FindNthCompatibleLane | int | ||
GetLaneDirection | void | ||
HandleLaneMergesAndSplits | void | ||
PathFindThread | void | ||
ProcessItem2 | void | ||
ProcessItemCosts | bool | ||
ProcessItemCosts | bool | ||
ProcessItemMain | void | ||
ProcessItemPedBicycle | void |
Метод | Описание | |
---|---|---|
CalculatePath ( ExtVehicleType vehicleType, uint unit, bool skipQueue ) : bool |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | bool |
protected CanLanesConnect ( uint laneId1, uint laneId2 ) : bool | ||
laneId1 | uint | |
laneId2 | uint | |
Результат | bool |
protected CanUseLane ( bool debug, ushort segmentId, uint laneIndex, uint laneId, NetInfo laneInfo ) : bool | ||
debug | bool | |
segmentId | ushort | |
laneIndex | uint | |
laneId | uint | |
laneInfo | NetInfo | |
Результат | bool |
protected GetLaneSpeedLimit ( ushort segmentId, uint laneIndex, uint laneId, NetInfo lane ) : float | ||
segmentId | ushort | |
laneIndex | uint | |
laneId | uint | |
lane | NetInfo | |
Результат | float |
protected IsLaneArrowChangerEnabled ( ) : bool | ||
Результат | bool |
protected PathFindImplementation ( uint unit, PathUnit &data ) : void | ||
unit | uint | |
data | PathUnit | |
Результат | void |