AvoidanceManagerAddAvoidUnitConeT Method |
Avoids cone-shaped area effects on a [!:WoWUnit]
Namespace:
ff14bot.Managers
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public static AvoidInfo AddAvoidUnitCone<T>(
Func<bool> canRun,
Predicate<T> objectSelector,
Func<Vector3> leashPointProducer,
float leashRadius,
float rotationDegrees,
float radius,
float arcDegrees,
Func<T, Vector3> locationProducer = null,
bool ignoreIfBlocking = false,
AvoidancePriority priority = AvoidancePriority.Medium
)
where T : GameObject
Parameters
- canRun
- Type: SystemFuncBoolean
- objectSelector
- Type: SystemPredicateT
Selects the [!:WoWUnit] - leashPointProducer
- Type: SystemFuncVector3
- leashRadius
- Type: SystemSingle
- rotationDegrees
- Type: SystemSingle
Rotation in degrees that's relative to the [!:WoWUnit]'s rotaton - radius
- Type: SystemSingle
the radius of the cone - arcDegrees
- Type: SystemSingle
the arc of the cone in degrees - locationProducer (Optional)
- Type: SystemFuncT, Vector3
Selects the location to avoid. This is the apex of the cone - ignoreIfBlocking (Optional)
- Type: SystemBoolean
- priority (Optional)
- Type: ff14bot.Pathing.AvoidanceAvoidancePriority
Type Parameters
- T
Return Value
Type:
AvoidInfoSee Also