/// <summary> /// Begins the Bot process (trigger). /// </summary> public void Start() { if (!this._targetsSet) { this.DefaultTargets(); } if (!this._locationsSet) { this.DefaultLocations(); } LogProxy.Info("Bot has been triggered to start"); this.StartCallback(); this._active = true; this._brain.Start(this._character.GetCurrentLocation()); IAction action = this._brain.GetNextAction(); LogProxy.Trace($"{action.ToString()}"); }
/// <summary> /// Run at the end of the process, optional override /// </summary> protected virtual void FinishCallback() { LogProxy.Trace("Bot.FinishCallback called with no override"); }
/// <summary> /// Run at the end of the process, optional override /// </summary> protected virtual void InterruptedCallback() { LogProxy.Trace("Bot.InterruptedCallback called with no override"); }
/// <summary> /// Run at the start of the process, optional override /// </summary> protected virtual void StartCallback() { LogProxy.Trace("Bot.StartCallback called with no override"); }