Click or drag to resize
CompositeTick Method
Executes the user code of the function, as expressed in Execute()

Namespace: Styx.TreeSharp
Assembly: Styx.TreeSharp (in Styx.TreeSharp.dll) Version: 3.0.1160.0 (3.0.1160)
Syntax
C#
public virtual RunStatus Tick(
	Object context
)

Parameters

context
Type: SystemObject
The context.

Return Value

Type: RunStatus
Status code indicating Success, Failure, or (still) Running.
Exceptions
ExceptionCondition
ApplicationExceptionThrown when an Application error condition occurs.
Remarks
Should not usually be overridden. Once a status of Success or Failure is returned, Tick() will no longer call Execute(). This allows status hysteresis. Note that exceptions are not handled; a Status.Failure is a "clean failure" (recoverable), whereas an exception indicates a "dirty failure" which we probably can't recover from.
See Also