Rebornbuddy
Loading...
Searching...
No Matches
ff14bot.Managers.BotManager Class Reference

Static Public Member Functions

static void Add (string name, BotBase derievesFromBotBase)
 Adds a bot to the bot collection.
static void Add (BotBase derievesFromBotBase)
 Adds a bot to the bot collection.
static bool Remove (string name)
 Removes a bot from the collection.
static bool Remove (BotBase botbase)
static void SetCurrent (BotBase bot)

Properties

static AsyncObservableCollection< BotBaseBots [get]
 List of all loaded botbases.
static BotBase Current [get]
 Current BotBase.
static string BotBaseDirectory [get]

Events

static EventHandler Reloaded

Member Function Documentation

◆ Add() [1/2]

void ff14bot.Managers.BotManager.Add ( BotBase derievesFromBotBase)
static

Adds a bot to the bot collection.

Parameters
derievesFromBotBaseobject that derieves from BotBase.

◆ Add() [2/2]

void ff14bot.Managers.BotManager.Add ( string name,
BotBase derievesFromBotBase )
static

Adds a bot to the bot collection.

Parameters
namename of the bot.
derievesFromBotBaseobject that derieves from BotBase.

◆ Remove() [1/2]

bool ff14bot.Managers.BotManager.Remove ( BotBase botbase)
static

◆ Remove() [2/2]

bool ff14bot.Managers.BotManager.Remove ( string name)
static

Removes a bot from the collection.

Parameters
namename of the bot.
Returns
true if it succeeds, false if it fails.

◆ SetCurrent()

void ff14bot.Managers.BotManager.SetCurrent ( BotBase bot)
static

Property Documentation

◆ BotBaseDirectory

string ff14bot.Managers.BotManager.BotBaseDirectory
staticget

◆ Bots

AsyncObservableCollection<BotBase> ff14bot.Managers.BotManager.Bots
staticget

List of all loaded botbases.

◆ Current

BotBase ff14bot.Managers.BotManager.Current
staticget

Current BotBase.

Event Documentation

◆ Reloaded

EventHandler ff14bot.Managers.BotManager.Reloaded
static