ThrottlePasses Constructor (Int32, TimeSpan, RunStatus, Composite) |
Implements a 'throttle' composite. This composite limits the number of times the child
will be run within a given time span. Returns cappedStatus for attempts after limit reached,
otherwise returns result of child
Namespace:
ff14bot.Behavior
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public ThrottlePasses(
int limit,
TimeSpan timeFrame,
RunStatus limitStatus,
Composite child
)
Parameters
- limit
- Type: SystemInt32
max number of occurrences - timeFrame
- Type: SystemTimeSpan
time span for occurrences - limitStatus
- Type: TreeSharpRunStatus
RunStatus to return when limit reached - child
- Type: TreeSharpComposite
composite children to tick (run)
See Also