Beispiel #1
0
 public MainConfiguration(MainConfiguration copy)
 {
     UseRandomWaits         = copy.UseRandomWaits;
     UseRelaunching         = copy.UseRelaunching;
     CharacterSetToRelaunch = copy.CharacterSetToRelaunch;
     RelaunchAfterDowntime  = copy.RelaunchAfterDowntime;
     Disable3DRender        = copy.Disable3DRender;
     DisableUIRender        = copy.DisableUIRender;
     PulseSpeed             = copy.PulseSpeed;
     UseMaxRuntime          = copy.UseMaxRuntime;
     MaxRuntime             = copy.MaxRuntime;
     UseResumeAfter         = copy.UseResumeAfter;
     ResumeAfter            = copy.ResumeAfter;
     EnableUiIpc            = copy.EnableUiIpc;
 }
Beispiel #2
0
        //Copy constructor
        /// <summary>
        /// Todo - finish this
        /// </summary>
        /// <param name="copy"></param>
        public Configuration(Configuration copy)
        {
            LastBotMode = copy.LastBotMode;
            HomeStation = copy.HomeStation;

            DefenseConfig  = new DefensiveConfiguration(copy.DefenseConfig);
            FleetConfig    = new FleetConfiguration(copy.FleetConfig);
            HaulingConfig  = new HaulingConfiguration(copy.HaulingConfig);
            MainConfig     = new MainConfiguration(copy.MainConfig);
            MiningConfig   = new MiningConfiguration(copy.MiningConfig);
            MissionConfig  = new MissionConfiguration(copy.MissionConfig);
            MovementConfig = new MovementConfiguration(copy.MovementConfig);
            SocialConfig   = new SocialConfiguration(copy.SocialConfig);
            FreightConfig  = new FreightingConfiguration(copy.FreightConfig);
            AlertConfig    = new AlertConfiguration(copy.AlertConfig);
        }