コード例 #1
0
 public void DoThis()
 {
     while (isRunning)
     {
         try
         {
             if (bot == null)
             {
                 bot = new ClasherDynBot();
             }
             Thread.Sleep(5);
         }
         catch (Exception ex)
         {
             throw ex;
         }
     }
 }
コード例 #2
0
ファイル: ClanBotService.cs プロジェクト: tkirit/bot
 public void DoThis()
 {
     while (isRunning)
     {
         try
         {
             if (bot == null)
             {
                 bot = new ClasherDynBot();
             }
             Thread.Sleep(5);
         }
         catch (Exception ex)
         {
             logger.LogWrite(DateTime.Now + " - " + ex.Message + " --- " + ex);
         }
     }
 }