Rebornbuddy
Loading...
Searching...
No Matches
ff14bot.Pathing.Avoidance.AvoidInfo Class Referenceabstract
Inheritance diagram for ff14bot.Pathing.Avoidance.AvoidInfo:
ff14bot.Pathing.Avoidance.AvoidInfo< T > ff14bot.Pathing.Avoidance.AvoidCircleInfo< T > ff14bot.Pathing.Avoidance.AvoidPolygonInfo< T > ff14bot.Pathing.Avoidance.AvoidLocationInfo ff14bot.Pathing.Avoidance.AvoidLocationInfo< T > ff14bot.Pathing.Avoidance.AvoidObjectInfo ff14bot.Pathing.Avoidance.AvoidObjectInfo< T >

Protected Member Functions

 AvoidInfo (Func< bool > condition, Func< object, Vector3 > locationProducer, Func< IEnumerable< object > > collectionProducer, Func< Vector3 > leashPointProducer, float leashRadius=40, bool ignoreIfBlocking=false, Func< object, bool > objectValidator=null, AvoidancePriority priority=AvoidancePriority.Medium)
 Initializes a new instance of the AvoidInfo class.

Properties

Func< bool > Condition [get]
 Gets the condition.
Func< object, Vector3 > LocationProducer [get]
Func< Vector3 > LeashPointProducer [get]
 Gets the leash point selector.
float LeashRadius [get]
 Gets the leash radius.
bool IgnoreIfBlocking [get]
 Gets a value indicating whether to ignore avoid if no avoid path is found.
Func< object, bool > ObjectValidator [get]
List< object > Collection [get]
AvoidancePriority Priority [get]
bool CanRun [get]
 Determines whether this instance can run.

Constructor & Destructor Documentation

◆ AvoidInfo()

ff14bot.Pathing.Avoidance.AvoidInfo.AvoidInfo ( Func< bool > condition,
Func< object, Vector3 > locationProducer,
Func< IEnumerable< object > > collectionProducer,
Func< Vector3 > leashPointProducer,
float leashRadius = 40,
bool ignoreIfBlocking = false,
Func< object, bool > objectValidator = null,
AvoidancePriority priority = AvoidancePriority::Medium )
protected

Initializes a new instance of the AvoidInfo class.

Parameters
conditionThe condition.
leashPointProducerThe leash point selector.
leashRadiusThe leash radius.
ignoreIfBlockingif set to true stay away if no avoid path is found.
priorityThe priority.

Property Documentation

◆ CanRun

bool ff14bot.Pathing.Avoidance.AvoidInfo.CanRun
get

Determines whether this instance can run.

Returns
true if this instance can run; otherwise, false.

◆ Collection

List<object> ff14bot.Pathing.Avoidance.AvoidInfo.Collection
get

◆ Condition

Func<bool> ff14bot.Pathing.Avoidance.AvoidInfo.Condition
get

Gets the condition.

◆ IgnoreIfBlocking

bool ff14bot.Pathing.Avoidance.AvoidInfo.IgnoreIfBlocking
get

Gets a value indicating whether to ignore avoid if no avoid path is found.

true if should not ignore avoid if no avoid path is found, false otherwisr.

◆ LeashPointProducer

Func<Vector3> ff14bot.Pathing.Avoidance.AvoidInfo.LeashPointProducer
get

Gets the leash point selector.

◆ LeashRadius

float ff14bot.Pathing.Avoidance.AvoidInfo.LeashRadius
get

Gets the leash radius.

◆ LocationProducer

Func<object, Vector3> ff14bot.Pathing.Avoidance.AvoidInfo.LocationProducer
get

◆ ObjectValidator

Func<object, bool> ff14bot.Pathing.Avoidance.AvoidInfo.ObjectValidator
get

◆ Priority

AvoidancePriority ff14bot.Pathing.Avoidance.AvoidInfo.Priority
get