Click or drag to resize

CapabilityManager Class

This manager allows multiple sources to disallow a CombatRoutine capability for specific time or until a condition evaluates

to false and once no sources are disallowing a capability, that capability is then allowed

Inheritance Hierarchy
SystemObject
  ff14bot.ManagersCapabilityManager

Namespace:  ff14bot.Managers
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static class CapabilityManager

The CapabilityManager type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd(CapabilityFlags, FuncBoolean, String)

Adds a new entry that disallows capability until

condition evaluates to false, at which

point the entry is removed and capability is allowed if

no other entries for capability are maintained.

Public methodStatic memberAdd(CapabilityFlags, Int32, String)

Adds a new entry that disallows capability for

timeSpanMs duration in milliseconds, at which point the entry is removed and

capability is allowed if no other entries for capability are maintained.

Public methodStatic memberAdd(CapabilityFlags, TimeSpan, String)

Adds a new entry that disallows capability for

timeSpan duration, at which

point the entry is removed and capability is allowed if

no other entries for capability are maintained.

Public methodStatic memberClear(CapabilityFlags, String)
Clears all the entries that matches any of capabilities.
Public methodStatic memberClear(CapabilityManagerHandle, CapabilityFlags, String)

Clears all the entries that matches any of capabilities

and are associated with handle or all matching entries if handle is null.

Public methodStatic memberCreateNewHandle
Creates a new handle that can be used to add or update an entry
Public methodStatic memberPulse
Public methodStatic memberUpdate(CapabilityManagerHandle, CapabilityFlags, FuncBoolean, String)

Updates an entry (or adds a new one if entry is not present) to disallow

capability until condition evaluates

to false, at which point the entry is removed and capability

is allowed if no other entries for capability are maintained.

Public methodStatic memberUpdate(CapabilityManagerHandle, CapabilityFlags, Int32, String)

Updates an entry (or adds a new one if entry is not present) to disallow capability for

timeSpanMs duration in milliseconds. The entry is removed upon expiration and

capability is allowed if no other entries for capability are maintained.

Public methodStatic memberUpdate(CapabilityManagerHandle, CapabilityFlags, TimeSpan, String)

Updates an entry (or adds a new one if entry is not present) to disallow capability for

timeSpan duration. The entry is removed upon expiration

and capability is allowed if

no other entries for capability are maintained.

Top
See Also