示例#1
0
 public DefensiveConfiguration(DefensiveConfiguration copy)
 {
     MinimumArmorPct              = copy.MinimumArmorPct;
     MinimumCapPct                = copy.MinimumCapPct;
     MinimumNumDrones             = copy.MinimumNumDrones;
     MinimumShieldPct             = copy.MinimumShieldPct;
     PreferStationsOverSafespots  = copy.PreferStationsOverSafespots;
     QuitIfScrammedAndLocalUnsafe = copy.QuitIfScrammedAndLocalUnsafe;
     RearmAtBookmarks             = copy.RearmAtBookmarks;
     ResumeCapPct             = copy.ResumeCapPct;
     ResumeShieldPct          = copy.ResumeShieldPct;
     RunIfTargetJammed        = copy.RunIfTargetJammed;
     RunOnAllianceToAlliance  = copy.RunOnAllianceToAlliance;
     RunOnBlacklistedPilot    = copy.RunOnBlacklistedPilot;
     RunOnCorpToAlliance      = copy.RunOnCorpToAlliance;
     RunOnCorpToCorp          = copy.RunOnCorpToCorp;
     RunOnCorpToPilot         = copy.RunOnCorpToPilot;
     RunOnLowAmmo             = copy.RunOnLowAmmo;
     RunOnLowCap              = copy.RunOnLowCap;
     RunOnLowDrones           = copy.RunOnLowDrones;
     RunOnLowTank             = copy.RunOnLowTank;
     RunOnMeToCorp            = copy.RunOnMeToCorp;
     RunOnMeToPilot           = copy.RunOnMeToPilot;
     RunOnNonWhitelistedPilot = copy.RunOnNonWhitelistedPilot;
     DisableStandingsChecks   = copy.DisableStandingsChecks;
     WaitAfterFleeing         = copy.WaitAfterFleeing;
     MinutesToWait            = copy.MinutesToWait;
 }
示例#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);
        }