Rebornbuddy
Loading...
Searching...
No Matches
ff14bot.Behavior.ActionAlwaysSucceed Class Reference

Represents an Action that always returns a success status when executed. This ensures that any subsequent operations in a behavior tree are not interrupted, regardless of the context or condition. More...

Inheritance diagram for ff14bot.Behavior.ActionAlwaysSucceed:

Protected Member Functions

override RunStatus Run (object context)
 Executes the action and returns a RunStatus indicating the outcome of the execution.

Detailed Description

Represents an Action that always returns a success status when executed. This ensures that any subsequent operations in a behavior tree are not interrupted, regardless of the context or condition.

Typically used as a fallback mechanism to prevent behavior interruptions or to always allow progression in the execution flow.

Member Function Documentation

◆ Run()

override RunStatus ff14bot.Behavior.ActionAlwaysSucceed.Run ( object context)
protected

Executes the action and returns a RunStatus indicating the outcome of the execution.

Parameters
contextThe context in which the action is being executed.
Returns
A RunStatus value indicating the result of the action execution. Always returns RunStatus.Success.