RoutineManagerSetCapabilityState Method |
Sets the state of the passed in capabilities.
Namespace:
ff14bot.Managers
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public static void SetCapabilityState(
CapabilityFlags capability,
CapabilityState state,
string reason = null
)
Parameters
- capability
- Type: ff14bot.ManagersCapabilityFlags
The capability. Should not have multiple flags set. - state
- Type: ff14bot.ManagersCapabilityState
The new state to set the capability into. - reason (Optional)
- Type: SystemString
The reason.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | Thrown if capability has more than 1 flag set or state is invalid. |
See Also