Exemple #1
0
        private void BotMain_OnStart(IBot bot)
        {
            if (!Service.IsConnected)
            {
                Service.Connect();
                CommunicationThread.ThreadStart();
            }

            SelectBehavior();
            CurrentBehavior.Activate();
        }
Exemple #2
0
        //private void OnProfileLoaded(object sender, EventArgs eventArgs)
        //{
        //    if (!Enabled) return;

        //    SelectBehavior();
        //}

        private void OnHooksCleared(object sender, EventArgs e)
        {
            // Need to activate current behavior to ensure its hooks are added before game is started.
            CurrentBehavior.Activate();
        }