public Configuration() { //20 minutes AutomaticUpdateInterval = 20 * 60; //5 seconds ReconnectDelay = 5 * 1000; //Default to SQLite instead of Mono DatabaseProvider = "System.Data.SQLite"; Database = "RiotControl.sqlite"; Index = "Index.html.template"; RankedSeason = 2; MinimiseToTray = true; Web = new WebConfiguration(); Authentication = new AuthenticationProfile(); Proxy = new ProxyProfile(); //Not really necessary Privileges = new List<PrivilegeClass>(); //Not really necessary RegionProfiles = new List<EngineRegionProfile>(); }
public Configuration() { Database = new DatabaseConfiguration(); Authentication = new AuthenticationProfile(); Proxy = new ProxyProfile(); RegionProfiles = new List<EngineRegionProfile>(); }
public Configuration() { Authentication = new AuthenticationProfile(); Proxy = new ProxyProfile(); ServerProfiles = new List<ServerProfile>(); ChampionNames = new SerialisableDictionary<int, string>(); }
public RiotConnect(Configuration configure, string username, string password) { proxy = new ProxyProfile(); //TODO: Make autowatch change based on input AutoWatch = false; config = configure; connectionData = new ConnectionProfile(config.Authentication, config.Region.RegionData, proxy, username, password); logPath = username + ".log"; Connect(); }