Свойство | Type | Description | |
---|---|---|---|
PathFindInstance |
Méthode | Description | |
---|---|---|
CreatePath ( uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPos, PathUnit endPos, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength ) : bool | ||
CreatePath ( uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength ) : bool | ||
CreatePath ( uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength, bool isHeavyVehicle, bool ignoreBlocked, bool stablePath, bool skipQueue ) : bool | ||
CreatePath ( uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength, bool isHeavyVehicle, bool ignoreBlocked, bool stablePath, bool skipQueue, ItemClass vehicleService ) : bool | ||
CreatePath ( uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, PathUnit vehiclePosition, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength, bool isHeavyVehicle, bool ignoreBlocked, bool stablePath, bool skipQueue ) : bool | ||
CreatePath ( uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, PathUnit vehiclePosition, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength, bool isHeavyVehicle, bool ignoreBlocked, bool stablePath, bool skipQueue, ItemClass vehicleService ) : bool | ||
GetLaneID ( PathUnit pathPos ) : uint | ||
UpdateWithPathManagerValues ( PathManager stockPathManager ) : void |
Méthode | Description | |
---|---|---|
Awake ( ) : void |
Méthode | Description | |
---|---|---|
assignPathProperties ( uint unit, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, PathUnit vehiclePosition, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength, byte simulationFlags ) : void | ||
createSimulationFlag ( bool isHeavyVehicle, bool ignoreBlocked, bool stablePath, ItemClass vehicleService ) : byte | ||
findShortestPath ( uint unit, bool skipQueue ) : bool |
public CreatePath ( uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPos, PathUnit endPos, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength ) : bool | ||
unit | uint | |
randomizer | Randomizer | |
buildIndex | uint | |
startPos | PathUnit | |
endPos | PathUnit | |
laneTypes | NetInfo | |
vehicleTypes | VehicleInfo | |
maxLength | float | |
Résultat | bool |
public CreatePath ( uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength ) : bool | ||
unit | uint | |
randomizer | Randomizer | |
buildIndex | uint | |
startPosA | PathUnit | |
startPosB | PathUnit | |
endPosA | PathUnit | |
endPosB | PathUnit | |
laneTypes | NetInfo | |
vehicleTypes | VehicleInfo | |
maxLength | float | |
Résultat | bool |
public CreatePath ( uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength, bool isHeavyVehicle, bool ignoreBlocked, bool stablePath, bool skipQueue ) : bool | ||
unit | uint | |
randomizer | Randomizer | |
buildIndex | uint | |
startPosA | PathUnit | |
startPosB | PathUnit | |
endPosA | PathUnit | |
endPosB | PathUnit | |
laneTypes | NetInfo | |
vehicleTypes | VehicleInfo | |
maxLength | float | |
isHeavyVehicle | bool | |
ignoreBlocked | bool | |
stablePath | bool | |
skipQueue | bool | |
Résultat | bool |
public CreatePath ( uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength, bool isHeavyVehicle, bool ignoreBlocked, bool stablePath, bool skipQueue, ItemClass vehicleService ) : bool | ||
unit | uint | |
randomizer | Randomizer | |
buildIndex | uint | |
startPosA | PathUnit | |
startPosB | PathUnit | |
endPosA | PathUnit | |
endPosB | PathUnit | |
laneTypes | NetInfo | |
vehicleTypes | VehicleInfo | |
maxLength | float | |
isHeavyVehicle | bool | |
ignoreBlocked | bool | |
stablePath | bool | |
skipQueue | bool | |
vehicleService | ItemClass | |
Résultat | bool |
public CreatePath ( uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, PathUnit vehiclePosition, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength, bool isHeavyVehicle, bool ignoreBlocked, bool stablePath, bool skipQueue ) : bool | ||
unit | uint | |
randomizer | Randomizer | |
buildIndex | uint | |
startPosA | PathUnit | |
startPosB | PathUnit | |
endPosA | PathUnit | |
endPosB | PathUnit | |
vehiclePosition | PathUnit | |
laneTypes | NetInfo | |
vehicleTypes | VehicleInfo | |
maxLength | float | |
isHeavyVehicle | bool | |
ignoreBlocked | bool | |
stablePath | bool | |
skipQueue | bool | |
Résultat | bool |
public CreatePath ( uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, PathUnit vehiclePosition, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength, bool isHeavyVehicle, bool ignoreBlocked, bool stablePath, bool skipQueue, ItemClass vehicleService ) : bool | ||
unit | uint | |
randomizer | Randomizer | |
buildIndex | uint | |
startPosA | PathUnit | |
startPosB | PathUnit | |
endPosA | PathUnit | |
endPosB | PathUnit | |
vehiclePosition | PathUnit | |
laneTypes | NetInfo | |
vehicleTypes | VehicleInfo | |
maxLength | float | |
isHeavyVehicle | bool | |
ignoreBlocked | bool | |
stablePath | bool | |
skipQueue | bool | |
vehicleService | ItemClass | |
Résultat | bool |
public static GetLaneID ( PathUnit pathPos ) : uint | ||
pathPos | PathUnit | |
Résultat | uint |
public UpdateWithPathManagerValues ( PathManager stockPathManager ) : void | ||
stockPathManager | PathManager | |
Résultat | void |