Rebornbuddy
|
Public Member Functions | |
AvoidPolygonInfo (Func< bool > condition, Func< T, Vector3 > locationProducer, Func< T, float > rotationProducer, Func< T, float > scaleProducer, Func< T, float > heightProducer, Func< T, Vector2[]> pointsProducer, Func< IEnumerable< T > > collectionProducer, Func< Vector3 > leashPointProducer, float leashRadius=40, bool ignoreIfBlocking=false, Func< T, bool > objectValidator=null, AvoidancePriority priority=AvoidancePriority.Medium) | |
Initializes a new instance of the AvoidPolygonInfo<T> class. |
Properties | |
Func< T, float > | HeightProducer [get, protected set] |
Func< T, float > | RotationProducer [get] |
Func< T, float > | ScaleProducer [get] |
Func< T, Vector2[]> | PointsProducer [get] |
Properties inherited from ff14bot.Pathing.Avoidance.AvoidInfo< T > | |
new Func< bool > | Condition [get] |
Gets the condition. | |
new Func< T, Vector3 > | LocationProducer [get] |
new Func< Vector3 > | LeashPointProducer [get] |
Gets the leash point selector. | |
new Func< T, bool > | ObjectValidator [get] |
Func< IEnumerable< T > > | CollectionProducer [get] |
Properties inherited from ff14bot.Pathing.Avoidance.AvoidInfo | |
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. |
Additional Inherited Members | |
Protected Member Functions inherited from ff14bot.Pathing.Avoidance.AvoidInfo< T > | |
AvoidInfo (Func< bool > condition, Func< T, Vector3 > locationProducer, Func< IEnumerable< T > > collectionProducer, Func< Vector3 > leashPointProducer, float leashRadius=40, bool ignoreIfBlocking=false, Func< T, bool > objectValidator=null, AvoidancePriority priority=AvoidancePriority.Medium) | |
Initializes a new instance of the AvoidInfo class. | |
Protected Member Functions inherited from 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) | |
Initializes a new instance of the AvoidInfo class. |
ff14bot.Pathing.Avoidance.AvoidPolygonInfo< T >.AvoidPolygonInfo | ( | Func< bool > | condition, |
Func< T, Vector3 > | locationProducer, | ||
Func< T, float > | rotationProducer, | ||
Func< T, float > | scaleProducer, | ||
Func< T, float > | heightProducer, | ||
Func< T, Vector2[]> | pointsProducer, | ||
Func< IEnumerable< T > > | collectionProducer, | ||
Func< Vector3 > | leashPointProducer, | ||
float | leashRadius = 40, | ||
bool | ignoreIfBlocking = false, | ||
Func< T, bool > | objectValidator = null, | ||
AvoidancePriority | priority = AvoidancePriority::Medium ) |
Initializes a new instance of the AvoidPolygonInfo<T> class.
condition | The condition. |
locationProducer | Produces the location. Polygon is rotated and scaled around produced location on the xy plane. |
rotationProducer | Produces the polygon's rotation in radians. |
scaleProducer | Produces the polygon's scale |
heightProducer | Produces the height of the polygon. Half of the produced height extends above location produced by locationProducer and the other half below |
pointsProducer | Produces the points that form the polygon |
collectionProducer | Produces a collection of objects that should be avoided. |
leashPointProducer | The leash point producer. Can be null. Used in conjunction with leashRadius |
leashRadius | The leash radius. If leashPointProducer is not null, bot will not navigate furthar than this distance from point returned from leashPointProducer while running out of avoid |
ignoreIfBlocking | Ignore avoid if set to true and it can't be navigated around. |
objectValidator | Indecates whether objects produced by collectionProducer are valid |
priority | The priority. |
|
getprotected set |
|
get |
|
get |
|
get |