BattleNet.AlphaBot.BotThreadFunction C# (CSharp) Method

BotThreadFunction() public method

public BotThreadFunction ( ) : void
return void
        public override void BotThreadFunction()
        {
            Int32 startTime = Time();
            if (ClientlessBot.debugging)
                Console.WriteLine("{0}: [D2GS] Bot is in town.", Account);

            Thread.Sleep(500);

            StashItems();

            MoveToAct5();

            if (BotGameData.WeaponSet != 0)
                WeaponSwap();

            DoPindle();

            FailedGame = false;
            LeaveGame();
            Int32 endTime = Time() - startTime;
            Console.WriteLine("{0}: [BOT] Run took {1} seconds.", Account, endTime);
        }