예제 #1
0
 public WoWPlatformTests()
 {
     wp = new WoWPlatform();
     BattlenetConnectionOptions bco = new BattlenetConnectionOptions()
     {
         AuthenticationOptions = new BattlenetAuthenticationOptions()
         {
             IsAuthenticated = true,
             PrivateKey = WCPAL.Tests.Constants.PRIVATE_KEY,
             PublicKey = WCPAL.Tests.Constants.PUBLIC_KEY
         },
         IsSecure = false
     };
     authedwp = new WoWPlatform(bco);
 }
예제 #2
0
파일: WoWPlatform.cs 프로젝트: paluch/WCPAL
 /// <summary>
 /// Creates a new WoWPlatform object with a specified set of connection options.
 /// </summary>
 /// <param name="connectionOptions">The connection options to use when accessing the community API.</param>
 public WoWPlatform(BattlenetConnectionOptions connectionOptions)
     : base("wow", connectionOptions)
 {
 }
예제 #3
0
 protected BasePlatform(String url, BattlenetConnectionOptions connectionOptions)
 {
     _controller = url;
     _connectionOptions = connectionOptions;
 }