Throttle Constructor (Int32, TimeSpan, Composite) |
Creates a 'throttle' composite. This composite limits the number of times the child
returns RunStatus.Success within a given time span. Returns Failure if 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 Throttle(
int Limit,
TimeSpan timeFrame,
Composite child
)
Parameters
- Limit
- Type: SystemInt32
max number of occurrences - timeFrame
- Type: SystemTimeSpan
time span for occurrences - child
- Type: TreeSharpComposite
composite children to tick (run)
See Also