C# Class CSL_Traffic.PathManagerExtensions

Show file Open project: Katalyst6/CSL.TransitAddonMod

Public Methods

Method Description
CreatePath ( this pm, ExtendedVehicleType extendedVehicleType, uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPos, PathUnit endPos, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength ) : bool
CreatePath ( this pm, ExtendedVehicleType extendedVehicleType, uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength ) : bool
CreatePath ( this pm, ExtendedVehicleType extendedVehicleType, 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 ( this pm, ExtendedVehicleType extendedVehicleType, 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 randomParking ) : bool

Method Details

CreatePath() public static method

public static CreatePath ( this pm, ExtendedVehicleType extendedVehicleType, uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPos, PathUnit endPos, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength ) : bool
pm this
extendedVehicleType ExtendedVehicleType
unit uint
randomizer Randomizer
buildIndex uint
startPos PathUnit
endPos PathUnit
laneTypes NetInfo
vehicleTypes VehicleInfo
maxLength float
return bool

CreatePath() public static method

public static CreatePath ( this pm, ExtendedVehicleType extendedVehicleType, uint &unit, Randomizer &randomizer, uint buildIndex, PathUnit startPosA, PathUnit startPosB, PathUnit endPosA, PathUnit endPosB, NetInfo laneTypes, VehicleInfo vehicleTypes, float maxLength ) : bool
pm this
extendedVehicleType ExtendedVehicleType
unit uint
randomizer Randomizer
buildIndex uint
startPosA PathUnit
startPosB PathUnit
endPosA PathUnit
endPosB PathUnit
laneTypes NetInfo
vehicleTypes VehicleInfo
maxLength float
return bool

CreatePath() public static method

public static CreatePath ( this pm, ExtendedVehicleType extendedVehicleType, 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
pm this
extendedVehicleType ExtendedVehicleType
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
return bool

CreatePath() public static method

public static CreatePath ( this pm, ExtendedVehicleType extendedVehicleType, 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 randomParking ) : bool
pm this
extendedVehicleType ExtendedVehicleType
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
randomParking bool
return bool