Click or drag to resize

AvoidanceManagerAddAvoidLocationT Method (FuncBoolean, FuncVector3, Single, FuncT, Single, FuncT, Vector3, FuncIEnumerableT, FuncT, Boolean, Boolean)

Run away from location.

Namespace:  ff14bot.Managers
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static AvoidInfo AddAvoidLocation<T>(
	Func<bool> canRun,
	Func<Vector3> leashPointProducer,
	float leashRadius,
	Func<T, float> radiusProducer,
	Func<T, Vector3> locationProducer,
	Func<IEnumerable<T>> collectionProducer,
	Func<T, bool> objectValidator = null,
	bool ignoreIfBlocking = false
)

Parameters

canRun
Type: SystemFuncBoolean
The condition.
leashPointProducer
Type: SystemFuncVector3
The leash point selector.
leashRadius
Type: SystemSingle
The leash radius.
radiusProducer
Type: SystemFuncT, Single
The max distance to run.
locationProducer
Type: SystemFuncT, Vector3
The location selector.
collectionProducer
Type: SystemFuncIEnumerableT
Optional collection of objects that are passed as args to locationProducer
objectValidator (Optional)
Type: SystemFuncT, Boolean
ignoreIfBlocking (Optional)
Type: SystemBoolean
If set to true the object will be ignored if no path can be generated around it (default: false)

Type Parameters

T

Return Value

Type: AvoidInfo
See Also