public DSdyn_filteroptions()
 {
     foreach (var ent in DSdata.s_gamemodes)
     {
         Gamemodes.Add(ent, false);
     }
     Gamemodes["GameModeCommanders"]       = true;
     Gamemodes["GameModeCommandersHeroic"] = true;
 }
Exemple #2
0
        public DSoptions()
        {
            foreach (var ent in DSdata.s_gamemodes)
            {
                Gamemodes.Add(ent, false);
            }
            Gamemodes["GameModeCommanders"]       = true;
            Gamemodes["GameModeCommandersHeroic"] = true;

            foreach (var ent in DSdata.Config.Players)
            {
                this.Players[ent] = true;
            }

            foreach (var ent in DSdata.s_races)
            {
                this.CmdrsChecked[ent] = false;
            }

            ID   = Interlocked.Increment(ref DSdata.OptID);
            Hash = GenHash();
        }