Click or drag to resize

CapabilityManagerUpdate Method (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.

Namespace:  ff14bot.Managers
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static void Update(
	CapabilityManagerHandle handle,
	CapabilityFlags capability,
	Func<bool> condition,
	string reason = null
)

Parameters

handle
Type: ff14bot.ManagersCapabilityManagerHandle
The handle.
capability
Type: ff14bot.ManagersCapabilityFlags
The capability.
condition
Type: SystemFuncBoolean
The condition.
reason (Optional)
Type: SystemString
The reason.

Return Value

Type: 
A handle that can be used to update the entry
Exceptions
ExceptionCondition
ArgumentNullExceptioncondition
See Also