C# Класс TrafficManager_ImprovedAI.CustomPathFind

Наследование: PathFind
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddBufferItem void
Awake void
CalculateLaneSpeed float
CheckLaneConnection bool
GetLaneDirection void
PathFindImplementation void
PathFindThread void
ProcessItem bool
ProcessItem void
ProcessItem void
ProcessItem void

Открытые методы

Метод Описание
LoadAIParameters ( Configuration parameters ) : void
ResetAIParameters ( ) : void

Приватные методы

Метод Описание
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

Описание методов

LoadAIParameters() публичный статический Метод

public static LoadAIParameters ( Configuration parameters ) : void
parameters Configuration
Результат void

ResetAIParameters() публичный статический Метод

public static ResetAIParameters ( ) : void
Результат void