internal LolClientImages(string basePath, LolClientGameData gameData)
 {
     if (basePath == null)
         throw new ArgumentNullException("basePath");
     _clientDir = basePath;
     _gameData = gameData;
 }
示例#2
0
 internal LolClientImages(string basePath, LolClientGameData gameData)
 {
     if (basePath == null)
     {
         throw new ArgumentNullException("basePath");
     }
     _clientDir = basePath;
     _gameData  = gameData;
 }
示例#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;
 }
示例#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;
 }