Represents the root controller for bot execution and management within the application. Provides functionality to manage bot lifecycle, including starting, stopping, and monitoring the bot's state and performance.
More...
|
static void | Start () |
| Starts the main bot execution thread, initializing settings, events, and creating the necessary environment for the bot's operation.
|
static async Task | StopGently (string reason="") |
| Stops the bot operation gradually, ensuring a clean shutdown process and waiting for all processing to complete.
|
static void | Stop ([CallerMemberName] string reason="") |
| Sets the mainbot thread to stop executing.
|
|
static byte | TicksPerSecond |
| Specifies the number of ticks per second for the bot's execution loop. This value determines how frequently the bot processes logic and limits the frame rate accordingly.
|
static string | StatusText = "" |
| This gets displayed on bottom of the main bot window.
|
|
static bool | IsRunning [get] |
| Indicates whether the bot execution thread is currently active and running. Returns true if the bot thread is initialized and alive, otherwise false.
|
static BotBase | Current [get] |
| Gets the currently active bot instance being used by the application. Provides access to the bot's root behaviors, pulse flags, and other associated properties.
|
static int | AchievedTickRate [get, set] |
| Represents the actual achieved tick rate of the bot execution, measured in ticks per second. Indicates how many processing cycles were completed within one second.
|
|
static BotEvent | OnStart |
| Event queue for all listeners interested in OnStart events.
|
static BotEvent | OnStop |
| Event queue for all listeners interested in OnStop events.
|
Represents the root controller for bot execution and management within the application. Provides functionality to manage bot lifecycle, including starting, stopping, and monitoring the bot's state and performance.
◆ Start()
void ff14bot.TreeRoot.Start |
( |
| ) |
|
|
static |
Starts the main bot execution thread, initializing settings, events, and creating the necessary environment for the bot's operation.
◆ Stop()
void ff14bot.TreeRoot.Stop |
( |
[CallerMemberName] string | reason = "" | ) |
|
|
static |
Sets the mainbot thread to stop executing.
- Parameters
-
◆ StopGently()
async Task ff14bot.TreeRoot.StopGently |
( |
string | reason = "" | ) |
|
|
static |
Stops the bot operation gradually, ensuring a clean shutdown process and waiting for all processing to complete.
- Parameters
-
reason | The reason for stopping the bot. This message will be logged for diagnostic purposes. |
- Returns
- A task that represents the asynchronous operation of gracefully stopping the bot.
◆ StatusText
string ff14bot.TreeRoot.StatusText = "" |
|
static |
This gets displayed on bottom of the main bot window.
◆ TicksPerSecond
byte ff14bot.TreeRoot.TicksPerSecond |
|
static |
Specifies the number of ticks per second for the bot's execution loop. This value determines how frequently the bot processes logic and limits the frame rate accordingly.
◆ AchievedTickRate
int ff14bot.TreeRoot.AchievedTickRate |
|
staticgetset |
Represents the actual achieved tick rate of the bot execution, measured in ticks per second. Indicates how many processing cycles were completed within one second.
◆ Current
Gets the currently active bot instance being used by the application. Provides access to the bot's root behaviors, pulse flags, and other associated properties.
◆ IsRunning
bool ff14bot.TreeRoot.IsRunning |
|
staticget |
Indicates whether the bot execution thread is currently active and running. Returns true if the bot thread is initialized and alive, otherwise false.
◆ OnStart
Event queue for all listeners interested in OnStart events.
◆ OnStop
Event queue for all listeners interested in OnStop events.