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
public static void Update( CapabilityManagerHandle handle, CapabilityFlags capability, Func<bool> condition, string reason = null )
Exception | Condition |
---|---|
ArgumentNullException | condition |