public override void OnDeselected() { Debug("BotEvent OnDeselected"); if (LuaEvents.LuaEventsAttached) { LuaEvents.DetachLuaEventHandlers(); } }
public override void Stop() { Debug("BotEvent OnStop"); if (LuaEvents.LuaEventsAttached) { LuaEvents.DetachLuaEventHandlers(); } TreeRoot.Stop(); if (BaseSettings.CurrentSettings.HBRelog_SkipToNextTask) { if (HbRelogApi.IsConnected) { HbRelogApi.SkipCurrentTask(HbRelogApi.CurrentProfileName); } } }