CapabilityManagerUpdate Method (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.
Namespace: ff14bot.Managers
public static void Update( CapabilityManagerHandle handle, CapabilityFlags capability, int timeSpanMs, string reason = null )
Exception | Condition |
---|---|
OverflowException | timeSpanMs is less than MinValue or greater than MaxValue.-or-timeSpanMs is PositiveInfinity.-or-timeSpanMs is NegativeInfinity. |