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); }
/// <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) { }
protected BasePlatform(String url, BattlenetConnectionOptions connectionOptions) { _controller = url; _connectionOptions = connectionOptions; }