Karathan 5 anni fa
parent
commit
df33ebf55e
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0
    2
      BlizzSharpClient.cs

+ 0
- 2
BlizzSharpClient.cs Vedi File

14
         private readonly Dictionary<long, Item> _itemLookup;
14
         private readonly Dictionary<long, Item> _itemLookup;
15
         private string _key;
15
         private string _key;
16
         private HttpClient _http;
16
         private HttpClient _http;
17
-        private JsonSerializer _serializer;
18
         private long _latestTimeStamp;
17
         private long _latestTimeStamp;
19
         public AuctionResponse CurrentAuctionResponse {get;set;}
18
         public AuctionResponse CurrentAuctionResponse {get;set;}
20
         public AuctionResponse PreviousAuctionResponse {get;set;}
19
         public AuctionResponse PreviousAuctionResponse {get;set;}
22
         public BlizzSharpClient(string key)
21
         public BlizzSharpClient(string key)
23
         {
22
         {
24
             _itemLookup = new Dictionary<long, Item>();
23
             _itemLookup = new Dictionary<long, Item>();
25
-            _serializer = new JsonSerializer();
26
             _http = new HttpClient();
24
             _http = new HttpClient();
27
             _http.BaseAddress = new Uri("https://eu.api.battle.net/wow/");
25
             _http.BaseAddress = new Uri("https://eu.api.battle.net/wow/");
28
             _http.DefaultRequestHeaders.Accept.Clear();
26
             _http.DefaultRequestHeaders.Accept.Clear();