Click or drag to resize

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
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static CapabilityManagerHandle Add(
	CapabilityFlags capability,
	int timeSpanMs,
	string reason = null
)

Parameters

capability
Type: ff14bot.ManagersCapabilityFlags
The capability.
timeSpanMs
Type: SystemInt32
The timeSpanMs.
reason (Optional)
Type: SystemString
The reason.

Return Value

Type: CapabilityManagerHandle
A handle that can be used to update the entry
Exceptions
ExceptionCondition
OverflowExceptiontimeSpanMs is less than MinValue or greater than MaxValue.-or-timeSpanMs is PositiveInfinity.-or-timeSpanMs is NegativeInfinity.
See Also