Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public void Stop()
 {
     Log.DebugFormat("[{0}] Stopped", Name);
     Data.ItemsInStashAlreadyCached = false;
     AreaStateCache.Stop();
 }
Ejemplo n.º 3
0
 public void Tick()
 {
     AreaStateCache.Tick();
 }