Пример #1
0
        public string GenHash()
        {
            string opthash = "";

            opthash += Mode;
            opthash += Build;
            opthash += Duration;
            opthash += Leaver + Army + Kills + Income;
            opthash += Startdate.ToString("yyyyMMdd");
            opthash += Enddate.ToString("yyyyMMdd");
            opthash += Interest;
            opthash += Vs;
            opthash += Player;
            opthash += String.Join("", Dataset.OrderBy(o => o));
            opthash += String.Join("", Gamemodes.Where(x => x.Value == true).OrderBy(o => o.Key).Select(s => s.Key));
            opthash += String.Join("", Players.Where(x => x.Value == true).OrderBy(o => o.Key).Select(s => s.Key));
            opthash += Breakpoint;
            opthash += MengskPreviewFilter;
            Hash     = opthash;
            return(opthash);
        }
Пример #2
0
 public List <string> GetGamemodes()
 {
     return(Gamemodes.Where(x => x.Value == true).Select(s => s.Key).ToList());
 }