Example #1
0
 /// <summary>
 /// Copy the values of a SocialConfiguration to another SocialConfiguration
 /// </summary>
 /// <param name="copy"></param>
 public SocialConfiguration(SocialConfiguration copy)
 {
     AllianceBlacklist       = new List <string>(copy.AllianceBlacklist);
     AllianceWhitelist       = new List <string>(copy.AllianceWhitelist);
     CorpBlacklist           = new List <string>(copy.CorpBlacklist);
     CorpWhitelist           = new List <string>(copy.CorpWhitelist);
     MinimumAllianceStanding = copy.MinimumAllianceStanding;
     MinimumCorpStanding     = copy.MinimumCorpStanding;
     MinimumPilotStanding    = copy.MinimumPilotStanding;
     PilotBlacklist          = new List <string>(copy.PilotBlacklist);
     PilotWhitelist          = new List <string>(copy.PilotWhitelist);
 }
Example #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);
        }