コード例 #1
0
ファイル: WoWPlatformTests.cs プロジェクト: daegren/WCPAL
 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
ファイル: BasePlatform.cs プロジェクト: daegren/WCPAL
 protected BasePlatform(String url, BattlenetConnectionOptions connectionOptions)
 {
     _controller = url;
     _connectionOptions = connectionOptions;
 }