예제 #1
0
 void Activate(EnginesProfile p)
 {
     Active.Active    = false;
     Active.Changed   = false;
     Active           = p;
     Active.Activated = true;
     Active.Changed   = true;
     Active.Active    = true;
 }
 public EnginesProfile(EnginesProfile p)
 {
     Name     = p.Name + " (Copy)";
     OnPlanet = p.OnPlanet;
     foreach (var c in p.Groups.DB)
     {
         Groups[c.Key] = new EngineConfig(c.Value);
     }
     foreach (var c in p.Single.DB)
     {
         Single[c.Key] = new EngineConfig(c.Value);
     }
     NumManual = p.NumManual;
     Level     = p.Level;
 }
예제 #3
0
 void SetDefault(EnginesProfile p)
 {
     Default.Default = false;
     Default         = p;
     Default.Default = true;
 }