ezet / evelib

Eve Online Library.NET is an open source C# wrapper for CCPs Eve Online API and other popular Eve Online APIs.
Apache License 2.0
71 stars 36 forks source link

Made MarketOrder.Id long #48

Closed byte3 closed 9 years ago

byte3 commented 9 years ago

int is too small. Requesting "https://crest-tq.eveonline.com/market/10000002/orders/buy/?type=https://crest-tq.eveonline.com/types/587/" will give you this exception:

{"JSON integer 4151057587 is too large or small for an Int32. Path 'items[0].id', line 1, position 664."}

Json:

{ totalCount_str: 28, items: [{ volume_str: 28, buy: true, issued: 2015-06-17T22: 48: 37, price: 21000.2, volumeEntered: 30, minVolume: 1, volume: 28, range: region, href: https: //crest-tq.eveonline.com/market/10000002/orders/4151057587, duration_str: 90, location: { id_str: 60000448, href: https: //crest-tq.eveonline.com/universe/locations/60000448, id: 60000448, name: UrlenVII-Moon6-HyasyodaCorporationRefinery }, duration: 90, minVolume_str: 1, volumeEntered_str: 30, type: { id_str: 587, href: https: //crest-tq.eveonline.com/types/587, id: 587, name: Rifter }, id: 4151057587, id_str: 4151057587 },