Exemplo n.º 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);
 }
Exemplo n.º 2
0
 /// <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)
 {
 }
Exemplo n.º 3
0
 protected BasePlatform(String url, BattlenetConnectionOptions connectionOptions)
 {
     _controller = url;
     _connectionOptions = connectionOptions;
 }