CapabilityManagerAdd Method (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.
Namespace: ff14bot.Managers
public static CapabilityManagerHandle Add( 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. |