internal LolClientImages(string basePath, LolClientGameData gameData)
 {
     if (basePath == null)
         throw new ArgumentNullException("basePath");
     _clientDir = basePath;
     _gameData = gameData;
 }
Esempio n. 2
0
 internal LolClientImages(string basePath, LolClientGameData gameData)
 {
     if (basePath == null)
     {
         throw new ArgumentNullException("basePath");
     }
     _clientDir = basePath;
     _gameData  = gameData;
 }
Esempio n. 3
0
 internal LolClient(string directory, PropertiesFile properties, LolProxy proxy)
 {
     if (proxy == null)
         throw new ArgumentNullException("proxy");
     if(!Directory.Exists(directory))
         throw new ArgumentException("directory");
     GameData = new LolClientGameData(Path.Combine(directory, GameDataFile));
     Images = new LolClientImages(directory, GameData);
     Connection=new LolConnection(proxy);
     Properties = properties;
 }
Esempio n. 4
0
 internal LolClient(string directory, PropertiesFile properties, LolProxy proxy)
 {
     if (proxy == null)
     {
         throw new ArgumentNullException("proxy");
     }
     if (!Directory.Exists(directory))
     {
         throw new ArgumentException("directory");
     }
     GameData   = new LolClientGameData(Path.Combine(directory, GameDataFile));
     Images     = new LolClientImages(directory, GameData);
     Connection = new LolConnection(proxy);
     Properties = properties;
 }