Click or drag to resize

ThrottlePasses Class

Implements a 'throttle' composite. This composite limits the number of times the child will be run within a given time span. Returns cappedStatus if limit reached, otherwise Returns result of child
Inheritance Hierarchy

Namespace:  ff14bot.Behavior
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public class ThrottlePasses : Decorator

The ThrottlePasses type exposes the following members.

Constructors
  NameDescription
Public methodThrottlePasses(Int32, Composite)
Implements a 'throttle' composite. This composite limits the number of times the child will be run within a given time span. Returns Failure if limit reached, otherwise Returns result of child
Public methodThrottlePasses(TimeSpan, Composite)
Implements a 'throttle' composite. This composite limits the number of times the child to running once within a given time span. Returns Failure if attempted to run after limit reached in timeframe, otherwise returns result of child
Public methodThrottlePasses(Int32, Int32, Composite)
Implements a 'throttle' composite. This composite limits the number of times the child will be run within a given time span. Returns Failure for attempts after limit reached, otherwise returns result of child
Public methodThrottlePasses(Int32, TimeSpan, Composite)
Implements a 'throttle' composite. This composite limits the number of times the child will be run within a given time span. Returns Failure for attempts after limit reached, otherwise returns result of child
Public methodThrottlePasses(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
Top
Properties
  NameDescription
Public propertyChildren (Inherited from GroupComposite.)
Protected propertyCleanupHandlers (Inherited from Composite.)
Protected propertyContextChanger (Inherited from Composite.)
Public propertyDecoratedChild (Inherited from Decorator.)
Public propertyGuid (Inherited from Composite.)
Public propertyIsRunning (Inherited from Composite.)
Public propertyLastStatus (Inherited from Composite.)
Public propertyLimit
maximum number of child Successes that can occur within TimeFrame
Public propertyParent (Inherited from Composite.)
Protected propertyRunner (Inherited from Decorator.)
Public propertySelection (Inherited from GroupComposite.)
Public propertyTimeFrame
time span that Limit child Successes can occur
Top
Methods
  NameDescription
Public methodAddChild (Inherited from GroupComposite.)
Protected methodCanRun (Inherited from Decorator.)
Protected methodCleanup (Inherited from Composite.)
Public methodEquals(Object) (Inherited from Composite.)
Public methodEquals(Composite) (Inherited from Composite.)
Protected methodExecute (Overrides DecoratorExecute(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Inherited from Composite.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertChild (Inherited from GroupComposite.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStart (Overrides DecoratorStart(Object).)
Public methodStop (Overrides CompositeStop(Object).)
Public methodTick (Inherited from Composite.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodExecuteCoroutine
Executes the composite inside a coroutine.
(Defined by CommonTasks.)
Top
Remarks
Created 10/28/2012.
See Also