Example #1
0
        public void Start()
        {
            if (_needRestart)
            {
                MessageBox.Show(
                    $"{Name} self-install ran successfully and requires a bot restart, bot won't start until it's done",
                    $"{Name} installed successfully!", MessageBoxButtons.OK, MessageBoxIcon.Information);
                BotManager.Stop(true);
            }

            AreaStateCache.Start();

            Log.DebugFormat("[{0}] Starting", Name);
        }
Example #2
0
 public void Stop()
 {
     Log.DebugFormat("[{0}] Stopped", Name);
     Data.ItemsInStashAlreadyCached = false;
     AreaStateCache.Stop();
 }
Example #3
0
 public void Tick()
 {
     AreaStateCache.Tick();
 }