Esempio n. 1
0
 public CheckerStartedRequest() : base(CheckerOpcode.Started)
 {
     _progress = new CheckerProgress()
     {
         Total = Server.Bots.Count
     };
 }
Esempio n. 2
0
        public Checker()
        {
            Progress = new CheckerProgress
            {
                Total = Server.Bots.Count
            };

            int i = 1;

            while (true)
            {
                _checkDir = "Checker-results " + i;

                if (!Directory.Exists(_checkDir))
                {
                    Directory.CreateDirectory(_checkDir);

                    break;
                }
                else
                {
                    i++;
                }
            }
        }
Esempio n. 3
0
 public BotCheckedRequest(RaidBotClient client) : base(CheckerOpcode.BotChecked)
 {
     Bot      = BasicBotInfo.FromClient(client);
     Progress = new CheckerProgress();
 }
Esempio n. 4
0
 public CheckerResumeRequest(CheckerProgress progress) : base(CheckerOpcode.Resume)
 {
     Progress = progress;
 }