Ejemplo n.º 1
0
 public MainSettings()
 {
     _region = LeagueRegion.NA;
     _tracelog = false;
     _debuglog = true;
     _devmode = false;
     _deleteleavebuster = true;
     _moduleresolver = "";
 }
Ejemplo n.º 2
0
 public MainSettings()
 {
     _region            = LeagueRegion.NA;
     _tracelog          = false;
     _debuglog          = true;
     _devmode           = false;
     _deleteleavebuster = true;
     _moduleresolver    = "";
 }
Ejemplo n.º 3
0
        private void RegionList_SelectedIndexChanged(object sender, EventArgs e)
        {
            LeagueRegion region;

            if (!LeagueRegion.TryParse(RegionList.SelectedItem.ToString(), out region))
            {
                StaticLogger.Warning("Unknown enum " + RegionList.SelectedItem);
                return;
            }

            Settings.Region = region;

            var cert = Certificates.FirstOrDefault(kv => kv.Key == Settings.Region).Value;

            if (cert == null)
            {
                cert = Certificates.First().Value;
            }

            Connection.ChangeRemote(cert.Domain, cert.Certificate);
        }
Ejemplo n.º 4
0
		public MainSettings()
		{
			_region = LeagueRegion.NA;
			_moduleresolver = "";
            _includebans = true;
		}
Ejemplo n.º 5
0
 public MainSettings()
 {
     _region         = LeagueRegion.NA;
     _moduleresolver = "";
     _includebans    = true;
 }