Exemplo n.º 1
0
 public CheckerStartedRequest() : base(CheckerOpcode.Started)
 {
     _progress = new CheckerProgress()
     {
         Total = Server.Bots.Count
     };
 }
Exemplo 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++;
                }
            }
        }
Exemplo n.º 3
0
 public BotCheckedRequest(RaidBotClient client) : base(CheckerOpcode.BotChecked)
 {
     Bot      = BasicBotInfo.FromClient(client);
     Progress = new CheckerProgress();
 }
Exemplo n.º 4
0
 public CheckerResumeRequest(CheckerProgress progress) : base(CheckerOpcode.Resume)
 {
     Progress = progress;
 }