Rebornbuddy
|
Represents an abstract base class for creating combat routines in the bot. More...
Public Member Functions | |
void | Dispose () |
virtual void | Initialize () |
Function that gets called when the routine is started. | |
virtual void | OnButtonPress () |
Called when the gui button is pressed. | |
virtual void | Pulse () |
Called every tick of the bot. | |
virtual void | ShutDown () |
Called when the routine is being switched out. | |
override string | ToString () |
bool | HasCapability (CapabilityFlags capability) |
Determines whether the Combat Routine has the given capability/capabilities. It is assumed that capabilities can be toggled if available. |
Protected Member Functions | |
CapabilityState | GetCapabilityState (CapabilityFlags capability) |
Returns the state of a capability. This can only be used by the combat routine. |
Properties | |
float | PullRange [get] |
Pull range for the routine. | |
string | ButtonText [get] |
Text of the button in the gui. | |
ClassJobType[] | Class [get] |
Which classes the routine supports. | |
virtual Composite | CombatBehavior [get, set] |
Gets the combat behavior composite that handles the main combat rotation. | |
virtual Composite | CombatBuffBehavior [get, set] |
Gets the combat buff behavior composite that handles buff application during combat. | |
virtual Composite | DeathBehavior [get, set] |
Gets the death behavior composite that handles actions when the character dies. | |
virtual Composite | HealBehavior [get, set] |
Gets the heal behavior composite that handles healing actions. | |
virtual Composite | PullBuffBehavior [get, set] |
Gets the pull buff behavior composite that handles buff application during the pull phase. | |
virtual Composite | RestBehavior [get, set] |
Gets the rest behavior composite that handles actions during rest periods. | |
virtual Composite | PreCombatBuffBehavior [get, set] |
Gets the pre-combat buff behavior composite that handles buff application before entering combat. | |
virtual Composite | PullBehavior [get] |
Gets the pull behavior composite that handles pulling enemies into combat. | |
string | Name [get] |
Name of the routine. | |
virtual bool | WantButton [get] |
Does the combat routine support configuration. | |
virtual CapabilityFlags | SupportedCapabilities [get] |
Gets the currently supported capabilities ORed together. This should use the current dynamic state of the capabilities but not the state returned by GetCapabilityState |
Represents an abstract base class for creating combat routines in the bot.
This class provides a framework for defining behaviors and capabilities for combat routines, including combat, healing, pulling, and other related actions. It also supports configuration and initialization of routines.
void ff14bot.AClasses.CombatRoutine.Dispose | ( | ) |
|
protected |
Returns the state of a capability. This can only be used by the combat routine.
capability | The capability. |
bool ff14bot.AClasses.CombatRoutine.HasCapability | ( | CapabilityFlags | capability | ) |
Determines whether the Combat Routine has the given capability/capabilities. It is assumed that capabilities can be toggled if available.
capability | The capability. |
true
if CombatRoutine supports the capability/capabilities. If multiple capabilities are ORed together then true
is returned only if CombatRoutine supports ALL of them; otherwise false
is returned.
|
virtual |
Function that gets called when the routine is started.
Implements ff14bot.Interfaces.ICombatRoutine.
Reimplemented in ff14bot.Managers.InvalidRoutineWrapper.
|
virtual |
Called when the gui button is pressed.
Implements ff14bot.Interfaces.ICombatRoutine.
|
virtual |
Called every tick of the bot.
Implements ff14bot.Interfaces.ICombatRoutine.
|
virtual |
Called when the routine is being switched out.
Implements ff14bot.Interfaces.ICombatRoutine.
override string ff14bot.AClasses.CombatRoutine.ToString | ( | ) |
|
get |
Text of the button in the gui.
Implements ff14bot.Interfaces.ICombatRoutine.
|
getabstract |
Which classes the routine supports.
Implements ff14bot.Interfaces.ICombatRoutine.
|
getset |
Gets the combat behavior composite that handles the main combat rotation.
Implements ff14bot.Interfaces.IBehaviors.
|
getset |
Gets the combat buff behavior composite that handles buff application during combat.
Implements ff14bot.Interfaces.IBehaviors.
|
getset |
Gets the death behavior composite that handles actions when the character dies.
Implements ff14bot.Interfaces.IBehaviors.
|
getset |
Gets the heal behavior composite that handles healing actions.
Implements ff14bot.Interfaces.IBehaviors.
|
getabstract |
Name of the routine.
Implements ff14bot.Interfaces.ICombatRoutine.
|
getset |
Gets the pre-combat buff behavior composite that handles buff application before entering combat.
Implements ff14bot.Interfaces.IBehaviors.
|
get |
Gets the pull behavior composite that handles pulling enemies into combat.
Implements ff14bot.Interfaces.IBehaviors.
|
getset |
Gets the pull buff behavior composite that handles buff application during the pull phase.
Implements ff14bot.Interfaces.IBehaviors.
|
getabstract |
Pull range for the routine.
Implements ff14bot.Interfaces.ICombatRoutine.
|
getset |
Gets the rest behavior composite that handles actions during rest periods.
Implements ff14bot.Interfaces.IBehaviors.
|
get |
Gets the currently supported capabilities ORed together. This should use the current dynamic state of the capabilities but not the state returned by GetCapabilityState
// Example of how to indicate that the Combat Routine supports all capabilities except summoning pet.
|
get |
Does the combat routine support configuration.
Implements ff14bot.Interfaces.ICombatRoutine.