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

Represents an action that always returns a failure status when executed. Typically used within a behavior tree to intentionally cause a specific path to fail. More...

Inheritance diagram for ff14bot.Behavior.ActionAlwaysFail:

Protected Member Functions

override RunStatus Run (object context)
 Executes the action and always returns a failure status.

Detailed Description

Represents an action that always returns a failure status when executed. Typically used within a behavior tree to intentionally cause a specific path to fail.

This class overrides the Run method to always return RunStatus.Failure, regardless of context or input.

Member Function Documentation

◆ Run()

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

Executes the action and always returns a failure status.

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